The Great Wall of China was built by the ancient Chinese civilization during the Ming Dynasty (1368-1644). The wall was built to protect the northern border of China from invasion by nomadic groups such as the Mongols.