The temple was originally built and founded, as "Hōjūji", by Fujiwara Tamemitsu in 988. However, it was destroyed in 1032.
In 1158, Emperor Shirakawa II abdicated in favor of his son Prince Morihito (Emperor Nijō) and made the Hōjūjiden his home, entering cloistered rule. However, in 1183, he was informed by Minamoto no Yukiie that Minamoto no Yoshinaka intended to kidnap him, form a new government to the north, and use his possession of the cloistered emperor to justify his rule. The emperor informed the Minamoto brothers Yoshitsune and Noriyori in turn, and asked for their aid in stopping Yoshinaka. But they failed; Yoshinaka seized Kyoto in December 1183.
Then, the Siege of Hōjūjidono resulted in 1184.[1] Yoshinaka set fire to the buildings, slaughtered many of the occupants, and seized the cloistered emperor.
The temple has since been rebuilt, and now houses Shirakawa's tomb. It is also closely related to the Sanjusangen-dō.
References
^Turnbull, Stephen (1998). The Samurai Sourcebook. Cassell & Co. p. 203. ISBN1854095234.