Ying Zheng of the state of Qin first unified the Chinese states to form the Chinese Empire in 221 BC. Under the Qin dynasty, China expanded southward and northward, clashing with ancient Baiyue, Dongyi and Xiongnu peoples.