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.
Battle of Xiaoting
On 25 November 220, Emperor Xian, the figurehead monarch of the Eastern Han dynasty, abdicated in favour of Cao Pi and ended the Eastern Han dynasty. On 11 December, Cao Pi established the state of Wei to replace the Eastern Han dynasty and became its first emperor. On 10 May 221, Liu Bei declared himself emperor at Wudan (武擔; a hill in the northwest of present-day Chengdu, Sichuan) and established a new state, historically known as Shu, to contest Cao Pi's claim to the Han throne. Around the same time, Sun Quan shifted the capital of his territories from Gong'an County to E County (鄂縣; present-day Ezhou, Hubei), which he renamed "Wuchang" (武昌). On 23 September 221, Sun Quan pledged allegiance to Cao Pi and became a vassal of the Wei state; in return, Cao Pi awarded Sun Quan the title "King of Wu" (吳王).