西秦
The Later Qin, which ended the Former Qin in 394, the Western Qin in 400, and Later Liang in 403, extended its control over much of Shaanxi, Gansu, and Ningxia. But in 407, Helian Bobo, a Xiongnu chieftain, rebelled and founded the Xia in northern Shaanxi, and the Western Qin was revived in the southern Shaanxi. In 416, the Eastern Jin under General Liu Yu launched a northern expedition that captured Luoyang and Chang'an and extinguished the Later Qin. The Eastern Jin could not hold these cities as Liu Yu returned south to seize the Jin throne. The Xia kingdom quickly seized Chang'an.