Wei Qing:The Slave Who Became a General and Broke the Xiongnu
The Night of the Kidnapping: The Moment That Changed Everything
The air in the back alleys of Chang‘an—the Han capital, near present-day Xi’an, Shaanxi Province—was thick with the smell of horse dung and the metallic tang of fear. It was the spring of 138 BC, and a young man in his early twenties was being dragged through the darkness by a gang of armed thugs. His name was Wei Qing, and he was about to die.
He had been a slave for most of his life. Born the illegitimate son of a lowly county clerk and a servant woman in the household of Princess Pingyang, he had grown up in the stables, mucking out horse stalls and sleeping on the cold ground[reference:0]. He had been beaten, humiliated, and treated as less than human. And now, he was being kidnapped on the orders of the most powerful woman in the empire—the Empress Chen, whose mother, the Grand Princess Dowager, had decided that Wei Qing was a threat that needed to be eliminated.
The reason was his sister, Wei Zifu. She had caught the eye of the young Emperor Wu of Han and was now pregnant with his child. The empress, jealous and furious, had decided to strike at the emperor through the sister‘s family. Wei Qing was to be murdered, his body thrown into a ditch, his existence erased.
But the kidnappers made a mistake. They were spotted by a friend of Wei Qing‘s—a cavalry officer named Gongsun Ao, who had served with him in the palace guard. Gongsun Ao gathered a group of armed men, intercepted the kidnappers, and rescued Wei Qing just in time[reference:1].
When the emperor learned of the plot, he was furious. He summoned Wei Qing to the palace, promoted him to Jianzhang Jian—Commander of the Palace Guard—and Shizhong—Palace Attendant, a position that gave him direct access to the throne[reference:2][reference:3]. Within days, Wei Qing was given lavish gifts, his brothers were given official positions, and his sister was elevated to the rank of Furen—Lady of the Court[reference:4].
The young slave who had once been told by a fortune-teller that he would one day become a marquis had laughed and replied: “I am a slave. If I am not beaten, that is enough. What use have I for titles?”[reference:5] He was about to discover that the fortune-teller had been right.
What drives a man—a former slave, a man of no birth and no status—to rise to become the greatest general of his age? The answer lies not in the palace of Chang‘an, but in the stables of his childhood.
The Son of a Slave: Forged in Shame and Survival
The Blood of the Forgotten
Wei Qing was born sometime in the late 150s BC—the exact year is unknown—in Pingyang County, Hedong Commandery, in what is now Linfen, Shanxi Province[reference:6]. His mother, known only as Wei Ao—“Old Lady Wei”—was a servant in the household of Princess Pingyang, the elder sister of Emperor Wu[reference:8][reference:9]. His father, Zheng Ji, was a minor county clerk who had an affair with the servant woman[reference:10]. By the laws of the Han, Wei Qing was a bastard—sishang, a child of illicit union—and his status followed his mother. He was a slave.
He spent his early years as a shepherd, tending sheep in the fields around Pingyang[reference:11]. When he was old enough, he was sent to live with his father‘s family, hoping to gain a better life. Instead, he was treated as a slave by his father‘s legitimate children. The Records of the Grand Grand Historian (Shiji) records the cruelty: “His stepmother‘s sons treated him as a slave, not as a brother, and made him do the hardest labor”[reference:12].
He returned to the household of Princess Pingyang, where he was put to work in the stables. He became a qinu—a riding slave, a groom who tended the horses and accompanied the princess on her journeys[reference:13]. It was a life of endless toil, endless humiliation, and endless hunger.
The Education of a Warrior
Wei Qing‘s education was not in the classics; it was in the stables. He learned to ride before he could walk, to handle horses with a gentleness that belied his strength, and to read the terrain with an instinct that would later make him a master of cavalry warfare.
He also learned something more important: patience. He learned to wait, to watch, and to strike when the moment was right. He learned that power was not about birth—it was about opportunity. And when opportunity came, he would be ready.
The Three Relationships That Defined Wei Qing
The Sister Who Opened the Door: Wei Zifu, the Empress
Wei Qing‘s relationship with his sister, Wei Zifu, was the foundation of his rise[reference:14][reference:15]. She was the one who caught the emperor‘s eye, who bore him a son, and who eventually became empress. Without her, Wei Qing would have remained a stable boy, forgotten by history. But their relationship was not one of mere dependence; it was one of mutual support. Wei Qing‘s victories on the battlefield solidified his sister‘s position at court, and her position at court gave him the opportunity to lead.
The Emperor Who Trusted Him: Liu Che, the Martial Emperor
Emperor Wu was a man of extraordinary ambition and extraordinary paranoia. He trusted few people—but he trusted Wei Qing. He saw in the former slave a quality he rarely found in his aristocratic generals: loyalty. Wei Qing never plotted against the emperor, never formed a faction, and never sought power for its own sake. The emperor rewarded that loyalty with unprecedented authority.
The Nephew Who Outshone Him: Huo Qubing, the Prodigy
Wei Qing‘s relationship with his nephew, Huo Qubing—the son of his sister Wei Shaoer—was one of mentorship and rivalry[reference:16][reference:17]. Huo Qubing was a prodigy, a young man who learned to ride and shoot before he could read. He was arrogant, impetuous, and brilliant. Wei Qing was cautious, calculating, and patient. Together, they formed the most formidable military partnership of the age. But there was also a tension: Huo Qubing‘s star rose so quickly that he sometimes eclipsed his uncle. Wei Qing, however, never showed jealousy. He supported his nephew, praised his achievements, and accepted his own diminished role.
The Machine of Victory: The Architecture of Conquest
The First Campaign: The Miracle at Longcheng
In 129 BC, the Xiongnu—the nomadic confederation that had terrorized China‘s northern borders for generations—launched a massive invasion of the Shanggu Commandery (modern-day Huailai County, Hebei Province)[reference:18]. Emperor Wu responded by sending four armies of 10,000 men each, under the command of four generals: Wei Qing, Li Guang, Gongsun Ao, and Gongsun He[reference:19].
The campaign was a disaster—except for Wei Qing. Li Guang was captured (though he escaped); Gongsun Ao lost 7,000 men; Gongsun He found no enemy to fight[reference:20]. But Wei Qing, instead of engaging the main Xiongnu forces, led his cavalry on a daring raid deep into enemy territory. He struck at Longcheng—the sacred site where the Xiongnu chanyu performed his rituals to Heaven—and killed or captured over 700 enemy soldiers[reference:21][reference:22][reference:23].
It was a small victory in terms of numbers—but in terms of symbolism, it was immense. For the first time in Han history, a Chinese general had struck at the heart of the Xiongnu empire[reference:24]. The Shiji records the emperor‘s response: Wei Qing was granted the title Guannei Hou—Marquis of the Pass—and given a fief of 1,600 households[reference:25][reference:26].
The Second Campaign: The Conquest of the Hetao
In 127 BC, Wei Qing led a campaign that would change the strategic balance of the entire war. He marched from Yunzhong (modern-day Hohhot, Inner Mongolia) with 30,000 cavalry, swung west to Gaoque (modern-day Hanggin Banner, Inner Mongolia), and then turned south to attack the Xiongnu tribes of the Baiyang and Loufan kings[reference:27][reference:28].
The campaign was a masterpiece of maneuver. Wei Qing outflanked the Xiongnu, cut off their escape routes, and destroyed their forces[reference:29]. He killed over 2,000 enemy soldiers, captured 3,000 more, and seized more than a million head of livestock[reference:30][reference:31]. He also conquered the Hetao region—the “Ordos Loop” of the Yellow River—the most fertile and strategically important territory on the northern frontier[reference:32].
The Shiji records the result: “The Han court established the Shuofang Commandery”—a new administrative region that would serve as a base for future campaigns[reference:33][reference:34]. Wei Qing was granted the title Changping Hou—Marquis of Changping—and given a fief of 3,800 households[reference:35].
The Third Campaign: The Destruction of the Right Wise King
In 124 BC, the Xiongnu launched a series of devastating raids into the Han borderlands. The Right Wise King (Youxian Wang)—the most powerful of the Xiongnu princes—attacked the Hetao region, hoping to reclaim the territory Wei Qing had conquered.
Wei Qing responded with a lightning campaign. Leading 30,000 cavalry, he marched from Gaoque, crossed the Great Wall, and struck deep into Xiongnu territory[reference:38]. He caught the Right Wise King off guard, attacking at night and scattering his forces[reference:39]. The Shiji records the carnage: Wei Qing captured 15,000 enemy soldiers, dozens of nobles, and hundreds of thousands of livestock[reference:40]. The Right Wise King fled with only a handful of his personal guards[reference:42].
The victory was so complete that Emperor Wu, while Wei Qing was still in the field, sent a messenger to appoint him Da Jiangjun—Grand General, the highest military rank in the empire. The Shiji records the emperor‘s decree: “The Grand General shall command all the armies of the Han.” Wei Qing‘s three infant sons were also granted marquisates, though he himself asked the emperor to instead reward his officers.
The Campaigns of 123 BC: The Cost of Victory
In 123 BC, Wei Qing led two campaigns into the desert north of the Great Wall. He commanded more than 100,000 cavalry, the largest army ever assembled by the Han. The first campaign achieved modest success; the second was a disaster.
His subordinates, generals Su Jian and Zhao Xin, were cut off by the Xiongnu chanyu‘s main force. Zhao Xin defected to the enemy; Su Jian escaped alone after his entire army was destroyed. The campaign cost the Han more than 100,000 horses and countless soldiers. Wei Qing was not rewarded for the campaign; he was merely given a gift of 1,000 gold pieces.
The Fourth Campaign: The Battle of the Desert
In 119 BC, Emperor Wu launched the largest military campaign in Chinese history up to that point. He mobilized 140,000 warhorses, 500,000 infantry as support troops, and two armies of 50,000 cavalry each. One army was commanded by Wei Qing; the other by his nephew, Huo Qubing.
Wei Qing marched from Dingxiang (modern-day Hohhot, Inner Mongolia) into the Gobi Desert. He advanced more than a thousand miles, crossing the vast emptiness of the northern steppes[reference:54]. When he finally encountered the Xiongnu chanyu—the supreme leader of the confederation—he adopted a defensive formation, using armored wagons (wugang che) to create a mobile fortress[reference:55][reference:56].
The battle lasted from dawn to dusk. The Shiji records the scene: “A great wind arose, and sand and stones filled the air, so that the two armies could not see each other”[reference:57][reference:58]. Wei Qing seized the opportunity, ordering his cavalry to outflank the Xiongnu forces[reference:59]. The chanyu, seeing that he was surrounded, fled with only a few hundred of his personal guards[reference:60][reference:61].
Wei Qing pursued the chanyu for more than 200 miles, reaching the city of Zhao Xin—named after the defector who had betrayed him four years earlier. He burned the city‘s grain supplies and returned to Han territory[reference:63]. His army had killed or captured more than 19,000 enemy soldiers[reference:64].
The Shiji records the aftermath: “After this, the Xiongnu fled far to the north, and there was no Xiongnu court south of the Gobi Desert”[reference:66].
The Architecture of Power: How Wei Qing Won
Wei Qing‘s success was not a matter of luck; it was a matter of system. His military philosophy rested on four pillars:
First, mobility. Wei Qing understood that cavalry was the key to defeating the Xiongnu. He trained his men to ride for days without rest, to live off the land, and to strike with lightning speed. His campaigns were characterized by rapid movement, deep penetration, and unexpected attacks.
Second, logistics. Wei Qing understood that an army marches on its stomach. He established supply lines, built fortified bases, and ensured that his men were never without food or water. His campaigns were supported by the full might of the Han state—a state that had been preparing for war for decades[reference:67].
Third, intelligence. Wei Qing was a master of reconnaissance. He used spies, captured prisoners, and local guides to gather information about the enemy‘s movements. He knew where the Xiongnu were, where they were going, and where they were vulnerable.
Fourth, discipline. Wei Qing was a strict disciplinarian. He demanded absolute obedience from his officers, and he punished failure without mercy. When his subordinate Su Jian lost his army, Wei Qing ordered him to be tried by a military tribunal—though he ultimately spared his life at the emperor‘s request.
The Silent General: Death, Legacy, and the Global Stage
The Final Years: The Shadow of the Nephew
After the victory of 119 BC, Wei Qing never again led a major campaign. His nephew, Huo Qubing, had become the emperor‘s favorite, and Wei Qing accepted his diminished role with characteristic equanimity.
He spent his remaining years in Chang‘an, serving as Da Sima Da Jiangjun—Grand General and Grand Marshal, the highest military and administrative office in the empire[reference:68][reference:69]. He lived quietly, avoiding the factional intrigues of the court, and never used his position to enrich himself or his family[reference:70].
The Shiji records his character: “Wei Qing was gentle, kind, and generous. He was not arrogant, and he did not form factions. He treated his soldiers with kindness, and they loved him”[reference:71].
He also married Princess Pingyang—the woman who had once been his mistress, and who was now the emperor‘s elder sister[reference:72][reference:73]. It was the final irony of his life: the slave who had once cleaned her stables was now her husband.
The Death of a General
In 106 BC, Wei Qing died of illness[reference:74][reference:75]. He was around fifty years old. Emperor Wu granted him the posthumous title Lie—“Martial” or “Fierce”—and allowed him to be buried in his own imperial mausoleum at Maoling, near Chang‘an[reference:76]. His tomb was built in the shape of Mount Lu—a mountain in the Xiongnu heartland that he had helped to conquer[reference:77].
The Chinese Gene: What Wei Qing Left Behind
Wei Qing‘s legacy is one of the most profound in Chinese history. Three elements of his achievement have proven remarkably enduring:
First, the conquest of the northern frontier. Before Wei Qing, the Han were on the defensive, paying tribute to the Xiongnu and suffering constant raids. After Wei Qing, the Han were on the offensive, pushing the Xiongnu deep into the northern wastelands. The Hetao region, the Ordos, and the Gobi Desert were all brought under Chinese control. The Shiji records the result: “From this time on, the Xiongnu moved far to the north, and there was no Xiongnu court south of the Gobi Desert”[reference:78].
Second, the model of the “commoner general.” Wei Qing was the first great general in Chinese history to rise from the lowest social class. His example proved that talent, not birth, was the key to success. He inspired generations of soldiers and officials who, like him, had been born into obscurity but dreamed of greatness.
Third, the principle of “victory through movement.” Wei Qing‘s campaigns demonstrated that cavalry, mobility, and deep penetration could defeat even the most formidable enemy. His tactics would be studied and emulated by generations of Chinese generals.
Wei Qing and the World: A Global Perspective
While Wei Qing was fighting the Xiongnu, the rest of the world was undergoing its own transformations.
In the Mediterranean, the Roman Republic was at the height of its power. The Punic Wars had ended, and Rome was the dominant power in the Western Mediterranean. The Roman general Scipio Africanus, like Wei Qing, had risen to prominence through military genius—but Scipio was an aristocrat, while Wei Qing was a slave.
In India, the Shunga dynasty was in power, a successor state to the Mauryan Empire. The Shungas were struggling to maintain control over the vast subcontinent, just as the Han were struggling to maintain control over the northern frontier.
In the Hellenistic world, the Seleucid Empire was in decline. The Parthian Empire, a nomadic confederation like the Xiongnu, was expanding its power across the Iranian plateau.
Wei Qing‘s achievement, viewed in this global context, is remarkable for its strategic character. He did not simply win battles; he transformed the balance of power between two civilizations. Before Wei Qing, the Xiongnu were the dominant power in East Asia; after Wei Qing, the Han were.
The Man Behind the Myth
The historical Wei Qing is difficult to recover. The Shiji, our main source, was written by Sima Qian, a historian who had his own biases—he was castrated by Emperor Wu, and he viewed the emperor‘s favorites with suspicion[reference:79]. Some scholars have argued that Sima Qian was unfair to Wei Qing, dismissing him as an “外戚”—a relative of the empress who rose through favoritism rather than merit[reference:80].
But the evidence speaks for itself. Wei Qing was not a mere favorite; he was a military genius. He won seven campaigns against the Xiongnu, conquered vast territories, and transformed the strategic balance of the entire region. He was a man of extraordinary ability, who rose from the lowest social class to the highest office in the empire, and who did so with grace, humility, and skill.
He died in 106 BC, surrounded by the institutions he had built. His nephew, Huo Qubing, had died nine years earlier; his sister, the empress, would die in the Witchcraft Scandal of 91 BC; his family would be destroyed in the same purge. But his legacy—the conquest of the north, the model of the commoner general, the principle of victory through movement—would endure for over two thousand years.
In the end, Wei Qing was judged not by his birth, but by his works. By that standard, he stands as one of the greatest generals in Chinese history—the slave who became a general and broke the Xiongnu.
For the reader who wishes to explore further: the primary source for Wei Qing‘s life is the “Biography of General Wei and the Cavalry General” (Wei Jiangjun Piaoqi Liezhuan) in Sima Qian‘s Records of the Grand Historian (Shiji), and the “Annals of Emperor Wu” (Wu Di Ji) in Ban Gu‘s Book of Han (Hanshu). The most accessible English translation of the Shiji is by Burton Watson (Columbia University Press).