最上氏
The temple was patronized by the Kamakura shogunate and grew in territory. It was rebuilt after a fire in the mid-13th century and was converted to Zen Buddhism. The current Min Hall, known here as the "Konpon-chūdō" was rebuilt in 1356 by Shiba Kaneyori, lord of Yamagata Castle, who also returned it to the Tendai sect. It was visited by the artist Sesshū Tōyō in 1482, who made many sketches of its precincts. The temple was burned down again during the wars of the Sengoku period, bu was restored by the Date clan and the Mogami clan. Under the Edo Period Tokugawa shogunate, it was awarded estates with a "kokudaka" of 1420 "koku" for its upkeep.