What dynasty built walls ?
In terms of China 's longest and most impressive fortification , the Great Wall sections had been built prior to the Qin Dynasty ( 221-207 BC ) and subsequently connected and fortified during the Qin dynasty , although its present form was mostly an engineering feat and remodeling of the Ming Dynasty ( 1368-1644 AD ) during the 15th and 16th centuries .