The first fragments of the Great Wall of China were built in the 3rd century BC. It was supposed to be both a barrier against invaders and a symbol of the power of the first emperor of China.