The sun plays an important role in Japanese mythology and religion as the Emperor is said to be the direct descendant of the sun goddess Amaterasu and the legitimacy of the ruling house rested on this divine appointment and descent from the chief deity of the predominant Shinto religion. The name of the country as well as the design of the flag reflect this central importance of the sun. The ancient history Shoku Nihongi says that Emperor Monmu used a flag representing the sun in his court in 701, and this is the first recorded use of a sun-motif flag in Japan. The oldest existing flag is preserved in Unpō-ji temple, Kōshū, Yamanashi, which is older than the 16th century, and an ancient legend says that the flag was given to the temple by Emperor Go-Reizei in the 11th century. During the Meiji Restoration, both the sun disc and the Rising Sun Ensign of the Imperial Japanese Navy and Army became major symbols in the emerging Japanese Empire. Propaganda posters, textbooks, and films depicted the flag as a source of pride and patriotism. In Japanese homes, citizens were required to display the flag during national holidays, celebrations and other occasions as decreed by the government. Different tokens of devotion to Japan and its Emperor featuring the "Hinomaru" motif became popular among the public during the Second Sino-Japanese War and other conflicts. These tokens ranged from slogans written on the flag to clothing items and dishes that resembled the flag.