The emperors used to live in Kyoto for many centuries since 794, the year of capital foundation in Kyoto. It was 1868 when the emperor moved the capital to Tokyo. People in Kyoto needed to create the Jidai Festival to revitalize the city.
Heian Shrine was built in 1895 in commemoration of the 1,100th anniversary of founding the capital in Kyoto. It is dedicated to two emperors: Kanmu, the first emperor of Kyoto, and Komei, the last emperor of Kyoto.