嵬名令公
嵬名令公
Image creditsCHISTImage source

?–1226 CE

Historical figure

Weiming Linggong (嵬名令公)

嵬名令公

Weiming Linggong (died 1227) was a prominent imperial clansman, Commissioner of Military Affairs, and Senior General of the Western Xia (Tangut) dynasty, belonging to the royal Weiming clan. He served as the primary military commander resisting the expansion of the Mongol Empire during the twilight of Western Xia, traditionally commemorated by historians as the "Last Great General of Western Xia." In the autumn of 1209,…

?–1226 CEWestern Xia (西夏)

PROFILE

Weiming Linggong (died 1227) was a prominent imperial clansman, Commissioner of Military Affairs, and Senior General of the Western Xia (Tangut) dynasty, belonging to the royal Weiming clan. He served as the primary military commander resisting the expansion of the Mongol Empire during the twilight of Western Xia, traditionally commemorated by historians as the "Last Great General of Western Xia." In the autumn of 1209, during Genghis Khan's third major campaign against Western Xia, Mongol forces advanced to Keyimen, the vital northern mountain portal defending the capital of Zhongxing Prefecture. Weiming Linggong was entrusted with the supreme command of the relief forces. Utilizing the rugged canyon terrain, he routed the Mongol vanguard and entrenched his defenses, stalemating the Mongol army for over two months. However, when the Mongols feigned retreat, he ordered an advance out of the defiles, was ambushed by concealed cavalry, and was captured. Imprisoned inside a subterranean earthen cell with coarse fare and unkempt hair, he stubbornly refused all Mongol inducements to defect. He was eventually ransomed with elaborate diplomatic courtesy after Emperor Xiangzong (Li Anquan) offered a princess and tributary peace. In the winter of 1226, during Genghis Khan's final, annihilating campaign against Western Xia, the Mongol grand army laid siege to the southern stronghold of Lingzhou. The last Xia sovereign, Li Xian, appointed Weiming Linggong Grand Commander of the Field Army, dispatching him at the head of 100,000 elite troops to relieve the besieged garrison. The armies fought a cataclysmic winter battle on the frozen expanse of the Yellow River. Hampered by slipping warhorses and enveloped by elite Mongol heavy cavalry, the Tangut forces suffered a catastrophic defeat, resulting in the fall of Lingzhou, with Weiming Linggong fighting his way back to Zhongxing. Following a bitter six-month siege of the capital in 1227, marked by widespread starvation, earthquakes, and plague, Li Xian led Weiming Linggong and imperial dignitaries out of the city gates to surrender. In accordance with Genghis Khan's dying instructions, the Mongol commanders slaughtered Li Xian and Weiming Linggong along with the royal Tangut leadership, bringing an end to the Western Xia dynasty. Weiming Linggong's unwavering loyalty and martial valor remain celebrated in northern border histories.

Death Date
1227 (2nd year of Baoyi)
Highest Office
Commissioner of Military Affairs, Senior General, and concurrently Director of the Secretariat (枢密使、大将军兼中书令)
Major Offices
Supreme Military Marshal (统军元帅), Commander of Keyimen Defiles (克夷门守将), Grand Commander of Lingzhou Relief Army (灵州援军大都统)
Identity Description
Royal imperial commander, supreme military marshal, and the foremost anti-Mongol general during the final years of the Western Xia dynasty

LIFE TIMELINE

Imperial Clan Commander

Rose through military ranks as a senior imperial kinsman of the royal Weiming clan, commanding capital guards and frontier forces.

Defending Keyimen

Commanded Tangut forces to defend the Keyimen defiles against Genghis Khan's invading Mongol host.

Ambush and Captivity

Following a two-month standoff, lured into a Mongol ambush outside the defiles; captured after desperate close combat.

Defiance in Earthen Cell

Confined in a dark subterranean cell under brutal conditions; steadfastly rejected surrender until ransomed by Emperor Xiangzong.

Executive Commander

Reinstated to high military command; appointed Commissioner of Military Affairs and Senior General to overhaul capital fortifications.

Battle on the Frozen River

Led 100,000 troops to relieve Lingzhou; engaged Genghis Khan's heavy cavalry in a bloody clash on the frozen Yellow River.

Defense of the Capital

Retreated to Zhongxing Prefecture; assisted Emperor Li Xian in defending the besieged capital against relentless encirclement.

Martyrdom for the Dynasty

Accompanied Emperor Li Xian to surrender outside the city; executed by Mongol forces under Genghis Khan's final decree.

Relationship graph

BIOGRAPHY

Biography

Imperial Lineage and Defense of Keyimen

Weiming Linggong was a member of the royal Weiming clan of the Western Xia dynasty, renowned among imperial princes for his rigorous mastery of cavalry tactics, strategic composure, and archery. In the autumn of the fourth year of Yingtian (1209), Genghis Khan personally led tens of thousands of elite Mongol cavalry on his third massive expedition against Western Xia. After capturing Wuluohai City, the Mongol host advanced southward along the eastern slopes of the Helan Mountains, bearing down directly on Keyimen (modern Qingtongxia Gorge in Ningxia), the paramount northern defile guarding the imperial capital of Zhongxing Prefecture. Keyimen was hemmed between precipitous cliffs through which the Yellow River surged, representing the indispensable northern defensive bastion of the Tangut realm.

Confronted with an existential crisis, Emperor Xiangzong (Li Anquan) ordered Weiming Linggong to take command of the imperial defense army, comprising between 50,000 and 120,000 cavalry and foot soldiers. Arriving at Keyimen ahead of the invaders, Weiming Linggong stationed powerful crossbow formations and rolling boulder batteries along the clifftops while deploying concealed detachments inside lateral ravines. When the Mongol vanguard rushed recklessly into the gorge, they were met with dense crossbow volleys and shattered from the flanks, suffering heavy casualties and fleeing in disarray. This initial tactical triumph electrified the defenders. Genghis Khan then encamped his entire force before the pass, inaugurating a grueling two-month siege. Protected by sheer topography, Weiming Linggong's lines held firm, inflicting upon the Mongol invaders their longest operational stalemate in the theater.

Entrapment and Unyielding Defiance

As the stalemate entered its second month, the Tangut garrisons gradually grew overconfident. Recognizing that frontal assaults against the fortifications were futile, Genghis Khan enacted a deceptive feigned retreat. When Mongol forward units abandoned their positions in apparent panic, Weiming Linggong ordered his army out of the pass to pursue them. After marching several miles into open terrain, hidden Mongol cavalry squadrons suddenly erupted from surrounding valleys, cutting off the Tangut retreat and encircling the army. In the ferocious melee that followed, the Tangut ranks collapsed; Weiming Linggong's horse was killed, and he was overpowered and taken alive after suffering multiple wounds. With the pass undefended, Keyimen fell, and Mongol cavalry advanced directly to the walls of Zhongxing Prefecture.

Admiring his martial valor, Genghis Khan dispatched multiple emissaries offering prestigious princely ranks to induce Weiming Linggong's defection. The general reviled the envoys and swore eternal allegiance to his sovereign. Incensed by his obstinacy, Genghis Khan confined him inside an underground earthen cell, stripping him of his robes and supplying only coarse grain to break his spirit. Living in subterranean filth with disheveled hair and a soot-stained visage, Weiming Linggong endured months of squalor without showing the slightest inclination to yield. In 1210, facing catastrophic floods around the capital caused by ruptured dikes, Emperor Xiangzong negotiated tributary peace, offering a royal princess to Genghis Khan. Discovering that Weiming Linggong was still alive, the Tangut court formally petitioned for his release with lavish ceremonial gifts. Moved by the general's unyielding rectitude, Genghis Khan consented to his return.

The Battle on the Frozen Yellow River and Demise

Following his return, Weiming Linggong was venerated as a living paragon of loyalty across the successive reigns of Emperor Shenzong, Emperor Xianzong, and the last sovereign Li Xian. He was elevated to Commissioner of Military Affairs and Senior General, directing the capital defense forces. In the winter of 1226, Genghis Khan unleashed his final campaign of total conquest. After reducing the cities of the Hexi Corridor, Genghis Khan laid siege to Lingzhou (modern Lingwu, Ningxia), the pivotal southern fortress shielding the capital. If Lingzhou fell, Zhongxing would be entirely isolated.

Emperor Li Xian appointed Weiming Linggong Grand Commander of the Field Army, dispatching him at the head of 100,000 troops to relieve Lingzhou. It was the depth of the eleventh lunar month; bitter arctic gales had frozen the Yellow River into a solid sheet of ice. Weiming Linggong marshaled his relief army and clashed directly with Genghis Khan's veteran cavalry on the frozen surface of the river. The battle raged with unprecedented ferocity, the clash of iron weapons echoing across the gorge as horses continually slipped on the blood-slicked ice. Genghis Khan orchestrated deep cavalry encirclements from both flanks, severing the Tangut formations. By dusk, the Xia relief army was utterly annihilated, with the ice covered in thousands of frozen corpses and the river stained crimson. Lingzhou fell immediately, while a severely wounded Weiming Linggong fought his way through the encirclement with a handful of survivors to reach the capital.

Beginning in the first month of 1227, the Mongol armies tightly blockaded Zhongxing Prefecture. Weiming Linggong aided Emperor Li Xian in defending the city for six grueling months. Eventually, food reserves were completely exhausted, and a devastating earthquake accompanied by epidemic disease devastated the besieged populace. In June, Genghis Khan fell terminally ill at his encampment on Mount Liupan, issuing a confidential deathbed order: "When the ruler of Xia surrenders, show no mercy; slaughter them all." In July, facing total devastation, Emperor Li Xian and Weiming Linggong led the Tangut nobility out of the capital carrying the dynasty's archival registers in surrender. At Salichuan, Mongol soldiers sprang a sudden ambush, executing Li Xian, Weiming Linggong, and the entire Tangut court. Weiming Linggong met his end with serene defiance, sealing with his life the tragic demise of the Western Xia dynasty.

Major Achievements

Routing Mongol Vanguard at Keyimen

In 1209, Weiming Linggong orchestrated the defense of the Keyimen defiles, routing the Mongol advance units and successfully holding off Genghis Khan's main invasion force for over two months.

Steadfast Loyalty in Subterranean Captivity

Surviving horrific confinement in a Mongol earthen cell, he rejected all inducements of rank and riches, enduring deprivation with unbending fidelity to his dynasty until ransomed by his sovereign.

Leading the Hundred-Thousand Relief at Lingzhou

In the winter of 1226, he commanded 100,000 troops in an epic, desperate clash against Genghis Khan's cavalry on the frozen surface of the Yellow River in an attempt to break the siege of Lingzhou.

Unflinching Defense and Tragic Martyrdom

Organizing the final six-month defense of the Tangut capital amid starvation and plague, he stood by his sovereign to the end, facing execution with dignified composure.

Personal Relationships

  • Sovereign: Emperor Xiangzong of Western Xia (Li Anquan), assigned Weiming Linggong to defend Keyimen and subsequently ransomed him from Mongol captivity.
  • Sovereign: Emperor Li Xian of Western Xia, last monarch of the dynasty, who entrusted him with the Lingzhou relief and shared his martyrdom.
  • Opponent: Genghis Khan, founder of the Mongol Empire, who fought against Weiming Linggong at Keyimen, Lingzhou, and Zhongxing, ultimately ordering his execution.

Historical Evaluation

  • Li Anquan (Emperor Xiangzong): "Weiming Linggong's solitary loyalty and unbending rectitude in the face of enemy captivity demonstrate that he is the true pillar of our state." (Xixia Shushi)
  • Yan Fu (Late Qing Scholar): "Reflecting upon the fall of Western Xia, one sees ministers like Weiming Linggong, who fought across a hundred battles, stood unbent in subterranean imprisonment, and led the tragic charge on the frozen waters of Lingzhou; he truly brought no dishonor to his realm." (Xixia Shi Ping)
  • Modern Historical Consensus: Weiming Linggong is universally recognized as the foremost military commander during the terminal period of the Western Xia dynasty. His defensive stand at Keyimen and the desperate river battle at Lingzhou displayed the final martial valor of the Tangut people, earning him historical comparison alongside Yelü Xiuge of Liao and Wanyan Loushi of Jin as the "Last Great General of Western Xia."

Related Entries

  • Western Xia
  • Genghis Khan
  • Battle of Keyimen
  • Mongol Conquest of Western Xia
  • Li Anquan
  • Li Xian

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • History of Yuan (Yuan Shi), Volume 1, Basic Annals 1, "Annals of Taizu"
  • History of Yuan (Yuan Shi), Volume 120, Biography 7, "Biography of Chahan"
  • New History of Yuan (Xin Yuan Shi), Volume 2, Basic Annals 2, "Annals of Taizu (Part 2)"
  • History of Song (Song Shi), Volume 486, Biography 245, "Foreign Countries 2: Western Xia (Part 2)"