平治の乱
The building was badly damaged in the Heiji Rebellion of 1159, and later rebuilt. The main temple was burnt down in conflicts during 1578, and was not rebuilt until the "daimyō" of Himeji, Honda Tadamasa, agreed to aid the Ikeda clan in its reconstruction.