Then, he decided to change Kameyama-dono Palace, Sagano, which was originally a detached palace of Daikakuji-to (imperial lineage starting with Emperor Kameyama), into a Zen temple and found as Tenryu-ji Temple placing Muso as kaisan (a founder of temple as the first chief priest).
そこで元々大覚寺統の離宮であった嵯峨野の亀山殿を禅院に改め、夢窓を開山として天龍寺を創建することを決めた。