The Great Wall of China was built over many years and phases of construction to serve defensive purposes, stretching thousands of miles across mountainous terrain. It employed countless laborers and spanned various materials throughout its lengthy construction. While initially intended to keep invaders out, walls both ancient and modern can have mixed impacts regarding defense, national identity, and control over border and trade.