court." Later Xiongnu states in northern China The Southern Xiongnu that settled in northern China during the Eastern Han dynasty retained their tribal affiliation and political organization and played an active role in Chinese politics. During the Sixteen Kingdoms (304–439 CE), Southern Xiongnu leaders founded or ruled several kingdoms, including Liu Yuan's Han Zhao Kingdom (also known as Former Zhao), Helian Bobo's Xia and Juqu Mengxun's Northern Liang Fang Xuanling's Book of Jin lists nineteen Xiongnu tribes: Tuge (屠各), Xianzhi (鮮支), Koutou (寇頭), Wutan (烏譚), Chile (赤勒), Hanzhi (捍蛭), Heilang (黑狼), Chisha (赤沙), Yugang (鬱鞞), Weisuo (萎莎), Tutong (禿童), Bomie (勃蔑), Qiangqu (羌渠), Helai (賀賴), Zhongqin (鐘跂), Dalou (大樓), Yongqu (雍屈), Zhenshu (真樹) and Lijie (力羯). Han Zhao dynasty (304–329) In 304, Liu Yuan became Chanyu of the Five Hordes. In 308, declared himself emperor and founded the Han Zhao Dynasty. In 311, his son and successor Liu Cong captured Luoyang, and with it the Emperor Huai of Jin China. In 316, the Emperor Min of Jin China was captured in Chang'an. Both emperors were humiliated as cupbearers in Linfen before being executed in 313 and 318. North China came under Xiongnu rule while the remnants of the Jin dynasty survived in the south at Jiankang. Reign of Liu Yao (318–329) In 318, after suppressing a coup by a powerful minister in the Xiongnu-Han court, in which the emperor and a large proportion of the aristocracy were massacred, the Xiongnu prince Liu Yao moved the Xiongnu-Han capital from Pingyang to Chang'an and renamed the dynasty as Zhao. Liu Yuan had declared the empire's name Han to create a linkage with Han Dynasty—to which he claimed he was a descendant, through a princess, but Liu Yao felt that it was time to end the linkage with Han and explicitly restore the linkage to the great Xiongnu chanyu Maodun, and therefore decided to change the name of the state. (However, this was not a break from Liu Yuan, as he continued to honor Liu Yuan and Liu Cong posthumously; it is hence known to historians collectively as Han Zhao.) However, the eastern part of north China came under the control of a rebel Xiongnu-Han general of Jie ancestry named Shi Le. Liu Yao and Shi Le fought a long war until 329, when Liu Yao was captured in battle and executed. Chang'an fell to Shi Le soon after, and the Xiongnu dynasty