Nihonshoki' (Chronicles of Japan) indicated that in the time of the Jinshin War, Dairyo (the highest-ranking local officer) in Takechi-gun, Takechi no agatanushi kome was possessed by the soul of Kotoshironushi no kami supernaturally and delivered a divine message that the god of the shrine would protect Oama no miko (later the Emperor Tenmu).
『日本書紀』によれば、壬申の乱の際、高市郡大領高市縣主許梅に「高市社に居る事代主神」が神懸りし、大海人皇子（後の天武天皇）を守護すると神託した。