[3] The Tang monk Daoxuan in his Ji shenzhou sanbao gantong lu ascribes the opening of Tiantishan to the Xiongnu king of Northern Liang Juqu Mengxun's devotion to "meritorious deeds" alongside his desire to avoid the impermanence of the city by fashioning caves from the mountains.
[2][4] A total of nineteen caves in three tiers have been identified:[2] Tiantishan disappeared from the historical record after the Tang dynasty.
[2] While decoration and modification of the caves continued into the Qing dynasty, five suffered from collapse over the centuries, exacerbated by an earthquake in 1927.
[2] Despite initial survey in the early 1950s demonstrating the importance of the site, in April 1959 the Gansu provincial government approved the construction of a reservoir that would flood two of the three tiers of caves when commissioned in May the following year.
[2] Some 50 square metres (540 sq ft) of the paintings were detached, although the colours have since "faded after 40 years of natural weathering", and other than for the largest, most of the sculptures were taken down and removed to the Museum.