The Hanging Temple, located about 60 km southwest of Datong, China in Shanxi province, clings to a crag of Hengshan mountain. It consists of 40 rooms linked by a dizzying maze of passageways. The temple is said to have been built by a monk named Liao Ran, during the late Northern Wei Dynasty (386-534 AD) and restored in 1900.