The temple was built in 1368 by Yoriyuki HOSOKAWA, a busho (Japanese military commander) who was a kanrei (shogunal deputy) of the Muromachi bakufu (Japanese feudal government headed by a shogun).
この寺は、1368年（応安元年）、室町幕府管領を務めた武将細川頼之によって創建された。