Around the Christian era, Xiongnu, an ancient nationality, dominated
the Mongolian Plateau to the north of the Great Wall. In order to prevent the
northern power from invading and harassing, the ruler of the Western Han
Dynasty ordered to have protective defense work constructed and heavily armored
guards stationed in the border areas, and Western Han soldiers frequently
attacked Xiongnu. Later in the period of Eastern Han Dynasty, Xiongnu split up
into two, the northern branch and the southern branch. The southern branch
submitted itself to the rule of the Eastern Han Dynasty, and settled down in
the north of Shanxi, living together with the Han people. The Wei Kingdom
further divided the southern branch into five, and sent them to different regions
in Shanxi. Meanwhile, other minorities, including Jie, Qiang, Di and Xianbei,
also began to migrate southward to live a farming-and-herding life. Till the
end of Western Jin, Liu Yuan of the Xiongnu minority established a state of
Han, ushering in the period of Sixteen Kingdoms. In the 200 years that
followed, Shanxi became the central stage upon which northern minorities fought
and contended for hegemony.