The Empire at Its Edge
For roughly sixty years, from the founding of the Han dynasty in 202 BCE until Emperor Wu seized the initiative around 133 BCE, the Han emperors bought peace with the Xiongnu (匈奴) through marriage treaties, tribute, and a diplomatic system known as heqin (和亲). The Book of Han (汉书, Hanshu) records this period with a candour that admits how humiliating it was, and how necessary.
The Xiongnu were a confederation of nomadic peoples who dominated the northern steppe. They were superb horsemen, fierce raiders, and politically sophisticated enough to organize a confederacy that could marshal hundreds of thousands of mounted warriors. When the Qin dynasty had fallen, the Xiongnu had taken the opportunity to expand southward. By the time Liu Bang founded the Han, they were already a threat that the new empire simply could not handle.
The story of Han-Xiongnu relations runs through the entire Hanshu like a structural spine. You can see the broader context of this story in the parent article on The Hanshu and the Western Han Empire.
The Xiongnu Before the Han
During the Warring States period, the northern states of Qin, Zhao, and Yan built walls against nomadic raids. The First Emperor of Qin connected and extended these walls into what we now call the Great Wall, but the collapse of his dynasty left the northern frontier wide open. A Xiongnu leader named Modu Chanyu (冒顿单于) unified the steppe tribes into a single confederation in the chaos following the Qin fall. He was a figure of terrifying competence, having killed his own father to seize power.
A quick note: Modu’s story is one of the most dramatic in the Hanshu. His father sent him to another tribe as a hostage and then attacked that tribe, hoping Modu would be killed. Modu survived, returned, killed his father, and took control. He then conquered every neighbouring people on the steppe and created a military machine that the Han could not match.
Liu Bang’s Defeat at Baideng
In 200 BCE, just two years after founding the Han, Liu Bang led a large army north to deal with the Xiongnu. He underestimated them badly. Modu lured the Han army into a trap at Baideng Mountain (白登山), surrounding Liu Bang and his advance guard with a force reported to be three hundred thousand strong. The emperor was trapped for seven days.
The Hanshu records that Liu Bang escaped only through a secret deal: he sent gifts to Modu’s wife, who persuaded her husband to open a gap in the encirclement. This was not a military victory. It was a desperate act by a man who realized he could not win a war against the steppe, not yet, not with the resources he had.
The founding emperor of the Han, the man who had defeated Xiang Yu and unified China, was rescued from a military disaster by the wife of a barbarian king. The Hanshu tells this story without embellishment, because the truth was already humiliating enough.
The Heqin System: How It Worked
After Baideng, Liu Bang’s advisor Lou Jing (刘敬) proposed a strategy: instead of fighting, the Han would send a Han princess to marry the Xiongnu chanyu, along with annual gifts of silk, grain, and other goods. In exchange, the Xiongnu would agree to raid less and acknowledge a nominal relationship with the Han emperor.
This was the heqin (和亲), literally “harmonious kinship.” It was not a marriage of equals. The Han sent because they were weaker. The Xiongnu received because they were stronger. The arrangement was dressed up in Confucian language about family bonds, but everyone understood it was tribute.
What the Han Sent Under Heqin (Annual Tribute)
| Item | Approximate Annual Quantity |
|---|---|
| Silk floss | Several thousand catties |
| Silk fabric | Several thousand rolls |
| Grain | Tens of thousands of shi |
| Han princess bride | One per chanyu (usually a palace woman given a royal title) |
| Royal gifts for chanyu’s entourage | Regular shipments |
The princesses sent were almost never actual daughters of the emperor. Usually, a palace woman or a minor royal was given the title of princess and dispatched to the steppe. Their lives were hard: they married a man from a completely different culture, they would likely never see their homeland again, and their sons would grow up as Xiongnu, not Han. The Hanshu records their stories with a restraint that makes the sorrow more powerful, not less.
Did Heqin Actually Work?
The answer depends on what you mean by “work.” The heqin system did prevent major wars between the Han and Xiongnu for about sixty years. That is not nothing. The early Han needed that breathing room to consolidate, fill its treasury, and rebuild after the wars of the Qin collapse and the Chu-Han contention.
But the raids never fully stopped. Xiongnu raiding parties continued to cross the border, pillaging settlements and carrying off prisoners. The tribute payments grew larger over time as the Xiongnu demanded more. The Hanshu records diplomatic correspondence in which Xiongnu chanyus openly boasted of their strength and mocked Han weakness. These letters are preserved as evidence of the one-sided relationship.
Heqin Treaties: Key Milestones
| Date (BCE) | Emperor | Event |
|---|---|---|
| ~198 | Gaozu (Liu Bang) | First heqin treaty after Baideng defeat |
| ~192 | Hui Di | Renewed heqin, increased tribute |
| ~176 | Wen Di | Xiongnu demand doubled, Modu sends boastful letter |
| ~162 | Wen Di | Further concessions, border markets opened |
| ~140 | Wu Di | Emperor Wu ends heqin, prepares for war |
What the Hanshu ultimately argues is that heqin was a holding strategy, not a solution. It bought time. It did not buy peace, exactly. It bought the absence of large-scale war, which is different. The Xiongnu respected strength and exploited weakness. Every time the Han seemed uncertain, the raids intensified. Every time the Xiongnu had internal problems, the raids paused. The relationship was transactional, not relational, regardless of the marriage metaphor.
Emperor Wu’s War Against the Xiongnu
By the time Emperor Wu (汉武帝) took the throne in 141 BCE, the Han treasury was full, the army was strong, and the emperor’s patience for tribute had run out. He ended the heqin system and launched a decades-long military campaign against the Xiongnu that pushed them back from the frontier and established Han dominance in the northern regions. The details of Emperor Wu’s campaigns are covered in Emperor Wu and the Zenith of Han Power.
The war was costly. The Han lost enormous numbers of soldiers and horses. The campaigns against the Xiongnu consumed more state revenue than any other single undertaking of Emperor Wu’s reign. But they changed the strategic balance permanently. After the major campaigns, the Xiongnu confederation was fractured and weakened, never to recover its Modu-era dominance.
What the Hanshu Records About the Frontier
Ban Gu does something interesting in his treatment of the Xiongnu. He dedicates an entire chapter of the Hanshu to their customs, political structure, and way of life. This “Account of the Xiongnu” is ethnographic in its detail, recording their marriage customs, their burial practices, their political hierarchy, and their military tactics. This sets the Hanshu apart from the Shiji, which covered the Xiongnu but with less systematic anthropological detail.
For information about how the Hanshu and Shiji treated the same events differently, including the Xiongnu, see the comparison between the Book of Han and the Records of the Grand Historian.
The Lessons of Heqin
The heqin story is not just a military or diplomatic episode. It is a lesson in strategic patience. Liu Bang had the wisdom to accept a humiliating treaty because he understood his empire could not afford the war. Emperor Wen and Emperor Jing maintained the system despite its indignity because the alternative was worse. Emperor Wu broke the treaty only when he had accumulated the resources to make war sustainable.
This sequence is the Hanshu’s quiet argument for strategic realism. Honor without power is self-destruction. Patience without a plan is cowardice. The heqin system worked as long as the Han used it to build strength for the day when they would no longer need it.
To understand the full arc of Western Han history, from Liu Bang’s founding through the Xiongnu campaigns to the dynasty’s eventual collapse, read the foundation story and the fall of Western Han.
The Letters Between Equals (and Non-Equals)
One of the most revealing passages preserved in the Hanshu is the diplomatic correspondence between Han emperors and Xiongnu chanyus. In a letter from the reign of Emperor Wen, Modu Chanyu writes to the Han court describing himself as the ruler of all peoples who draw the bow. He lists the territories he controls. He refers to the Han as a secondary power. The tone is not hostile, exactly, but it is unmistakably that of a superior speaking to an inferior.
Emperor Wen’s reply is diplomatic but constrained. He acknowledges the Xiongnu chanyu as a great ruler and emphasizes the “brotherly” relationship between the two states. He sends additional tribute. He does not challenge the Xiongnu’s self-assessment. The Hanshu preserves this exchange without editorializing, but the power dynamic is plain to any reader.
A quick note: These letters are among the most candid diplomatic documents in early Chinese history precisely because they were not written for public consumption. They were administrative records, preserved by the Han chancery. Ban Gu had access to the imperial archives, and the letters he includes give us a window into the reality of Han-Xiongnu relations that official histories of later, stronger dynasties would have been too proud to record.
Border Markets: The Other Face of Heqin
The heqin system was not just about marriages and tribute. It also included border markets (关市) where Han and Xiongnu traders could exchange goods. These markets were controversial within the Han court because they allowed the Xiongnu to acquire Chinese goods, including iron weapons and silk, in exchange for horses and animal products that the Han needed.
But the markets also created constituencies for peace on both sides. Xiongnu leaders who grew wealthy from trade had something to lose from war. Han merchants and frontier officials who profited from cross-border commerce also preferred stability. The Hanshu records that the border markets were sometimes closed as punishment for raids and sometimes reopened as part of new treaty negotiations. They were a barometer of the relationship, expanding and contracting with the temperature of diplomacy.
The Human Cost of the Frontier
Behind the diplomatic abstractions of treaties and tribute, the Hanshu records the lives of the people who actually lived on the frontier. These were Han farmers pressed into military service, Xiongnu herders whose grazing lands were disrupted by Han fortifications, and the women sent north who left no written records of their own. The Hanshu mentions the women sent to the Xiongnu only in passing, but the silence is itself eloquent. Their lives were the price of the political breathing room that heqin bought, and the Hanshu lets the reader understand that price without belaboring it.
The soldiers who manned the frontier fortifications also figure prominently. The Hanshu records the enormous logistical costs of maintaining garrisons along the Xiongnu frontier: the grain shipments, the rotation of conscript labor, the soldiers who froze in winter or died of thirst in summer. The frontier was not a line on a map. It was a human enterprise, sustained by thousands of quiet sacrifices.
The End of the System
When Emperor Wu finally broke the heqin system and launched the offensive, the transition was abrupt. Thirty years of careful restraint gave way to aggressive campaigns across the Gobi. The campaigns succeeded in breaking Xiongnu power, but the cost was enormous. The treasury was drained, taxes were raised, and the economic strain contributed to the internal pressures that would eventually weaken the Han.
Reading the Hanshu account, one gets the sense that Ban Gu understood both halves of the truth: heqin was a necessary evil that bought time, and its replacement by war was a necessary evil that spent accumulated capital. There was no clean ending to the frontier problem, just a shift from one costly strategy to another. The same theme recurs when the Han later faces internal collapse, as described in the story of Wang Mang’s usurpation. The founding of the dynasty, by contrast, is covered in Liu Bang’s founding narrative.
Frequently Asked Questions
Were the princesses actually princesses?
Almost never. The Hanshu records that the women sent under the heqin system were usually palace women or minor nobility given the title of princess for diplomatic purposes. Actual imperial daughters were generally kept at court. The deception was an open secret, accepted by both sides because the Xiongnu valued the tribute more than the bloodline.
Why could the Han not simply build a bigger wall?
The Great Wall of Qin was real but maintaining and manning such an extensive fortification required resources the early Han simply did not have. The wall also depended on having a large army at each section. Heqin was cheaper than a standing frontier army and more flexible than fixed defences.
How does the Hanshu describe Xiongnu culture differently from the Shiji?
The Hanshu gives a more systematic ethnographic account of Xiongnu customs, politics, and military organization. Ban Gu wrote with the benefit of decades of accumulated diplomatic records and military intelligence that Sima Qian did not have access to.
Did any Xiongnu leaders switch sides to the Han?
Yes. Later in Emperor Wu’s reign, some Xiongnu leaders surrendered with their tribes and were settled within Han territory. The most famous was Hunye (浑邪) who submitted in 121 BCE. The Hanshu records these defections as evidence that the war was working, but also as the beginning of a new problem: how to absorb nomadic peoples into a settled agrarian empire.
Leave a Reply
You must be logged in to post a comment.