Emperor Go-Yōzei
In 1467, the temple was destroyed by fire and fighting in the Ōnin War. It was rebuilt roughly 150 year later, thanks to the eldest son of Emperor Go-Yōzei, Kakushin Hosshinnō, who enlisted the help of Tokugawa Iemitsu, the third shōgun of the Tokugawa shogunate. The resurrection coincided with the rebuilding of the Imperial Palace in Kyoto and thus received imperial funding.