This sub-temple was constructed on the site of the upper palace of retired Emperor Kameyama's detached palace and is considered to be the origin of Nanzen-ji Temple.
亀山上皇の離宮時代の「上の宮」跡に造られた南禅寺の塔頭で、南禅寺発祥の地といわれる。