薛举
Surviving calligraphy / manuscript (Xue Ju)
Image creditsw:zh:李渊 · Public domainImage source

Historical figure

Xue Ju (薛举)

薛举

Xue Ju (薛举, ?–618 CE), an ancestral native of Fenyin County, Hedong Commandery (modern Wanrong County, Shanxi) who relocated to Jincheng (modern Lanzhou, Gansu), was one of the paramount regional warlords during the Sui-Tang transition and the founding emperor of the Western Qin dynasty. Renowned for his imposing physical stature, exceptional archery, and vast personal fortune, Xue Ju cultivated extensive connections among…

Late Sui to early Tang dynasties, Western Qin regime

PROFILE

Xue Ju (薛举, ?–618 CE), an ancestral native of Fenyin County, Hedong Commandery (modern Wanrong County, Shanxi) who relocated to Jincheng (modern Lanzhou, Gansu), was one of the paramount regional warlords during the Sui-Tang transition and the founding emperor of the Western Qin dynasty. Renowned for his imposing physical stature, exceptional archery, and vast personal fortune, Xue Ju cultivated extensive connections among border chivalric figures and non-Han tribal chieftains across the northwestern frontiers, serving the Sui dynasty as a garrison commandant in Jincheng. In the fourth lunar month of the thirteenth year of Daye (617 CE), acute famine and bandit uprisings struck Longxi. When Jincheng magistrate Hao Yuan mobilized local levies to suppress the unrest, Xue Ju staged a sudden banquet coup, taking Hao Yuan hostage and distributing government grain stores to the starving populace. Proclaiming himself Hegemon King of Western Qin with the era name Qinxing, Xue Ju routed Sui commander Huangfu Wan at Chi'an, absorbed regional chieftains such as Zong Luohou, and rapidly subdued Shan, Kuo, and He provinces. Within ten days, he conquered all of Longxi, amassing an army of one hundred and thirty thousand troops before formally declaring himself Emperor in Lanzhou. Following the establishment of the Tang dynasty, Xue Ju launched an aggressive eastern offensive toward the Guanzhong basin. In the seventh lunar month of the first year of Wude (618 CE), capitalizing on the illness of Tang supreme commander Li Shimin and the reckless advance of vice-commanders Liu Wenjing and Yin Kaishan, Xue Ju achieved a crushing victory at the Battle of Qianshuiyuan, annihilating the bulk of the Tang expeditionary force and forcing Li Shimin to retreat to Chang'an. Just as he prepared to march upon the imperial capital, Xue Ju was struck down by sudden illness and died in his Gaozhi palace. His regime collapsed months later under his son Xue Rengao.

Era Name
Qinxing (秦兴, 617–618 CE)
Period
Late Sui to early Tang dynasties, Western Qin regime
Ancestral Home
Fenyin County, Hedong Commandery (present-day Wanrong County, Shanxi; relocated to Jincheng, Lanzhou)
Death Date
618 CE (First Year of Wude, Tang dynasty; Second Year of Qinxing, Western Qin)
Highest Office
Founding Emperor of Western Qin
Major Official Posts
Garrison Commandant of Jincheng in Sui dynasty, Hegemon King of Western Qin, Emperor of Western Qin
Historical Status
Prominent warlord during the collapse of the Sui dynasty, founder and emperor of the Western Qin dynasty

LIFE TIMELINE

Relationship graph

BIOGRAPHY

Chronology

  • 617 CE (April, 13th Year of Daye) | Uprising in Jincheng | Staged a banquet mutiny against county magistrate Hao Yuan, distributed state granaries, and proclaimed himself Hegemon King of Western Qin.
  • 617 CE (May, 13th Year of Daye) | Triumph at Chi'an | Led two thousand shock cavalry to ambush ten thousand Sui troops under Huangfu Wan; captured Baohan, gaining twenty thousand allied troops under Zong Luohou.
  • 617 CE (July, 13th Year of Daye) | Enthronement in Lanzhou | Unified all of Longxi with one hundred and thirty thousand troops, erected an altar at Lanzhou to declare himself Emperor, and made Xue Rengao Crown Prince.
  • 617 CE (Winter, 13th Year of Daye) | Relocating to Qinzhou | Dispatched forces to harass Fufeng; moved his capital east to Qinzhou (modern Tianshui) to prepare for the conquest of Guanzhong.
  • 618 CE (June, 1st Year of Wude) | Threatening Chang'an | Advanced into Jingzhou and Binzhou, taking Gaozhi; Tang Gaozu dispatched Prince of Qin Li Shimin with eight division generals to halt his advance.
  • 618 CE (July, 1st Year of Wude) | Crushing Victory at Qianshuiyuan | Exploited Tang commanders' insubordination and poor positioning, launching a devastating flank charge that destroyed the Tang field army.
  • 618 CE (August, 1st Year of Wude) | Sudden Death in Camp | Contracted an acute fatal illness while organizing a three-pronged assault on Chang'an; died at Gaozhi and was succeeded by his son Xue Rengao.

Life

Northwestern Wealth and the Jincheng Mutiny

Xue Ju belonged to the eminent Xue lineage of Fenyin in Hedong. His father, Xue Wang, had relocated the family to the northwestern trade hub of Lanzhou to escape blood feuds. In the borderlands, the Xue family engaged extensively in commerce and livestock breeding, accumulating immense personal wealth.

Xue Ju possessed an imposing physique, exceptional physical strength, and consummate skill in mounted archery. Generous, chivalric, and charismatic, he actively forged alliances with local wanderers, gentry elites, and Qiang and Di tribal chieftains, establishing widespread authority throughout the Longyou frontier. During the Daye era of Emperor Yang of Sui, Xue Ju entered civil-military service as a Garrison Commandant (Xiaowei) in the Jincheng commandery headquarters.

In the spring of the thirteenth year of Daye (617 CE), while Emperor Yang resided in Jiangdu and the central empire splintered into anarchy, Longxi was afflicted by severe drought and famine. Destitute peasants formed roving bandit bands, throwing the commanderies into turmoil. Hao Yuan, the magistrate of Jincheng, received authorization to recruit several thousand local militiamen to protect the city. Recognizing Xue Ju's influence among the populace, Hao appointed him to drill and command the levies.

In the fourth lunar month, after arms and armor had been distributed, Hao Yuan hosted a lavish banquet in Jincheng to reward the officers. Amid the festivities, Xue Ju, his ferocious eldest son Xue Rengao, and their armed followers suddenly drew their weapons, seized Hao Yuan, and falsely announced that the court had ordered the arrest of treasonous officials.

Xue Ju ordered the city gates barred, imprisoned corrupt local bureaucrats, seized the treasury, and threw open the public granaries to distribute grain to starving citizens. He raised the banner of righteous revolt, proclaiming himself Hegemon King of Western Qin, establishing the reign era Qinxing, and appointing Xue Rengao as Prince of Qi and supreme expeditionary marshal.

Sweeping Longxi and Imperial Proclamation in Lanzhou

Following his uprising, Xue Ju rallied thousands of displaced peasants, bandits, and tribal cavalry under the slogan of eradicating tyranny and relieving famine. He raided imperial horse-breeding pastures, capturing thousands of prime warhorses to form an elite cavalry strike force.

Sui general Huangfu Wan marched ten thousand veteran troops from Baohan (modern Linxia, Gansu) to crush the rebellion. Xue Ju personally selected two thousand elite horsemen and launched a rapid counter-offensive, intercepting Huangfu Wan at Chi'an. At the start of the battle, a sudden tempest arose with swirling dust blowing into the faces of Xue's men, prompting Huangfu Wan to hold his ranks. However, the gale abruptly shifted, blowing violent sand straight into the Sui formations as darkness enveloped the battlefield.

Encased in heavy iron lamellar armor and brandishing a long lance, Xue Ju charged into the disordered Sui lines with Xue Rengao following closely behind. The Sui formations shattered in panic, allowing Xue Ju to capture Baohan. Shortly thereafter, powerful Longdong tribal chieftain Zong Luohou surrendered with twenty thousand troops, earning the title Prince of Yixing.

Xue Ju then swept westward, conquering Shan, Kuo, and He provinces. Within ten days, all of Longxi submitted to his authority, and his armed forces expanded to one hundred and thirty thousand men.

In the seventh lunar month of the thirteenth year of Daye (617 CE), Xue Ju held a formal altar sacrifice in the southern suburbs of Lanzhou, ascending the throne as Emperor of Western Qin. He honored his ancestors, invested his wife Lady Ju as Empress, and named Xue Rengao Crown Prince, staging a grand military review of tens of thousands of troops to celebrate the inauguration of his dynasty.

Advancing to Qinzhou and Contesting Guanzhong

Having consolidated Longxi, Xue Ju recognized that Lanzhou was too remote from the political core of China. To contest the empire, he needed to shift his strategic center east toward the throat of the Guanzhong basin.

In late 617 CE, Xue Ju dispatched Xue Rengao to assault Fufeng to breach the western gates of the capital region, but his vanguard was repelled by resolute defenses under Sui loyalists Gu Yi and Li Hongjie.

In the twelfth lunar month, Li Yuan captured Chang'an and enthroned puppet emperor Yang You. Viewing Li Yuan as his paramount imperial rival, Xue Ju resolved to shift his political capital eastward.

In early 618 CE, Xue Ju transferred the capital of Western Qin from Lanzhou to Qinzhou (modern Tianshui, Gansu), repairing fortifications, manufacturing siege weapons, and allying with regional factions across southern Shaanxi to prepare for an all-out assault on the Tang dynasty.

The Decisive Victory at Qianshuiyuan

In the fifth lunar month of the first year of Wude (618 CE), Li Yuan deposed the Sui emperor to establish the Tang dynasty. In June, Xue Ju mobilized the entire strike army of Western Qin and surged eastward, capturing Jingzhou and Binzhou before occupying Gaozhi (modern north of Changwu, Shaanxi), placing his cavalry vanguard within striking distance of Chang'an.

Alarmed by the threat, Li Yuan appointed his second son, Prince of Qin Li Shimin, as Supreme Marshal of the Western Campaign, deploying eight division generals including Liu Wenjing, Yin Kaishan, and Liu Hongji with tens of thousands of infantry and cavalry to halt the invasion.

Upon arriving at Gaozhi, Li Shimin recognized that Xue Ju's nomadic cavalry possessed ferocious combat power but carried meager provisions. He formulated a strategic defensive policy: fortify positions, refuse battle, and exhaust enemy supplies before counterattacking.

However, during this critical juncture, Li Shimin contracted severe malaria and was confined to his sickbed. Entrusting camp operations to chief of staff Liu Wenjing and adjutant Yin Kaishan, Li Shimin issued explicit orders: "Xue Ju has marched deep into our territory with dwindling food supplies, desperate for a quick engagement. Despite our superior numbers, you must remain behind our ramparts and never offer battle until I recover!"

Arrogant and eager for martial glory, Yin Kaishan remarked to Liu Wenjing: "The Prince of Qin is incapacitated. If we hide behind our walls, border populations will despise us for cowardice. Let us display our might to demoralize the enemy!" Overriding imperial commands, they marched the bulk of the Tang army outside the fortress, forming a battle line with their backs against the river at Qianshuiyuan.

Scouting reports alerted Xue Ju to the Tang army's exposed, water-backed alignment. Delighted by their blunder, he ordered veteran general Zong Luohou to launch a feigned cavalry assault with light outriders, while Xue Ju personally concealed several divisions of heavy cavalry along the Tang army's flanks.

On the ninth day of the seventh lunar month, Zong Luohou feigned defeat and retreated, prompting Yin Kaishan to commit his entire army into reckless pursuit. Without warning, Xue Ju's main iron cavalry divisions charged out from the southwest, executing a thunderous flank and rear assault.

Caught in the open, the Tang battle lines disintegrated under the shock. Over half of the imperial army was wiped out, leaving corpses strewn across the plains. Division commanders Murong Luohou and Li Anyuan were killed, and senior general Liu Hongji was captured after fighting to exhaustion. Li Shimin was forced to gather surviving remnants and withdraw posthaste to Chang'an. This engagement marked the most devastating military defeat suffered by Li Shimin throughout his military career.

Imperial Ambitions and Sudden Demise

The triumph at Qianshuiyuan obliterated Tang frontier defenses in eastern Gansu. Xue Ju captured all Tang supply trains and armaments, took thousands of prisoners, and pushed his forward perimeter to within hundreds of li from Chang'an.

Gaozhi was garrisoned, and an atmosphere of acute dread descended upon the newly established Tang court. Exultant, Xue Ju addressed his assembled ministers: "In antiquity, Han Gaozu conquered the empire from a handful of counties in Guanzhong. Today, I possess all of Longxi and have shattered the elite legions of the Tang; taking Chang'an is as easy as turning my palm!"

Xue Ju drafted a comprehensive three-pronged invasion plan and dispatched envoys to negotiate a joint offensive with Ashina Shibi Khagan of the Eastern Turkic Khaganate, preparing to assault Chang'an simultaneously from the north and west.

Yet at this momentous turning point, in the eighth lunar month of 618 CE, Xue Ju was struck down by a sudden, virulent illness in his military camp. High fever induced prolonged unconsciousness, and camp physicians were helpless against the rapid affliction. Overcome by terror and despair, Xue Ju died abruptly in his imperial travelling palace at Gaozhi.

Following his death, Crown Prince Xue Rengao assumed the throne, granting his father the posthumous title Emperor Wu. However, Xue Rengao was notoriously brutal and sadistic, alienating senior officers and troops. Only three months later, a fully recovered Li Shimin returned to the battlefield, annihilated Xue Rengao at the Second Battle of Qianshuiyuan, and completely erased Western Qin from history.

Major Accomplishments

Establishing Western Qin as the Hegemon of the Northwest

In the chaotic dusk of the Sui dynasty, Xue Ju rose swiftly from a local garrison officer in Jincheng to establish the Western Qin empire commanding over one hundred thousand soldiers.

By integrating the immense wealth of the Hedong diaspora, the political support of regional Han elites, and the formidable combat prowess of nomadic horse archers, he subjugated Longxi in mere weeks, fundamentally reshaping the geopolitical dynamics of northwestern China during the Sui-Tang transition.

Masterminding the Decisive Victory at Qianshuiyuan

Xue Ju's battlefield generalship at the Battle of Qianshuiyuan in 618 CE stands as an extraordinary masterpiece of cavalry deception and flank encirclement.

Accurately exploiting his opponents' internal dissension and Li Shimin's sudden illness, Xue Ju executed a classic feigned retreat to lure the Tang divisions out from their fortified camp, then unleashed heavy shock cavalry against their exposed flanks. In a single stroke, he destroyed eight Tang divisions and inflicted upon Li Shimin his sole catastrophic military reverse, demonstrating world-class operational leadership of large cavalry armies.

A Tragic Turning Point in Dynastic History

Xue Ju's abrupt death in camp was one of the most consequential strokes of historical fortune during the rise of the Tang dynasty.

At a precarious moment when the nascent Tang regime stood defenseless and isolated in Guanzhong, Xue Ju's sudden mortality averted the immediate fall of Chang'an and exposed his volatile son to swift defeat, exemplifying the ancient adage that warlord regimes rise like tempests and vanish just as swiftly.

Personal Relationships

  • Father: Xue Wang, wealthy merchant-landowner of Fenyin who relocated the family to Jincheng.
  • Empress: Empress Ju, founding empress of Western Qin.
  • Eldest Son and Successor: Xue Rengao, Prince of Qi, Crown Prince, and second Emperor of Western Qin, executed by Tang after his defeat.
  • Second Son: Xue Renyue, Prince of Jin and Inspector of Hezhou in Western Qin.
  • Chief Strategist: Hao Yuan, former magistrate of Jincheng who became Xue Ju's chief civil minister and grand counselor.
  • Chief General: Zong Luohou, powerful Longdong warlord who surrendered to Xue Ju, created Prince of Yixing, and led the vanguard at Qianshuiyuan.
  • Supreme Adversary: Li Shimin, Prince of Qin and Tang supreme commander, defeated at Qianshuiyuan before conquering Western Qin.
  • Defeated Adversary: Liu Wenjing, Tang chief of staff who violated orders and suffered disaster at Qianshuiyuan.
  • Defeated Adversary: Yin Kaishan, Tang military adjutant whose arrogance precipitated the rout at Qianshuiyuan.
  • Captured Adversary: Liu Hongji, foundational Tang general captured by Xue Ju's troops.

Historical Evaluations

Wei Zheng recorded in the Book of Sui (Suishu): "Xue Ju was fierce, bold, and possessed formidable physical strength. Exploiting the desperation of famine, he rose in revolt amidst general disorder, sweeping across Longyou in ten days to challenge the capital region; he was truly a towering chieftain of his age."

Sima Guang observed in the Zizhi Tongjian: "Xue Ju was ferocious and skilled in warfare; his triumph at Qianshuiyuan shook the entire Guanzhong basin, causing Emperor Gaozu to miss his evening meal in distress. Had he not died so abruptly, the possession of Guanzhong would have remained uncertain. Yet his slaughter was unmeasured, and his son Rengao was even more cruel; even without sudden illness, his doom was inevitable."

Late Ming philosopher Wang Fuzhi commented in On the Comprehensive Mirror for Aid in Government (Du Tongjian Lun): "Xue Ju's defeat of the Prince of Qin at Gaozhi was not due to any deficiency in the Prince's intellect, but resulted from the arrogance and disobedience of Liu Wenjing and Yin Kaishan. Though Xue Ju triumphed, his sudden death followed instantly; the prosperity of the Tang destiny was decreed by Heaven."

Related Entries

  • Western Qin
  • Xue Rengao
  • Battle of Qianshuiyuan
  • Li Shimin
  • Zong Luohou
  • Hao Yuan
  • Liu Wenjing

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Old Book of Tang, Volume 55, Biographies 5, Biography of Xue Ju
  • New Book of Tang, Volume 86, Biographies 11, Biography of Xue Ju
  • Book of Sui, Volume 4, Imperial Annals 4, Emperor Yang (Part 2)
  • Zizhi Tongjian, Volume 183, Sui Annals 7
  • Zizhi Tongjian, Volume 184, Sui Annals 8
  • Zizhi Tongjian, Volume 185, Tang Annals 1
  • Zizhi Tongjian, Volume 186, Tang Annals 2