Chinese emperors family tree (early)
Emperor Xian, the last emperor of the Han dynasty, was a descendant of the first emperor Liu Bang. Lasting for over 400 years (the first to last for more than a century), the Han Dynasty is regarded as one of the golden ages of Chinese history. The Han Dynasty was interrupted by the reign of the usurper Wang Mang, who declared the Xin dynasty (9–23 AD); on this basis, the Han Dynasty is generally divided into the Western Han (206 BC – 9 AD and 23–25 AD) and the Eastern Han (25–220 AD). The rulers of the Shu Han, one of the three successor states to the Han Dynasty during the Three Kingdoms period, were descended from the Han imperial family, and considered themselves a continuation of the Han Dynasty; they are included below.
Yang You
Emperor Gong of Sui (隋恭帝) (605 – 14 September 619), personal name Yang You (楊侑), was an emperor of the Chinese Sui Dynasty. Traditionally, he was considered the last emperor of the dynasty because he was the one who formally yielded the throne to the founding emperor to the succeeding Tang Dynasty, Emperor Gaozu of Tang (Li Yuan), although after him, his brother Yang Tong claimed the throne and continued to do so until 619. Li had rebelled against the rule of Yang You's grandfather Emperor Yang of Sui in 617 and captured the capital Chang'an later that year, seizing Yang You and declaring him emperor, although only the commanderies under Li's control recognized him as emperor; the rest of the commanderies continued to recognize Emperor Yang as emperor. In 618, after news arrived that Emperor Yang had been killed by the general Yuwen Huaji, Li had the young emperor yield the throne to him. The former emperor died the following year, probably on the new emperor's orders.