In 796, the Emperor held an audience for the first time at the Daigoku-den Palace at which dignitaries celebrated the New Year. This marked the beginning of Kyoto.
During his 25 year reign, Emperor Kammu amended the laws and ordinances, gave relief to the destitute, encouraged learning, innovated the domestic administration, and opened the doors to foreign trade, thereby contributing to the development of the country. For more than 1,000 years, until the Meiji Restoration, Kyoto prospered as the capital of Japan.
The 50th ruler passed away in 806 and was entombed in the Kashiwara Mausoleum in Momoyama, Fushimi-ku, Kyoto.
The year 1895 happened to be the 1,100th year since the Heian Capital was founded. Marking this commemorative year, the citizens of Kyoto decided to praise the virtues of Emperor Kammu and deify him as the ancestral god of Kyoto. To this end, they created a shrine in the style of Chodo-in, the main edifice of the Heian Capital, dedicating it on March 15th the same year.
Emperor Komei was born in 1831 as the crown prince of Emperor Ninko and acceded to the throne in 1847 as the 121st ruler of Japan. Though brief, his reign of 21 years marked the closing days of the Tokugawa Shogunate and hearalded the beginings of modern Japan. Well cognizant of the turbulent times, the gifted ruler laid the firm foundation of the Meiji Restoration. The Emperor passed away on December 25, 1866 at the young age of 36. The end of his life was characterized by his intense patriotic concern for the welfare and destiny of the country. The Imperial tumulus known as Gotsukinowa Higashiyama Mausoleum is located at Sennyu-ji Temple, Higashiyama-ku, Kyoto.
In adoration of the great character and achievements of the Emperor who laid the foundation of modern Japan, the citizens of Kyoto organized an association to deify Emperor Komei at the Heian Shrine in 1938. This propelled a move to rebuild the shrine as a commemorative project marking the 2,600th year of the founding of Japan. The dedication ceremony took place on October 19, 1940.
This is how two Emperors of Japan, one the founder of and the other the last ruler of the Heian Capital, have come to be deified at Heian Shrine. Today, it does not only figure as a tourist attraction for foreign visitors but also serves as the spiritual center of the nation as a whole, as well as of the patriotic citizens of Kyoto.