In "Taiheiki" (The Record of the Great Peace), it's recorded that Emperor Godaigo dropped in at this temple when he was escaping to Kasagi in 1331, and consequently the temple was set ablaze, but the details aren't known.
元弘元年（1331年）には笠置へ落ち延びる途上の後醍醐天皇が当寺に立ち寄ったことが『太平記』に記され、そのため当寺も焼き討ちに遭ったというが、詳細は不明である。