Emperor Wu of Liang
Traditionally, Hanshan Temple is believed to have been founded during the Tianjian era (502–519) of the reign of Emperor Wu of Liang, in the Southern and Northern Dynasties period. The current name of the monastery derives from Hanshan, the legendary monk and poet. Hanshan and his disciple Shide are said to have come to the monastery during the reign of Emperor Taizong of Tang (627–649), where Hanshan became the abbot.