The First Chinese Dynasty founded by a prince of Qin who became the first Chinese emperor under the name Qin Shihuangdi. It was an imperial government.
During the Han Dynasty they tried to improve government by creating a civil service examination system. Candidates for government jobs had to pass tests based mostly on the Confucian style of learning.
Its name, the six dynasties, comes from the six successful dynasties of South China that had their capitals at Jianye (present-day Nanjing) during:
The Wu (222–280)
The Dong (Eastern) Jin (317–420)
The Liu-Song (420–479)
The Nan (Southern) Qi (479–502)
The Nan Liang (502–557)
The Nan Chen (557–589).
At the same time, Northern China was being ruled by a succession of kingdoms founded by invaders from Central Asia.
The Sui Dynasty lasted for only 38 years and only had three emperors. This short-lived dynasty unified the country after four centuries in which North and South China had gone different ways. The Sui also got China ready for the beginning of an artistic culture that succeeded Tang dynasty. Its capital was at Daxing.
During the Tang Dynasty the civil service exams continued, but aristocrats filled most of the government jobs. Economic develop and growth followed by new inventions and discoveries.
Liang Dynasty (June 1, 907–923) Tang Dynasty (923–936) Jin Dynasty (936–947) Han Dynasty (947–951 or 979) Zhou Dynasty (951–960)
During this period, five dynasties quickly succeeded one another in the north. This period lasted for only 53 years. Most, if not all, the emperors did not try---or succeed in unifying China again.
When the Mongols ruled China and placed foreigners in government positions.