In 1236, Tōfuku-ji Temple was established by the imperial chancellor, Kujō Michiie, who named Enni, a monk well-versed in Rinzai Zen Buddhism under the tutelage of Wuzhun Shifan in China, as the temple's founding priest. The temple was meticulously restored in the 15th century despite being devastated by fire, adhering closely to its original designs.