Han dynasty
To the north of China proper, the nomadic Xiongnu chieftain Modu Chanyu (r. 209–174 BC) conquered various tribes inhabiting the eastern portion of the Eurasian Steppe. By the end of his reign, he controlled Manchuria, Mongolia, and the Tarim Basin, subjugating over twenty states east of Samarkand. Emperor Gaozu was troubled about the abundant Han-manufactured iron weapons traded to the Xiongnu along the northern borders, and he established a trade embargo against the group. In retaliation, the Xiongnu invaded what is now Shanxi province, where they defeated the Han forces at Baideng in 200 BC. After negotiations, the "heqin" agreement in 198 BC nominally held the leaders of the Xiongnu and the Han as equal partners in a royal marriage alliance, but the Han were forced to send large amounts of tribute items such as silk clothes, food, and wine to the Xiongnu.
Han–Xiongnu War
In 89 AD, General Dou Xian led a Han expedition against the Northern Xiongnu. The army advanced from Jilu, Manyi, and Guyang in three great columns. In the summer of 89, the forces—comprising a total of 40,000 troops—assembled at Zhuoye Mountain. Near the end of the campaign, Dou's forces chased the Northern Chanyu into the Altai Mountains, killing 13,000 Xiongnu and accepting the surrender of 200,000 Xiongnu from 81 tribes. A light cavalry of 2000 was sent towards the Xiongnu at Hami, capturing the region from them. General Dou Xian marched with his troops in a triumphal progress to the heartland of the Northern Xiongnu's territory and engraved an inscription commemorating the victory on Mount Yanran, before returning to Han. The Han victory in the campaign of 89 AD resulted in the destruction of the Xiongnu state. In 2017, a joint Sino-Mongolian archaeological expedition rediscovered the Inscription of Yanran in the Khangai Mountains of central Mongolia.