赵匡胤
Originally known as the Baoqu Institute (), the temple was built during the reign of Emperor Xuanzong of Tang during his "Kaiyuan" era () and completed in 736 CE. In 968 CE during the reign of Emperor Taizu of Song it was repaired by the provincial governor Chen Wen () and renamed Chongfu Temple (). Later on during the Ming Dynasty, its name changed once more to the current "Nanshan Temple".