Esperaunce

A massive stone sculpture of a standing horse with a bearded man lying on his back beneath it, in a park.

Han China · Military and Warfare

The long northern war

Photograph by Hanming Huang, CC BY-SA 4.0, via Wikimedia Commons.

The Archives/Han China/Military and Warfare

In 200 BC the founder of the Han was surrounded by Xiongnu cavalry at Baideng for seven days and got out by bribing the shanyu’s wife. For the next sixty years the empire paid.

North of the Chinese agricultural zone lies steppe, and on the steppe in the third century BC a confederation formed that was the first of its kind. The Xiongnu were a mounted pastoral people, or more accurately a political union of several peoples, brought together around 209 BC under a leader called Modu who killed his father to take the position. Their state was organised: a supreme ruler, the shanyu, with subordinate kings of the left and right, a ranked hierarchy, an annual assembly, and the ability to field, according to Chinese estimates, three hundred thousand mounted archers.

They were the Han empire’s principal external problem for three hundred years, and the relationship ran through every available option: defeat, tribute, marriage alliance, trade, massive invasion, subsidy, proxy war, and eventually the fragmentation of the enemy. The argument at the Han court about which approach worked is one of the best-documented strategic debates of the ancient world, and it was never settled.

❦

On this page

Modu and Baideng

A gold crown of twisted bands with animal heads, topped by a gold cap and an eagle with a turquoise head.
A gold crown from the Ordos, about the third century BCE. An eagle stands on a cap worked with wolves and sheep. It was made on the steppe a generation or two before Modu.Photograph by Gary Todd, CC0, via Wikimedia Commons.

The opening of the relationship set its terms and the Chinese sources are candid about it. Modu became shanyu around 209 BC by having his own followers shoot his father, having trained them by ordering them to shoot successively his favourite horse, his favourite wife and then the old shanyu, killing those who hesitated. The story is in Sima Qian and it may be a Chinese literary construction. The consolidation it describes is real: Modu destroyed or absorbed the neighbouring confederations and controlled the steppe from Manchuria to the Tarim.

In 200 BC the Han founder Liu Bang marched north with a large army, advanced ahead of his infantry with cavalry, and was cut off at Baideng near modern Datong by a very large Xiongnu force. He was trapped for seven days in winter. The escape, according to the sources, was arranged by bribing the shanyu’s principal wife, who argued to her husband that conquering Chinese land would do the Xiongnu no good since they could not farm it.

That may be face-saving. What followed is not in doubt.

The heqin system

Two fragments of patterned silk with small animals among cloud scrolls in tan and dark blue.
Warp-faced patterned silk of the first to third centuries CE, with animals among clouds and woven characters. Cloth of this kind has been found from the Tarim basin to Syria.Metropolitan Museum of Art, New York, CC0.

The settlement that emerged lasted sixty years and it was a Chinese defeat dressed as a marriage. Heqin, peace through kinship, had four components. A Han princess was sent to marry the shanyu. In practice the women sent were rarely genuine imperial daughters; a palace woman with a title served.

An annual payment was made in silk, wine, grain and cash. The quantities are recorded and they rose repeatedly over the period. The two states were declared equal, brothers, with the Great Wall as the boundary between the people who draw the bow and those who wear caps and girdles.

And border markets were opened where trade could take place. The Chinese case for it was made by Liu Jing and others: the empire was exhausted after the civil war, the north could not be defended cheaply, and the payments were less than a campaign. There was also a theory, probably wishful, that a shanyu with a Han mother would be a grandson of the emperor and would behave accordingly.

The arrangement did not stop raiding. It reduced it, and the payments continued anyway. Jia Yi, in the early second century BC, wrote furiously about the humiliation of it, and his memorials are among the sharpest political writing of the period.

Emperor Wu

An ink painting on silk of a standing bearded man in long court robes.
Emperor Wu, who reigned from 141 to 87 BCE, in an imaginary portrait from a later album.Public domain, via Wikimedia Commons.

The reversal was total, expensive and is still argued about. Emperor Wu came to the throne in 141 BC and from about 133 BC abandoned heqin for war. The campaigns ran for decades. Wei Qing and Huo Qubing, the two great commanders, led forces of tens of thousands of cavalry deep into the steppe, in one case reaching the Gobi and beyond, and inflicted real defeats.

A bronze horse at full gallop, three legs in the air and one hoof resting on a small bird, in a museum case.
The bronze horse from a tomb at Wuwei in Gansu, second century CE. One hoof rests on a flying swallow.Photograph by Gary Todd, CC0, via Wikimedia Commons.

The Ordos loop was taken and settled. The Gansu corridor was seized, cutting the Xiongnu off from the Qiang peoples to the south, and four commanderies were established along it. Zhang Qian was sent west to find the Yuezhi as allies against the Xiongnu, failed in that object, and came back with information that opened the Western Regions, which is dealt with elsewhere in this set.

Expeditions went as far as Ferghana in 104 and 102 BC to obtain the heavenly horses, at enormous cost in men and animals, for the cavalry the war required. The results were mixed and the cost was not. The Xiongnu were pushed north and weakened. They were not destroyed. Han casualties were heavy, several commanders were defeated or forced to surrender, and the treasury was emptied, which produced the salt and iron monopolies discussed elsewhere in this set.

In 89 BC, near the end of his reign, Emperor Wu issued an edict, the Repenting Edict of Luntai, rejecting a proposal for further expansion, acknowledging the exhaustion of the people and announcing a return to agriculture. Whether it is a genuine change of heart or a later construction has been questioned, and either way it reads as an admission.

Why the steppe could not be conquered

A painted pottery horse with an arched neck and a rider seated on its back.
A painted horse and rider from a Han tomb. The rider has a saddle cloth and no stirrups, which came several centuries later.Metropolitan Museum of Art, New York, CC0.

The underlying asymmetry deserves stating plainly, because it explains three centuries of inconclusive fighting. An agricultural empire can be conquered by taking its cities, its granaries and its administration. The population stays where it is, because the land is what they live on, and the new ruler collects the same taxes from the same fields.

A pastoral confederation has none of that. The wealth is livestock, which walks; the population moves seasonally anyway; and there is no capital whose fall decides anything. An invading army therefore has to find the enemy, and the enemy can always decline to be found. Han expeditions repeatedly marched for weeks, saw nobody, and turned back when the grain ran out.

The arithmetic of supply is the binding constraint. An ox-cart carrying grain into the steppe is consumed by its own draught animals and drivers within a few weeks, so the practical radius of a supplied army from its base is a few hundred kilometres, and the steppe is thousands across. The one thing an invasion could reliably do was destroy: burn grass, take herds, kill people found. That damages the pastoral economy severely and it does not hold territory, because holding steppe requires garrisons that cannot be fed.

Conversely the steppe could not conquer China either, in this period, because taking walled cities requires siege engineering and infantry that a mounted force does not have, and because occupying farmland means becoming administrators. The result is a stable stalemate with a raiding equilibrium, which is what both sides eventually settled into. The arrangement only broke down when steppe groups had been settled inside the frontier long enough to acquire infantry, siegecraft and Chinese administrators, which is what happened in the fourth century and ended the unified empire.

How it ended

A line drawing of a woman on horseback carrying a lute, with attendants and a mounted guard holding a standard.
Wang Zhaojun rides north with her lute, in a print by Wu Youru of the late nineteenth century. She had been painted and written about for two thousand years by then.Wu Youru, public domain, via Wikimedia Commons.

The Xiongnu were broken by their own politics more than by Han armies, which is the usual fate of steppe confederations. In the 50s BC a succession dispute split the confederation, with five claimants at one point. One of them, Huhanye, submitted to the Han in 51 BC, went to the capital, performed the ceremony of a vassal, and received support against his rival.

That is the moment the relationship inverts. The Han now subsidised a Xiongnu ruler against other Xiongnu, which is cheaper than fighting and more effective. The court debated at length how to receive him, since a submitting foreign king raised precedence questions the ritualists cared about intensely.

In 33 BC a palace lady called Wang Zhaojun was sent to Huhanye. She became one of the most written-about figures in Chinese literature, the subject of a thousand poems on exile and duty, which says something about how the frontier was felt at home. In the first century AD the confederation split permanently into a southern group that settled inside the frontier as Han federates, and a northern group that was defeated by a Han and allied offensive in 89 to 91 AD and moved west out of the Chinese record.

Whether the people who appear on the Danube three centuries later as the Huns are connected to them is an old question with no agreed answer, and the linguistic and archaeological arguments have gone both ways.

The debate

An old printed map of a desert region with a line of wall and towers marked across it and place names in English.
The Han frontier line near Dunhuang as traced by Aurel Stein, from an atlas of 1935. The towers stand a few kilometres apart along the wall.Albert Herrmann, Historical and Commercial Atlas of China, 1935, public domain, via Wikimedia Commons.

The Chinese argument about frontier policy deserves setting out, because it recurs for two thousand years. The hawkish position held that the steppe peoples understood only force, that payments funded the enemy, that a defensive posture invited contempt, and that the frontier could be pushed out permanently by settlement. The dovish position held that the steppe could not be held, since it cannot be farmed and cannot be garrisoned; that campaigns cost more than tribute; that the enemy could always decline battle; and that the right policy was to buy quiet, trade, and let the confederation fragment on its own.

Both positions have evidence. Emperor Wu’s wars did break Xiongnu power, and they did bankrupt the state. Heqin did buy sixty years, and it did not stop the raids.

The salt and iron debate of 81 BC is essentially a continuation of this argument in fiscal terms, with the government defending the monopolies as necessary for frontier defence and the critics saying that the frontier policy was the problem. The position that eventually worked was neither. It was subsidy plus division: support one faction, split the confederation, settle the submitting group inside the line as auxiliaries, and let them fight the rest.

That worked until the settled groups became powerful enough to act independently, which in the fourth century AD they did, with results that ended Chinese unity for nearly three hundred years.

What the Xiongnu were

A long embroidered textile on a faded purple ground showing a row of men in trousers and tunics, some leading a horse.
An embroidered wool hanging from a Xiongnu noble’s tomb at Noin-Ula in Mongolia, about the first century CE. The men wear Central Asian dress, and the cloth was made far to the west.Photograph by Gary Todd, CC0, via Wikimedia Commons.

A closing corrective, because the Chinese sources describe an enemy and the archaeology describes a society. The Han histories present the Xiongnu as people who move with their herds, have no writing, no cities, no agriculture and no fixed law, who value the strong and despise the old. The archaeology in Mongolia and southern Siberia shows something more complicated. Large cemeteries with rich elite burials at Noin-Ula and Gol Mod containing Chinese silk and lacquer, Greek-influenced textiles, and imported metalwork. Settlement sites with walls and buildings. Evidence of agriculture and of craft production, including iron-working.

A rectangular gold belt plaque worked in relief with interlocked animals, between two others.
A gold belt plaque from Inner Mongolia, about the third century BCE. Animals locked in combat are the common subject of steppe metalwork.Photograph by Gary Todd, CC0, via Wikimedia Commons.

The elite burials in particular show a stratified society with long-distance connections and the ability to accumulate. That reframes the tribute. Chinese silk arriving annually in the steppe did more than get consumed. It was redistributed by the shanyu to subordinate leaders as the currency of loyalty, and it moved on westwards in trade.

Thomas Barfield’s argument, which has been influential, is that the Xiongnu state existed largely to extract from China, that its structure was shaped by that relationship, and that steppe confederations rise and fall with the strength of the settled empire next to them rather than independently of it. On that reading the two states were parts of one system. The Han fed the confederation that raided it, and when the Han weakened in the third century AD, the Xiongnu confederation did not benefit; it had already dissolved, because there was nothing left to extract.

Sources

Ancient

  • Sima Qian, Shiji, chapter 110, the account of the Xiongnu
  • Ban Gu, Hanshu, the Xiongnu chapters and the Western Regions treatise
  • Jia Yi’s memorials on frontier policy; the Luntai edict of 89 BC

Modern

  • Thomas Barfield, The Perilous Frontier, 1989
  • Nicola Di Cosmo, Ancient China and Its Enemies, 2002
  • Ursula Brosseder and Bryan Miller, editors, on Xiongnu archaeology
  • Mark Edward Lewis, The Early Chinese Empires: Qin and Han, 2007

New civilisations are announced by email as they are written.

Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.

Images are credited individually; rights remain with their holders.

© 2026 Esperaunce. All rights reserved.