Did the Tang dynasty build walls or was it the Song Dynasty ?
The Pagoda Forest at Shaolin Temple refers to the 228 stone or brick pagodas built from 791 AD during the Tang Dynasty through the Song Dynasty , Yuan Dynasty , Ming Dynasty , and Qing Dynasty .