Because the Buddha hall and main buildings were lost in a fire in 1797, the Hojo building for Seigenin — 1 of the subsidiary temples — was relocated to serve as the Hojo (main hall) for Ryoan-ji Temple.
寛政9年（1797年）の火災で仏殿など主要伽藍を焼失したため、塔頭の1つである西源院の方丈を移築して龍安寺の方丈（本堂）とした。