Han–Xiongnu War
In 119 BC, when the Xiongnu suffered a catastrophic defeat by the Han armies, the Chanyu moved his court (located in present-day Inner Mongolia) to another location north. This had the desired result that the Xiongnu were separated the Wuhuan people, which also prevented the Xiongnu from exacting many resources from the Wuhuan. The Han court placed the Wuhuan in tributary protection and resettled them in five northeastern commandaries, namely Shanggu, Yuyang, Youbeiping (present-day Hebei), Liaoxi, and Liaodong (present-day Liaoning). A new office, the Colonel-Protector of the Wuhuan, was established (near present-day Beijing) in order to prevent contact between the Wuhuan with the Xiongnu and to use them to monitor the Xiongnu activities. Nevertheless, the effective Han control over the Wuhuan was lacking through much of the Western Han period, since the Xiongnu had considerable military and political influence over the Wuhuan while relations between the Wuhuan and Han often remained strained at best. This can be exemplified by a situation in 78 BC, when the Xiongnu led a punitive campaign against the Wuhuan, resulting in General Fan Mingyou (范明友) leading a Han army to impede further incursions. When they learned that the Xiongnu had left by the time the army arrived, the Han court ordered Fan to attack the Wuhuan instead, killing 6000 Wuhuan men and three chieftains, since the Wuhuan had recently raided Han territory. Only in 49 AD, when 922 Wuhuan chieftains submitted during Emperor Guangwu's reign, did many of the Wuhuan tribes come under tributary system of the Han empire. The Han court provided for the Wuhuan and in return the Wuhuan tribes guarded the Han frontier against the Xiongnu and other nomadic peoples.
History of the eastern steppe
In 221 BC China was unified by the Qin dynasty and after a brief civil war, more permanently by the Han dynasty (206 BC – 220 AD). About 209 BC the steppe tribes were united by the Xiongnu. The two unifications were connected in that the nomads had to unite to protect themselves from the now-powerful Chinese and the Xiongnu ruler could strengthen himself with Chinese tribute. In the east, the Xiongnu conquered the Xianbei in Manchuria and in the west they drove the Wusun and Yuezhi westward. The Wusun soon disappeared, but the Yuezhi later had a great career as the Kushans of Afghanistan. In China, after about 75 years of internal consolidation and external tribute, Emperor Wu of Han adopted a forward policy. Zhang Qian went west (138-125 BC) and returned with the first good reports of the Western Regions. During the Han-Xiongnu Wars the southern Xiongnu in Inner Mongolia were subjugated and the northern Xiongnu were driven to northern Mongolia where they were broken up around 89 AD. The Han gained control of the Gansu Corridor and the Tarim Basin with some influence westward. This opened the Silk Road and led to the appearance of Chinese silk in the Roman Empire. As the Han declined the Tarim Basin experienced complex shifts of power between the Chinese, Xiongnu remnants and local rulers.
In the 19th century Western imperialism and industrialism began to impact eastern Asia. Steppe nomadism and many traditional Chinese institutions gradually became obsolete, both economically and militarily. In 1860 Russia annexed north and east Manchuria which soon acquired a Russian population. There was a massive migration of Han Chinese into Manchuria and Inner Mongolia which socially removed these areas from the steppe and attached them to China. When the Manchu dynasty fell in 1912 the Mongols claimed that they had been subject to the Manchus rather than China and were therefore now independent. This Russian-backed independence may have prevented Chinese immigration into the area. In recent decades there has been a significant Han migration into Xinjiang.