The Twenty-Two Shrines of Japan is one ranking system for Shinto shrines. The system was established during the Heian period and formed part of the government's systematization of Shinto during the emergence of a general anti-Chinese sentiment and the suppression of the Taoist religion. It involved the establishment of the shrines as important centers of public life in Japan. It played a role in official imperial ceremonies such as the Practice of Chinkon. An extensive body of literature also emerged containing information about each shrine, including the shrine's origin, priestly dress, divine treatises, the system of shrine removal, subordinate shrines, and annual cycle of rituals, among others. By the year 806, 4,870 households were assigned to Shinto shrines while the government provided a national endowment for their upkeep. These shrines also received special offerings from the Imperial Court. As time progressed, this offering to the shrines was amended so that Imperial envoys were only sent to the powerful shrines in Kyoto, which was the capital of Japan at the time. This amendment initially identified fourteen shrines but it was increased to twenty-two in 1081. There are historians who explained that the majority on the list involved those with central lineages supporting the imperial house, sites of cults that gained popular significance, and shrines in locations with the presence of Buddhist institutions. Under the Ritsuryō law system, the shrines that the Imperial Court would present offerings to for rites such as the ki'nensai (祈年祭), a service to pray for a good harvest, were mostly decided by the Engishiki Jinmyōchō, but once the Ritsuryō system began to deteriorate, the offerings were only given to a select few shrines. In 965, Emperor Murakami ordered that Imperial messengers were sent to report important events to the guardian kami of Japan. These heihaku were presented to 16 shrines: 1. Ise; 2. Iwashimizu; 3. Kamo; 4. Matsunoo; 5. Hirano; 6. Inari; 7. Kasuga; 8. Oharano; 9. Miwa; 10: Isonokami; 11.