The origin of this temple was that Toshifusa KINOSHITA (1573-1637), who was the lord of the Ashimori Domain in the Bicchu Province and a nephew of Kita no Mandokoro, legal wife of Hideyoshi TOYOTOMI, moved Keshoden (dressing hall building) of the Fushimi-jo Castle into his residence and made it a temple.
この寺は、備中国足守藩主で豊臣秀吉の正室北政所の甥に当たる木下利房（1573年～1637年）が、伏見城の化粧殿を自らの邸に移して寺としたのに始まる。