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.
History of Mongolia
During the next century, as Chinese strength waned, border warfare between the Chinese and the Xiongnu was almost incessant. Gradually the nomads forced their way back into Gansu and the northern part of what is now China's Xinjiang. In about the middle of the 1st century AD, a revitalized Eastern Han dynasty (AD 25-220) slowly recovered these territories, driving the Xiongnu back into the Altai Mountains and the steppes north of the Gobi. During the late 1st century AD, having reestablished the administrative control over southern China and northern Vietnam that had been lost briefly at beginning of this same century, the Eastern Han made a concerted effort to reassert dominance over Inner Asia.
The concept of Mongolia as an independent power north of China is seen in the letter sent by Emperor Wen of Han to Laoshang Chanyu in 162 BC (recorded in the Hanshu):
The identity of the ethnic core of Xiongnu has been a subject of varied hypotheses and some scholars, including A.Luvsandendev, , Henry Howorth, Rashpuntsag, Alexey Okladnikov, Peter Pallas, Isaak Schmidt, Nikita Bichurin and Byambyn Rinchen, insisted on a Mongolic origin.