In the final years of the Western Jin, imperial authority had fallen into other hands. The Rebellion of the Eight Princes had exhausted the strength of the Central Plains, the court was hopelessly corrupt, and the people lived in poverty. The Xiongnu, Xianbei, Jie, Di, Qiang, and other northern peoples who had migrated inland since the Eastern Han seized the chance to rise against the Jin as the Western Jin regime teetered on the brink of collapse.
In 304 AD, Li Xiong of the Di people established Cheng Han in Chengdu, while Liu Yuan of the Xiongnu raised an army at Lishi and founded Former Zhao, formally ushering in the era of the Five Barbarians ravaging China. For more than a century afterward, war raged across the north. The Western Jin fell, and the Jin court crossed south to establish the Eastern Jin, setting the stage for a standoff between northern and southern regimes.
The northern peoples and Han forces clashed fiercely, giving rise to dozens of successive regional regimes, a period known as the Sixteen Kingdoms of the Five Barbarians. Cavalry trampled the prosperity of the Central Plains, leaving the people displaced, while ethnic massacres and regime changes unfolded one after another. Yet this era was also a crucible of profound cultural integration: northern customs and Han traditions influenced each other, Confucianism and Buddhism spread side by side, and Han culture endured amid the many fortified settlements.
The turbulent era of the Five Barbarians finally came to an end in 439 AD, when Emperor Taiwu of Northern Wei, Tuoba Tao, conquered Northern Liang and unified the north. History then entered a new phase of confrontation between the Northern and Southern Dynasties. This century of upheaval not only reshaped the ethnic landscape of northern China but also profoundly influenced the foundations of the unified Sui and Tang empires that followed.