Shanhua Temple, located in the ancient city of Datong, Shanxi Province, is commonly known as the South Temple. It was among the first batch of national protected sites. Originally built during the Kaiyuan era of the Tang Dynasty, it was destroyed by fire and rebuilt by Master Yuanman during the Jin Dynasty. It was named Shanhua Temple during the Zhengtong era of the Ming Dynasty. It retains four original Liao and Jin Dynasty buildings: the Liao Dynasty Mahavira Hall (with the Jin Dynasty Twenty-Four Deities painted sculptures inside, which are masterpieces of Liao and Jin sculpture, especially the auspicious goddess), the Jin Dynasty Heavenly King Hall (the largest Jin Dynasty hip-roofed mountain gate in China), the Three Saints Hall (famous for its magnificent sloping arches and Jin Dynasty vermilion tablet), and the Puxian Pavilion. The whole temple faces south and has a complete layout. It is the best-preserved Liao and Jin Dynasty temple complex in China and was highly praised by Liang Sicheng. There are also remnants of the Ming Dynasty Five Dragon Wall in front of the temple.