However, Ani Jinja sided with Fujiwara no Sumitomo in his revolt from 939 to 941 and was thus demoted.
During the Sengoku period, the shrine was burned down by the Matsuda clan, but was restored with the support of Ukita Naoie.
Toyotomi Hideyoshi prayed here for victory prior to his attack on Takamatsu Castle.
[2][3] In the Edo period, Ikeda Toshitaka, the daimyō of Himeji Domain and the lord of Okayama Castle, rebuilt the shrine, and successive rulers of Okayama Domain sponsored various repairs and reconstructions.
[2][3] The shrine is a three-minute walk from Bizen-Ichinomiya Station on the JR West Kibi Line.