The Qin (221-207 BCE), Han (206-9 CE and 25-220 CE), Xin (9-23 CE) and Three Kingdoms (220-80 CE) dynasties are known for their relentless civil wars and the rise in the autocratic powers of emperors. These tendencies continued during the Sixteen Kingdoms (316-384 CE) and Northern Wei (386-534 CE) periods, which also witnessed the territorial expansion of the Han Chinese and the continued struggle to find appropriate ways to rule over foreigners.
Perhaps the greatest glories of Chinese history are found in the Sui (589-618 CE), Tang (618-907 CE) and Song dynasties (960-1279 CE). During these centuries, China boasted perhaps the most advanced economy in the world, with vast programs of canal building and cities bigger than to be found anywhere in Europe, as recorded for example by Marco Polo. China's navies, with their huge junks that were like floating cities in their own right, ruled the waters and undertook great voyages of exploration. This period, coinciding with the Dark Ages in the west, saw China mostly united (apart from the Five Dynasties period of 907-960 CE and the division between the Northern and Southern Song dynasties) and mainly at war with the Turkish, Uighur and Tibetan horse-people beyond the borders. When these horse-people united under a great leader, Chinggiz Khan of the Mongols, no one could stand before them and all of China, together with most of the known world, was conquered. The Mongols instituted their own dynasty, the Yuan (1279-1368), during which time the rulers progressively adopted various aspects of Chinese culture. Yet they were still foreign rulers and ruled the country in that way. Hence, the rise of the Ming dynasty (1368-1644 CE) was celebrated as a victory of the Chinese people.