The temple of Enryaku-ji, the first outpost of the Japanese Tendai (Chin. Tiantai) sect of Buddhism, was founded atop Mount Hiei by Saichō in 788 and rapidly grew into a sprawling complex of temples and buildings that were roughly divided into three areas: