<human>:  Who built the Great Wall of China?
<bot>: The Great Wall of China was built by the Qin dynasty in 221 BC. The Qin dynasty was the first dynasty to unify China under one emperor. The wall was built to protect the emperor from the Xiongnu, a nomadic tribe that lived in modern day Mongolia.