After Heian-kyo and Hieizan Enryaku-ji Temple had been built, many temples such as Ansho-ji Temple (Kyoto City) (in 848), Bishamon-do, Kaju-ji Temple (in 900), and Mandara-ji Temple (later Zuishin-in Temple, in 991) were built, and Daigo-ji Temple (in 874) were founded on and at the base of the Mt. Daigo and Mt. Kasatori along the lower Yamashina River outside the ward.
平安京や比叡山延暦寺の創建後、安祥寺(京都市)（848年）・毘沙門堂・勧修寺（900年）・曼荼羅寺（後の随心院、991年）など多くの寺院が作られ、区外の山科川下流の醍醐・笠取山の山上・山麓には醍醐寺（874年）が創建されている。