Answer:
The aim of the Wall was to strengthen defense of the local regime. The State of Qi and others in the north took similar defensive action. After Qinshihuang united the country and established the Qin Dynasty in 221 BC, the defensive walls built by former northern vassal states were linked.