According to "Taiheiki" (The Record of the Great Peace), Emperor Godaigo secretly stayed at the temple for a short time in 1336, and the site is preserved as the former Kaya Palace, a historic site that indicates an emperor once resided, because of this episode.
『太平記』によると延元元年・建武(日本)3年（1336年）には後醍醐天皇が一時ここに身を隠したと伝えられ、「萱御所跡」という旧跡が残された。