The first Great Wall is said to have been built by Emperor Qin Shi Huang in the 3rd century BC.
At the time, it constituted defensive ramparts made of compacted earth. They were meant to separate the empire from neighboring tribes and emphasize the ruler's power.