<human>:  When did the Warring States period end?
<bot>: The Warring States period ended with the unification of China under the Qin dynasty. The Qin dynasty unified China in 221 BC, and ruled for almost two centuries.