It was built to protect the Chinese states and empires against the raids and invasions of various nomadic groups, primarily the Mongols.
यह विभिन्न खानाबदोश समूहों, मुख्य रूप से मंगोलों के छापों और आक्रमणों से चीनी राज्यों और साम्राज्यों की रक्षा के लिए बनाई गई थी।