Born into the premier Guanlong aristocracy as the great-grandson of Western Wei Pillar General Li Bi.

Li Mi (李密)
李密
[!NOTE] Li Mi (582–January 20, 619), courtesy name Xuanrui, was a prominent aristocratic warlord, rebel commander, and paramount leader of the Wagang Army during the transition from the Sui dynasty to the Tang dynasty. Born into the elite Guanlong military aristocracy in Chang'an and tracing ancestral roots to Xiangping, Liaodong, he was the great-grandson of Li Bi, one of the Eight Pillar Generals of Western Wei. Inheriting…
PROFILE
[!NOTE] Li Mi (582–January 20, 619), courtesy name Xuanrui, was a prominent aristocratic warlord, rebel commander, and paramount leader of the Wagang Army during the transition from the Sui dynasty to the Tang dynasty. Born into the elite Guanlong military aristocracy in Chang'an and tracing ancestral roots to Xiangping, Liaodong, he was the great-grandson of Li Bi, one of the Eight Pillar Generals of Western Wei. Inheriting the title Duke of Pushan, he gained early fame for his relentless scholarly diligence, epitomized by the idiom "hanging books on ox horns." After acting as the chief strategist for Yang Xuangan's 613 rebellion against Emperor Yang of Sui, Li Mi joined the Wagang Army in 616, orchestrating the capture of the Xingluo Granary (Luokou Granary) and opening state reserves to feed millions of starving refugees. Proclaimed the Duke of Wei, Li Mi mobilized hundreds of thousands of troops across the Central Plains. However, internal factional bloodbaths, prolonged sieges of Luoyang, and pyrrhic battles against Yuwen Huaji depleted his veteran core. Following a crushing defeat against Wang Shichong at the Battle of Mount Mang, Li Mi surrendered to Emperor Gaozu of Tang, receiving the titles Minister of Justice and Duke of Xing. Attempting to stage a rebellion in late 618 to reclaim independent authority, he was ambushed and slain in the valleys of Mount Xiong'er at age thirty-seven.
- Courtesy Name
- Xuanrui
- Alternate Titles
- Duke of Wei, Duke of Pushan, Liu Zhiyuan
- Ancestral Home
- Chang'an, Jingzhao (modern Xi'an, Shaanxi Province; ancestral origin Xiangping, Liaodong)
- Birth
- 582 (Second Year of the Kaihuang Era of Sui)
- Death
- January 20, 619 (Thirtieth Day of the Twelfth Month of the First Year of the Wude Era of Tang)
- Age at Death
- 37
- Highest Office
- Left Chief Commandant of Palace Guards (Sui), Commander-in-Chief and Duke of Wei (Wagang), Minister of Justice and Chamberlain for Ceremonials (Tang)
- Major Offices
- Left Chief Commandant, Duke of Wei, Chamberlain for Ceremonials, Minister of Justice, Duke of Xing
- Core Identity
- Sui-Tang warlord, supreme commander of the Wagang Army, Duke of Wei, and early Tang minister
LIFE TIMELINE
Inherited the hereditary title Duke of Pushan following his father's death; appointed palace guard commander under Emperor Yang of Sui.
Joined Yang Xuangan's rebellion in Liyang, submitting three strategic plans; escaped after royalist armies crushed the uprising.
Joined Zhai Rang's Wagang Army, orchestrating victories at Jindi Pass and Dahai Temple that routed royalist commander Zhang Xutuo.
Seized the imperial Xingluo Granary, opened grain reserves to feed refugees, and was proclaimed supreme leader as the Duke of Wei.
Ambushed and assassinated founding chieftain Zhai Rang during an internal banquet, sparking lasting factional mistrust among veteran commanders.
Following Emperor Yang's assassination in Jiangdu, accepted ministerial titles from the Luoyang court of Yang Tong to intercept Yuwen Huaji's army.
Intercepted and routed Yuwen Huaji's elite Xiaoguo army at Mount Tong near Liyang, suffering severe wounds and heavy troop exhaustion.
Suffered a decisive nighttime ambush by Wang Shichong at Mount Mang; the Wagang Army completely collapsed.
Fled west across Tongguan Pass to surrender to Emperor Gaozu of Tang in Chang'an; appointed Minister of Justice and created Duke of Xing.
Dispatched east to rally former garrisons in Liyang; mutinied at Shanzhou upon being recalled by imperial decree.
Trapped and killed in a mountain ravine ambush by Tang general Sheng Yanshi at the age of thirty-seven.
Relationship graph
BIOGRAPHY
Life
Aristocratic Lineage and Diligent Youth
Li Mi was born in 582 into the most prominent tier of the Guanlong military aristocracy that dominated the Western Wei, Northern Zhou, and Sui dynasties. His great-grandfather, Li Bi, was celebrated as one of the Eight Pillar Generals of Western Wei, holding the office of Grand Protector and ennobled as the Duke of Wei. His grandfather, Li Yao, served as Senior General and Duke of Xing in Northern Zhou, while his father, Li Kuan, was honored as Pillar of State and Duke of Pushan under Emperor Wen of Sui. Reared in luxury and steeped in classical statecraft and military strategy, young Li Mi developed sweeping political ambition and broad generosity, actively befriending both scholars and chivalric swordsmen.
Following his father's death, Li Mi inherited the aristocratic title Duke of Pushan and was appointed Left Chief Commandant of Palace Guards at the imperial court. However, his piercing gaze and proud demeanor provoked imperial suspicion. During a court assembly, Emperor Yang observed him leaning against a corridor pillar and remarked to Prime Minister Yang Su that the young officer possessed an unsettled, calculating countenance unsuited for palace guard duty. Advised by Yang Su, Li Mi resigned under pretext of illness.
Free from bureaucratic constraints, Li Mi dedicated himself entirely to historical and military study. On one celebrated occasion, while riding a yellow ox toward Goushi to consult classical scholar Bao Kai, Li Mi hung a multi-volume copy of the Book of Han from the ox's horns, reading the biography of Xiang Yu while travelling. Prime Minister Yang Su chanced upon him from an imperial carriage, marveling at the young scholar's diligence. After a long conversation on dynastic rise and fall, Yang Su returned home and admonished his son Yang Xuangan that Li Mi's intellect and vision vastly surpassed his peers.
Chief Strategist in the Yang Xuangan Rebellion
In the spring of 613, Emperor Yang launched his catastrophic second military campaign against the Korean kingdom of Goguryeo. While the emperor led hundreds of thousands of troops across the Liao River, Minister of Rites Yang Xuangan was stationed at Liyang to oversee grain logistics and conscription. Seizing the opportunity created by popular anger and imperial absence, Yang Xuangan revolted and dispatched trusted couriers to fetch Li Mi from Chang'an as his chief strategist.
Upon arriving at Liyang, Li Mi offered Yang Xuangan three comprehensive strategic alternatives. The Superior Strategy urged Yang to march north swiftly, occupy Youzhou, and seize Linyu Pass (Shanhaiguan), severing the emperor's retreat from the Liaodong peninsula and starving royalist forces into surrender. The Middle Strategy proposed leading mobile cavalry west across Tongguan to capture the capital Chang'an, securing the fortified heartland of Guanzhong to command the realm. The Inferior Strategy involved besieging the Eastern Capital Luoyang, which possessed formidable battlements and determined garrisons capable of holding out until loyalist relief armies surrounded the rebels.
Shortsighted and swayed by vanity, Yang Xuangan chose the Inferior Strategy, insisting that capturing Luoyang was essential to awe the empire and seize bureaucratic families. As Li Mi foresaw, Luoyang's defender Fan Zigai held out doggedly for months. Royalist relief forces under generals Yuwen Shu and Lai Huni arrived from Liaodong and Jianghuai, encircling the rebels at Dongduyuan. Yang Xuangan's army disintegrated, and he died by suicide. Li Mi fled but was soon captured by imperial patrols.
En route to the imperial traveling court under armed guard, Li Mi used concealed gold to bribe escorting guards, encouraging continuous nocturnal drinking among fellow convicts. Taking advantage of the drunken guards in Wei Commandery, Li Mi and his associates breached a timber wall and escaped into the marshlands of Mount Mangdang.
Alliance with Wagang and the Capture of Xingluo Granary
As the most wanted fugitive in the realm, Li Mi wandered the Central Plains under the alias Liu Zhiyuan, briefly operating a rural school in Huaiyang. Concluding that unorganized local bands lacked political capacity, he traveled to Henan in 616 to join Zhai Rang's Wagang Army at Mount Huaxian. Introduced by trusted commander Wang Bodang, Li Mi quickly persuaded Zhai Rang that plundering merchant convoys was self-destructive and urged him to adopt grand strategic objectives aimed at dynastic overthrow.
Li Mi's military genius transformed the Wagang Army into an invincible force. In October 616, when legendary Sui general Zhang Xutuo led an elite royalist army against Wagang, Li Mi devised a masterly double-envelope trap. Zhai Rang feigned retreat, drawing the overconfident Zhang Xutuo into a dense forested valley north of Dahai Temple, where Li Mi's hidden infantry ambushed the column. Zhang Xutuo fell in battle, shattering Sui military dominance in Henan and elevating Li Mi's prestige throughout the Central Plains.
Capitalizing on this momentum, in February 617, Li Mi launched a swift night strike against the imperial Xingluo Granary (Luokou Granary), which stored millions of bushels of strategic grain. Rather than monopolizing the supplies, Li Mi ordered the massive granary thrown open to all impoverished refugees and rival rebel factions. In the midst of severe famine, hundreds of thousands of starving peasants and local rebel chieftains rallied to his banner, swelling the Wagang Army into a formidable host of several hundred thousand soldiers.
Proclamation as Duke of Wei and Internal Purge
In February 617, Zhai Rang voluntarily deferred supreme leadership to Li Mi. Ascending an earthen platform at Luokou, Li Mi proclaimed himself the Duke of Wei, established the Marshal's Headquarters, and created a formal civil bureaucracy. He drafted the famous Manifesto Against Emperor Yang, indicting the monarch for ten unforgivable crimes, including parricide, dynastic exhaustion, and the brutal construction of imperial waterways, coining the enduring phrase: "Even if all the bamboo on the Southern Mountains were consumed, his crimes could not be fully written; even if all the waves of the Eastern Sea were poured out, his wickedness could not be cleansed."
However, factional rifts soon eroded the regime. Zhai Rang's brother Zhai Hong and lieutenant Wang Ruxin urged Zhai Rang to reclaim authority, while Li Mi's aristocratic counselors warned that two masters could not coexist. In November 617, Li Mi hosted a lavish banquet for Zhai Rang and handed him an exquisite ceremonial bow to admire. As Zhai Rang turned to draw the bowstring, Li Mi's bodyguard Cai Jiande assassinated him from behind, and ambushed retainers butchered Zhai's kin. Though Li Mi personally bound the wounds of general Shan Xiongxin and spared common soldiers, this cold-blooded betrayal severed internal loyalty, alienating veteran commanders like Xu Shiji and Shan Xiongxin.
Bloodbath with Yuwen Huaji and Defeat at Mount Mang
In March 618, military mutineers under Yuwen Huaji assassinated Emperor Yang at Jiangdu and marched ten thousand elite Xiaoguo palace guards north toward Guanzhong. Simultaneously, Sui royalists in Luoyang enthroned Yang Tong as emperor. Threatened by Yuwen Huaji's juggernaut, the Luoyang court granted Li Mi the titles of Grand Commandant and Duke of Wei, charging him with repelling the rebels.
Recognizing that allowing the Xiaoguo army to join Luoyang would encircle him, Li Mi accepted the alliance and intercepted Yuwen Huaji at Mount Tong in Liyang. In months of fierce hand-to-hand combat, Li Mi was struck in the chest by an arrow and thrown from his horse, rescued only by the desperate valor of Qin Shubao. Through coordinated land-river ambushes, Li Mi eventually shattered Yuwen Huaji's army, but the pyrrhic victory depleted his veteran reserves and exhausted Wagang logistical capacity.
Capitalizing on Li Mi's exhaustion, Luoyang general Wang Shichong staged a coup, seized total control of the Eastern Capital, and led twenty thousand crack cavalry toward Mount Mang. In September 618, Wang Shichong launched a surprise assault on Li Mi's camp at Yanshi. Overconfident and caught unprepared, the Wagang lines collapsed. Key generals Pei Renji, Cheng Yaojin, and Qin Shubao were captured or forced to yield, and the Wagang Army disintegrated overnight.
Surrender to Tang and Tragic End at Mount Xiong'er
Refusing to surrender to his arch-rival Wang Shichong, Li Mi led two thousand loyal horsemen west across Tongguan Pass to surrender to Emperor Gaozu of Tang in Chang'an. Seeking to conciliate former Wagang supporters, Emperor Gaozu initially received him with great pomp, appointing him Minister of Justice, Chamberlain for Ceremonials, and Duke of Xing, and marrying him to an imperial cousin, Lady Dugu.
However, stripped of independent military command, Li Mi found himself sidelined and humiliated by the entrenched Guanzhong aristocracy. At imperial banquets, he was subjected to petty protocol indignities, serving food like an ordinary attendant. Desperate to escape this gilded cage, Li Mi petitioned the Tang emperor in late 618 to permit him to lead an expedition to Liyang to rally his former forces against Wang Shichong. Gaozu consented, but as soon as Li Mi reached Shanzhou, imperial couriers arrived with counter-orders commanding his immediate return to Chang'an.
Knowing that returning meant execution, Li Mi mutinied, killing his Tang escort and racing south toward Mount Xiong'er to link up with loyalist commander Zhang Shanxiang. Anticipating his flight path, Tang general Sheng Yanshi laid an ambush within the snowy gorges of Mount Xiong'er. On January 20, 619, Li Mi rode into the defile and was riddled with arrows, dying alongside his faithful companion Wang Bodang at the age of thirty-seven. His severed head was forwarded to Chang'an and later returned to Liyang, where former subordinate Xu Shiji wept over his remains and buried him with princely honors on Mount Liyang.
Major Achievements
Seizure of Xingluo Granary and Disruption of Imperial Economic Control
Li Mi's paramount strategic achievement during the late Sui rebellions was the masterly seizure of the imperial Xingluo Granary (Luokou Granary), which held the vastest strategic food reserves of the Sui Empire.
Recognizing that control of food supplies held the key to political authority, Li Mi bypassed heavily fortified provincial centers to strike directly at the empire's logistical nerve center in February 617. By opening the granary gates to millions of starving peasants without restriction, Li Mi mobilized popular support on an unprecedented scale, turning a localized insurrection into an imperial revolution that severed the Sui court from its grain lifelines.
Formation of the Wagang Army Regime and Assembly of Elite Talents
Following the capture of Luokou, Li Mi elevated the Wagang Army from an elusive guerrilla force into a disciplined state apparatus commanding hundreds of thousands of battle-hardened soldiers.
Proclaiming himself the Duke of Wei and establishing the Marshal's Headquarters, Li Mi integrated civil administration with an elite shock force known as the Eight Thousand Inner Guards (neijun), commanded by four elite colonels. Under his leadership, the regime attracted premier military and administrative talents of the era, including Qin Shubao, Cheng Yaojin, Luo Shixin, Xu Shiji, and Wei Zheng. Though the Wagang regime ultimately fragmented, this concentrated pool of military brilliance subsequently formed the core pillar of Tang Taizong's campaigns to unify China.
Authorship of the Manifesto Against Emperor Yang
As a master of classical rhetoric and ideological mobilization, Li Mi authored the celebrated Manifesto Against Emperor Yang, which stands among the greatest martial declarations in Chinese historiography.
Itemizing Emperor Yang's tyranny, palace extravagance, and catastrophic military expeditions, the manifesto framed the rebellion within universal moral duty and cosmic mandate. Its iconic phrase—"Even if all the bamboo on the Southern Mountains were consumed, his crimes could not be fully written"—became the definitive historical verdict on Sui despotism, demoralizing royalist defenders and legitimizing popular rebellion across the empire.
Destruction of Yuwen Huaji's Coup Forces
During the chaotic aftermath of Emperor Yang's assassination, Li Mi executed a vital stabilizing campaign by intercepting Yuwen Huaji's ferocious Xiaoguo army at Mount Tong.
Despite suffering severe battlefield wounds, Li Mi deployed disciplined combined-arms maneuvers to annihilate Yuwen's hundred thousand troops, capturing royal regalia and neutralizing the most predatory rogue army of the era. This hard-won triumph prevented the murderous mutineers from ravaging Central Plains cities and secured the preservation of imperial documentary archives.
Catalyst for Tang Unification and Imperial Dynasty Transition
Li Mi's prolonged multi-year campaigns against Sui royalists in Luoyang fundamentally altered the geopolitical trajectory of early imperial China.
By fixing the primary military strength of the Sui court and Wang Shichong around the river basins of Luoyang, Li Mi created a crucial strategic vacuum that enabled Li Yuan and Li Shimin to consolidate control over the Guanzhong basin virtually unimpeded. Furthermore, the subsequent transfer of Li Mi's veteran commanders and advisors to the Tang banner provided the nascent dynasty with the decisive military instruments necessary to triumph over rivals Dou Jiande, Wang Shichong, and Liu Wuzhou.
Relationships
- Great-Grandfather: Li Bi (Western Wei Pillar General, Grand Protector, Duke of Wei)
- Grandfather: Li Yao (Northern Zhou Senior General, Duke of Xing)
- Father: Li Kuan (Sui Pillar of State, Duke of Pushan)
- Wife: Lady Dugu (imperial cousin of Emperor Gaozu of Tang, wed to Li Mi during his surrender)
- Rebel Ally: Yang Xuangan (Minister of Rites who launched the 613 rebellion with Li Mi as chief strategist)
- Former Chieftain and Rival: Zhai Rang (founder of the Wagang Army, assassinated by Li Mi in 617)
- Loyal Confidant and Officer: Wang Bodang (senior Wagang general who died defending Li Mi at Mount Xiong'er)
- Wagang General and Tang Hero: Qin Shubao (Inner Guard cavalry commander who rescued Li Mi at Mount Tong, later Tang marshal)
- Wagang General and Tang Hero: Cheng Yaojin (Inner Guard commander who joined Tang and served as a founding general)
- Wagang Veteran and Adversary: Shan Xiongxin (cavalry commander who defected to Wang Shichong after Zhai Rang's death)
- Wagang Veteran and Tang Pillar: Xu Shiji (Li Ji, commander of Liyang Granary, who buried Li Mi with royal honors)
- Wagang Secretary and Tang Chancellor: Wei Zheng (author of rebel memorials who became Tang Taizong's premier remonstrator)
- Imperial Opponent: Wang Shichong (Sui Luoyang commander who crushed Li Mi's army at Mount Mang)
- Imperial Opponent: Yuwen Huaji (mutineer general defeated by Li Mi at Mount Tong)
- Sovereign Opposed: Emperor Yang of Sui (monarch whose tyranny Li Mi denounced in his famous manifesto)
- Sovereign Served: Emperor Gaozu of Tang (Li Yuan, who received Li Mi's surrender and ordered his interception at Mount Xiong'er)
- Ambush Commander: Sheng Yanshi (Tang general of Shanzhou who planned and executed the ambush that killed Li Mi)
Historical Evaluation
- Li Shimin (Emperor Taizong of Tang), Essentials of Governance of the Zhenguan Era: "Li Mi possessed the talent of a high minister but harbored the ambition to move mountains. Relying on the Wagang host, holding the defiles of the rivers, and seizing the Luokou Granary, he raised his arm and the Central Plains followed in shadow. Yet he was cunning and prone to disorder; slaying Zhai Rang, he severed bonds of gratitude, alienating officers and men. Overthrown at Mount Mang, he died with his head severed, a fitting end for his character."
- Wei Zheng et al., Book of Sui, Volume 70, "Biographies, Fascicle 35: Biography of Li Mi": "Relying on hereditary prestige and endowed with an untamed spirit, Li Mi sought glory amid turbulent times. Holding the abundant Luokou granary and guarding the choke points of Jindi Pass, chieftains rallied to him and the four seas trembled. Yet lacking supreme virtue to embrace distant peoples, and possessing intense jealousy that estranged his followers, he slaughtered meritorious comrades and suspected former generals, leading his troops to exhaustion and ultimate slaughter. How tragic!"
- Liu Xu et al., Old Book of Tang, Volume 53, "Biographies, Fascicle 3: Biography of Li Mi": "Li Mi possessed heroic demeanor and vast diplomatic skill. Serving Yang Xuangan, his plans were flawless; entering Wagang, his strategies repeatedly triumphed. Had he cultivated benevolence, fulfilled righteousness, and remained steadfast, his accomplishments might have rivaled Han Gaozu and Wei Wudi. Alas, he murdered Zhai Rang to sow discord and fought in anger against Wang Shichong, dying before his ambition was achieved—a truly lamentable fate!"
- Sima Guang, Comprehensive Mirror for Aid in Government, Volume 186: "Li Mi possessed transcendent heroism and unrivaled strategic talent. Opening granaries to relieve the destitute, his conduct bore the majestic air of an emperor. Yet he failed to nurture his followers with magnanimity, acting with impatient suspicion. Once Zhai Rang was slain, the foundation of Wagang dissolved. Routing at Mount Mang and fleeing east from Tang, he perished at Mount Xiong'er, his moral capacity falling short of his vast ambition."
- Modern Historical Consensus: Li Mi was the archetypal aristocratic warlord and rebel leader of the transitional Sui-Tang era. His strategic genius in capturing the Xingluo Granary catalyzed the collapse of the Sui Empire. However, intense factional paranoia and strategic miscalculations against Wang Shichong led to his catastrophic downfall. Nevertheless, the extraordinary talent cadre he assembled became the bedrock upon which the early Tang Golden Age was established.
Related Entries
- Wagang Army
- Zhai Rang
- Yang Xuangan
- Xingluo Granary
- Wang Shichong
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Wei Zheng et al., Book of Sui, Volume 70, "Biographies, Fascicle 35: Biography of Li Mi."
- Liu Xu et al., Old Book of Tang, Volume 53, "Biographies, Fascicle 3: Biography of Li Mi."
- Ouyang Xiu, Song Qi et al., New Book of Tang, Volume 84, "Biographies, Fascicle 9: Biography of Li Mi."