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.
History of the Han dynasty
To the south, Emperor Wu assisted King Zhao Mo in fending off an attack by Minyue (in modern Fujian) in 135 BCE. After a pro-Han faction was overthrown at the court of Nanyue, Han naval forces conquered Nanyue in 111 BCE during the Han–Nanyue War, bringing areas of modern Guangdong, Guangxi, Hainan Island, and northern Vietnam under Han control. Emperor Wu also launched an invasion into the Dian Kingdom of Yunnan in 109 BCE, subjugating its king as a tributary vassal, while later Dian rebellions in 86 BCE and 83 BCE, 14 CE (during Wang Mang's rule), and 42–45 CE were quelled by Han forces. Wu sent an expedition into what is now North Korea in 128 BCE, but this was abandoned two years later. In 108 BCE, another expedition established four commanderies there, only two of which (i.e. Xuantu Commandery and Lelang Commandery) remained after 82 BCE. Although there was some violent resistance in 108 BCE and irregular raids by Goguryeo and Buyeo afterwards, Chinese settlers conducted peaceful trade relations with native Koreans who lived largely independent of (but were culturally influenced by) the sparse Han settlements.