The temple originated from Ojo-in Temple, which was founded by the Jodo sect priest Ryochin, where Hotoke-gozen, Gio, a dancing girl, who won TAIRA no Kiyomori's favor, entered as a priestess.
この寺は浄土宗の僧良鎮が創建した往生院に平清盛の寵愛を受けた白拍子祇王・仏御前が入寺した寺という。