Because Emperor Shirakawa promised that, if efficacious, he would be given as rewards whatever he wanted, Raigo who was an ajari (a master of esoteric Buddhism) of Onjo-ji Temple (Mii-dera Temple) continued to pray for the birth of a prince and accomplished it honorably on December 16, 1074.
園城寺（三井寺）の阿闍梨（あじゃり）・頼豪は、効験があれば思いのままに褒美を取らせるという白河天皇との約束のもと、切望される皇子の誕生を祈祷し続け、承保元年（1074年）12月16日、見事これを成就させた。