sentences:  According to legend, construction of the temple was started at the end of the Northern Wei dynasty by only one man, a monk named Liaoran ().Over the next 1,400 years, many repairs and extensions have led to its present-day scale.The entire 40 halls and pavilions are all built on cliffs which are over from the ground.