Japanese geomancy held the northeast direction to be spiritually dangerous, the kimon or "demon gate" through which misfortune entered a city, and Heian-kyo's planners addressed it deliberately: the monk Saicho had already founded a monastery on Mount Hiei, just northeast of the new capital, in 788 CE, and it grew into Enryaku-ji, headquarters of the Tendai school and one of the most influential monastic centers in Japanese history. Enryaku-ji's training produced, directly or through its libraries and debates, the founders of several later schools that reshaped Japanese Buddhism: Honen and Shinran, whose Pure Land teaching became Jodo and Jodo Shinshu; Eisai and Dogen, who established Rinzai and Soto Zen; and Nichiren, founder of the tradition bearing his name.
Kyoto's Shinto life ran alongside this Buddhist establishment rather than beneath it. Fushimi Inari Taisha, in the city's south, had already been an important shrine to Inari, kami of rice and prosperity, since before the capital moved there, and it remains one of the most visited Shinto sites in Japan. The Historic Monuments of Ancient Kyoto, a group of seventeen temples, shrines and one castle across the city and neighboring Uji and Otsu, were inscribed together as a UNESCO World Heritage Site in 1994, recognition of a religious landscape that outlasted the political capital it grew up around.