Founded in 1895, Heian Shrine, Heian-jingu, was dedicated to two of Japan's early emperors: Kanmu, emperor when Heian-kyo, present-day Kyoto, became the capital; and Komei, emperor from 1846 to 1867 at the end of the Edo period, a time which also saw the arrival of Commodore Perry to Japan. The shrine's beautiful and extensive Japanese garden was created over a twenty-year period by Ogawa Jihei VII, landscape architect during the late Meiji and early Taisho eras.