The posing and solving of riddles has long been an important part of the Chinese Lantern Festival; "the date of the origin of the lantern riddle is not definite, but according to Japanese writers it probably first became popular during the Northern Sung dynasty (960–1126), and became associated with the Feast of Lanterns during the 17th century".