What was the great wall of china was protect from who?

The Great Wall of China was built to protect the Chinese empire against various nomadic groups of the Eurasian Steppe.