Emperor Kanmu
In the ninth century, Emperor Kanmu established the seat of the imperial throne in Kyoto. This represented the beginning of the Heian period in Japanese history. Emperor Kanmu recognized the deities of the Kamo shrines as protectors of the Heian capital, and established the Aoi Matsuri as an annual imperial event.