 The Mahavira Hall of the Huayan Temple in Datong was originally built in the Liao dynasty, but was rebuilt in 1140 during the Jin dynasty.It is nine-room wide, five-room deep and covers an area of .It is the largest architecture in China built during the Liao and Jin dynasties.