Qin Shi Huang, the first emperor of China, ordered the construction of the Great Wall to defend against invading nomadic tribes.