The temple's fortunes rose as a chokugan-ji (temple built at the order of the Emperor) in the period of the Northern and Southern Courts (Japan), but they dwindled after the Buddhist temple was burned down in a fire caused by the Onin War.
南北朝時代(日本)には勅願寺となって寺運も興隆したが、応仁の乱の兵火により伽藍を焼失し寺運も衰えた。