This is a family tree of Chinese monarchs from the foundation of the Qin dynasty in 221 BC until the end of the Sixteen Kingdoms period.
It is now recognised as the first Chinese imperial dynasty in the modern sense of the term; in recognition of this, its rulers were for the first time titled "Emperor" (皇帝), a title of which the components are drawn from legend, higher than the previous title "King" (王).
The Han dynasty was interrupted by the reign of the usurper Wang Mang, who declared the Xin dynasty (AD 9–23); on this basis, the Han dynasty is generally divided into the Western Han (206 BC – AD 9 and AD 23–25) and the Eastern Han (AD 25–220).
The following is a family tree for the Jin dynasty, which ruled a unified China during the Western Jin Dynasty (AD 265–316).
Although greatly weakened by the War of the Eight Princes during the reign of the developmentally disabled Emperor Hui, when members of the clan fought among themselves for imperial control, and forced Eastwards after the conquest of their capital in AD 316, the dynasty nonetheless continued in the form of the Eastern Jin Dynasty until AD 420.