Xue Ju () (died 618), formally Emperor Wu (武皇帝, "Martial"), was the founding emperor of a short-lived state of Qin at the end of the
Chinese dynasty
Sui Dynasty, whose state was eventually destroyed by the
Tang Dynasty
The Tang dynasty (, ; zh, t= ), or Tang Empire, was an imperial dynasty of China that ruled from 618 to 907 AD, with an interregnum between 690 and 705. It was preceded by the Sui dynasty and followed by the Five Dynasties and Ten Kingdo ...
. He rose against Sui rule in 617 and soon controlled modern eastern
Gansu, but while he had some successes against Tang forces, was not able to push toward the Tang capital
Chang'an
Chang'an (; ) is the traditional name of Xi'an. The site had been settled since Neolithic times, during which the Yangshao culture was established in Banpo, in the city's suburbs. Furthermore, in the northern vicinity of modern Xi'an, Qin ...
before dying of illness in 618. His son
Xue Rengao inherited his throne, but was soon defeated and killed by the Tang general
Li Shimin, ending the state that Xue Ju established.
As hegemonic prince of Western Qin
Xue Ju's clan was originally from
Hedong Commandery
Hedong Commandery () was a historical region in the Qin and Han dynasties of ancient China.
Hedong was located to the east of the Yellow River in Shanxi (around present-day Yuncheng).
History
Hedong Commandery was established by the Qin state duri ...
(河東, roughly modern
Yuncheng
Yuncheng is the southernmost prefecture-level city in Shanxi province, People's Republic of China. It borders Linfen and Jincheng municipalities to the north and east, and Henan (Luoyang and Jiyuan to the east, Sanmenxia to the south) and Sh ...
,
Shanxi
Shanxi (; ; formerly romanised as Shansi) is a landlocked province of the People's Republic of China and is part of the North China region. The capital and largest city of the province is Taiyuan, while its next most populated prefecture-lev ...
), but his father Xue Wang () moved the family to Jincheng (金城, in modern
Lanzhou
Lanzhou (, ; ) is the capital and largest city of Gansu Province in Northwest China. Located on the banks of the Yellow River, it is a key regional transportation hub, connecting areas further west by rail to the eastern half of the country. H ...
,
Gansu). Xue Ju was said to be brave and strong, and because his family was wealthy, he was able to use the wealth to establish relationships with other people, making himself an influential member of the gentry, eventually becoming a commander of the local militia.
In 617, there were many agrarian rebellions in modern eastern Gansu. Hao Yuan (), the county magistrate of Jincheng, thus invited people to join the military, and he gathered several thousand men and gave them to Xue Ju to command. in summer 617, after Hao distributed armor and weapons to the soldiers and set out a feast to send them off, Xue Ju, his oldest son
Xue Rengao, and 13 other cohorts took Hao captive and announced that they were rebelling against
Sui Dynasty. Xue Ju arrested the local officials and opened the food storages to aid those who were poor. He claimed the title of "Hegemonic Prince of Western Qin" (), perhaps echoing
Xiang Yu
Xiang Yu (, –202 BC), born Xiang Ji (), was the Hegemon-King (Chinese: 霸王, ''Bà Wáng'') of Western Chu during the Chu–Han Contention period (206–202 BC) of China. A noble of the Chu state, Xiang Yu rebelled against the Qin dyna ...
's title of "Hegemonic Prince of Western Chu." To signify a break with Sui, he also changed the
era name from
Emperor Yang of Sui
Emperor Yang of Sui (隋煬帝, 569 – 11 April 618), personal name Yang Guang (), alternative name Ying (), Xianbei name Amo (), also known as Emperor Ming of Sui () during the brief reign of his grandson Yang Tong, was the second emperor o ...
's ''Daye'' () to ''Qinxing'' (). He created Xue Rengao the Duke of Qi and a younger son, Xue Renyue () the Duke of Jin.
[Later, when Xue Rengao was defeated, historical records implied, but did not explicitly state, that Xue Ju had other sons than Xue Rengao and Xue Renyue, but they were the only ones whose names were recorded in history.] He also gathered the local agrarian rebels to fall under his command in pillaging the Sui governmental grazing ranches. One of those rebel leaders, Zong Luohou () became a key general for Xue Ju, and Xue Ju created him the Duke of Yixing. Soon, much of the territory in modern eastern Gansu had surrendered to Xue Ju. He promoted Xue Rengao, Xue Renyue, and Zong to princes.
As emperor

In fall 617, Xue Ju claimed the title of Emperor of Qin. He created his wife
Lady Ju empress
An emperor (from la, imperator, via fro, empereor) is a monarch, and usually the sovereign ruler of an empire or another type of imperial realm. Empress, the female equivalent, may indicate an emperor's wife ( empress consort), mother ( em ...
, and he created Xue Rengao
crown prince
A crown prince or hereditary prince is the heir apparent to the throne in a royal or imperial monarchy. The female form of the title is crown princess, which may refer either to an heiress apparent or, especially in earlier times, to the wife ...
. Xue Rengao subsequently captured
Tianshui
Tianshui is the second-largest city in Gansu Province, China. The city is located in the southeast of the province, along the upper reaches of the Wei River and at the boundary of the Loess Plateau and the Qinling Mountains. As of the 2020 cen ...
, and Xue Ju moved his capital to Tianshui. As Xue Rengao was fierce but often overly cruel to those he captured, Xue Ju often warned him, "You are capable of great things, but you are strict and cruel, with no grace to others. One day you will surely destroy the state I established and our clan." According to traditional historical accounts, however, Xue Ju himself was also cruel, often killing soldiers he captured, and also often cut off their tongues and noses, and therefore did not gain as much following as he hoped. When he sent Xue Renyue south to try to capture lands in modern
Sichuan
Sichuan (; zh, c=, labels=no, ; zh, p=Sìchuān; alternatively romanized as Szechuan or Szechwan; formerly also referred to as "West China" or "Western China" by Protestant missions) is a province in Southwest China occupying most of th ...
, Xue Renyue was blocked by
Xiao Yu
Xiao Yu (575 – 19 July 648), courtesy name Shiwen, posthumously known as Duke Zhenbian of Song, was an imperial prince of the Western Liang dynasty who later became an official under the Sui and Tang dynasties. He served as a chancellor dur ...
the governor of Hechi Commandery (河池, in modern
Baoji
() is a prefecture-level city in western Shaanxi province, People's Republic of China. Since the early 1990s, Baoji has been the second largest city in Shaanxi.
Geography
The prefecture-level city of Baoji had a population of 3,321,853 accordin ...
,
Shaanxi
Shaanxi (alternatively Shensi, see § Name) is a landlocked province of China. Officially part of Northwest China, it borders the province-level divisions of Shanxi (NE, E), Henan (E), Hubei (SE), Chongqing (S), Sichuan (SW), Gansu (W), Ning ...
) and unable to advance. He also sent his general Chang Zhongxing () west of the
Yellow River
The Yellow River or Huang He (Chinese: , Mandarin: ''Huáng hé'' ) is the second-longest river in China, after the Yangtze River, and the sixth-longest river system in the world at the estimated length of . Originating in the Bayan ...
to attack
Li Gui, who had by then seized the territory west of the Yellow River. Chang, however, was defeated by Li Gui's general Li Yun (), and the entire army was captured by Li Gui, although Li Gui released them back to Xue Ju.
Around the new year 618, Xue Ju sent Xue Rengao to attack Fufeng Commandery (扶風, also in modern Baoji), but Xue Rengao was blocked by the rebel leaders Li Hongzhi (), who had claimed the title of Emperor of Chu, and Tang Bi (), who had claimed the title of Prince of Tang under Li. Xue Ju sent messengers to persuade Tang to submit, and Tang killed Li and then offered to surrender. Instead, Xue Rengao attacked Tang and seized his troops. Xue Ju then proceeded himself to Fufeng, intending to next attack the Sui capital
Chang'an
Chang'an (; ) is the traditional name of Xi'an. The site had been settled since Neolithic times, during which the Yangshao culture was established in Banpo, in the city's suburbs. Furthermore, in the northern vicinity of modern Xi'an, Qin ...
, which had been captured by the Sui general
Li Yuan
Emperor Gaozu of Tang (7 April 566 – 25 June 635, born Li Yuan, courtesy name Shude) was the founding emperor of the Tang dynasty of China, reigning from 618 to 626. Under the Sui dynasty, Li Yuan was the governor in the area of modern-day ...
, who declared Emperor Yang's grandson
Yang You
Emperor Gong of Sui (隋恭帝) (605 – 14 September 619), personal name Yang You (楊侑), was an emperor of the Chinese Sui dynasty. He was installed as a puppet emperor by Li Yuan, and after Emperor Yang of Sui died, Li then became the f ...
the Prince of Dai emperor (as Emperor Gong). Li Yuan sent his son
Li Shimin against Xue Rengao, and Li Shimin dealt Xue Rengao a major defeat. Xue Ju, in fear, asked his officials, "Since ancient times, were there emperors who surrendered?" Chu Liang () cited the examples of
Zhao Tuo
Zhao Tuo () or Triệu Đà (Chữ Hán: 趙佗); was a Qin dynasty Chinese general and first emperor of Nanyue. He participated in the conquest of the Baiyue peoples of Guangdong, Guangxi and Northern Vietnam. After the fall of the Qin, he ...
,
Liu Shan
Liu Shan () (207–271), courtesy name Gongsi, was the second and last emperor of the state of Shu Han during the Three Kingdoms period. As he ascended the throne at the age of 16, Liu Shan was entrusted to the care of the Chancellor Zhuge Li ...
, and
Xiao Cong. However, Hao Yuan, by this point serving under Xue Ju, immediately stated:
:''You, Emperor, should not ask something like this, and Chu Liang's response was absurd and rebellious.
Gaozu of Han was often defeated, and the
first emperor of Shu could not even protect his wife and children. Winning and losing battles happened throughout history. How can you be ready to give up your state just based on one defeat?"
Xue Ju saw the fallacy in asking the question, and he greatly rewarded Hao and made Hao his chief strategist. Subsequently, when Li Yuan sent his generals Jiang Mo (), Dou Gui (), and Liu Shirang () against Xue Ju, Xue Ju defeated them and captured Liu, and Jiang and Dou withdrew. Subsequently, under Hao's suggestion, Xue sought to enter a three-way alliance with Eastern
Tujue's forces and those of another rebel leader,
Liang Shidu
Liang Shidu (梁師都) (died June 3, 628) was an agrarian leader who rebelled against the rule of the Chinese dynasty Sui Dynasty near the end of the reign of Emperor Yang of Sui. He, claiming the title of Emperor of Liang with the aid from Ea ...
the Emperor of Liang, to try to capture Chang'an. However, Li Yuan's general Zhang Changsun () then warned the Tujue general
Ashina Duobi that he was aware of their three-way pact, and Ashina Duobi chose to renege and not assist either Xue Ju or Liang. (Soon, after hearing that Emperor Yang had been killed in a coup led by
Yuwen Huaji
Yuwen Huaji (; died March 22, 619) was a Chinese military general, monarch, and politician of the Sui Dynasty who, in 618, led a coup against and murdered Emperor Yang of Sui
Emperor Yang of Sui (隋煬帝, 569 – 11 April 618), personal ...
in Jiangdu (江都, in modern
Yangzhou
Yangzhou, postal romanization Yangchow, is a prefecture-level city in central Jiangsu Province (Suzhong), East China. Sitting on the north bank of the Yangtze, it borders the provincial capital Nanjing to the southwest, Huai'an to the north, Ya ...
,
Jiangsu
Jiangsu (; ; pinyin: Jiāngsū, alternatively romanized as Kiangsu or Chiangsu) is an eastern coastal province of the People's Republic of China. It is one of the leading provinces in finance, education, technology, and tourism, with its c ...
), Li Yuan had Yang You yield the throne to him, establishing
Tang Dynasty
The Tang dynasty (, ; zh, t= ), or Tang Empire, was an imperial dynasty of China that ruled from 618 to 907 AD, with an interregnum between 690 and 705. It was preceded by the Sui dynasty and followed by the Five Dynasties and Ten Kingdo ...
as its Emperor Gaozu.)
In summer 618, Xue Ju launched an attack on Tang's Jing Prefecture (涇州, roughly modern
Pingliang
Pingliang () is a prefecture-level city in eastern Gansu province, China, bordering Shaanxi province to the south and east and the Ningxia Hui Autonomous Region to the north. The city was established in 376 AD. It has a residential population of 2 ...
,
Gansu), and Tang's Emperor Gaozu sent Li Shimin to resist Xue Ju. Li Shimin established his defenses and refused to engage Xue Ju to try to wear Xue Ju out, but at that time, he was afflicted with malaria, and he let his associates
Liu Wenjing and Yin Kaishan () take command, ordering them not to engage Xue Ju. Liu and Yin, however, did not take Xue Ju seriously, and Xue Ju ambushed them at Qianshui Plain (淺水原, in modern
Xianyang
Xianyang () is a prefecture-level city in central Shaanxi province, situated on the Wei River a few kilometers upstream (west) from the provincial capital of Xi'an. Once the capital of the Qin dynasty, it is now integrated into the Xi'an metr ...
,
Shaanxi
Shaanxi (alternatively Shensi, see § Name) is a landlocked province of China. Officially part of Northwest China, it borders the province-level divisions of Shanxi (NE, E), Henan (E), Hubei (SE), Chongqing (S), Sichuan (SW), Gansu (W), Ning ...
), crushing Tang forces and inflicting 50%-60% casualties. Li Shimin was forced to withdraw back to Chang'an, and Liu and Yin were removed from their posts. Hao then suggested to Xue Ju that he should attack Chang'an at once, and Xue Ju agreed, but he then grew ill and died. Xue Rengao succeeded him as emperor, and honored him with the posthumous name of Wu (武, "martial"), but was defeated by and forced to surrender to Li Shimin three months later, even before he could properly bury Xue Ju.
Notes
Personal information
* Father
** Xue Wang ()
* Wife
**
Empress Ju (created 617)
* Children
**
Xue Rengao (), initially the Duke of Qi (created 617), later the Prince of Qi (created 617), later the Crown Prince (created 617), later emperor
** Xue Renyue (), initially the Duke of Jin (created 617), later the Prince of Jin (created 617)
, -
{{DEFAULTSORT:Xue, Ju
Generals from Gansu
Sui dynasty people
Tang dynasty people
618 deaths
7th-century Chinese monarchs
People from Lanzhou
Year of birth unknown
Transition from Sui to Tang