平將門
The temple was established in 940 to commemorate the victory of the forces dispatched from the Heian capital to suppress a revolt by the powerful Kantō region samurai, Taira no Masakado. The Shingon priest Kanchō accompanied the force, bringing with him an image of Acala from the Gomadō (Fire Offering Hall) of Takao-san Jingo-ji in Kyōtō. Shingon founder Kōbō Daishi himself was said to have carved the image and used it in Goma sacred fire rituals that helped stop a rebellion during his era. The rebellion in 940 also came to an end just as Kanchō completed a three-week Goma ritual with the same image.