Born in Lihu County, Caozhou, and moved with his father Xu Gai to Weinan County, Huazhou, where father and son generously relieved the poor.

594 CE–669 CE
Xu Shiji (徐世勣)
徐世勣
Xu Shiji (徐世勣), courtesy name Maogong (懋功), a native of Lihu County in Caozhou who relocated to Weinan County in Huazhou at the end of the Sui dynasty, was one of the foremost military strategists and chancellors of the early Tang dynasty. Joining Zhai Rang's Wagang rebel army in his youth, he helped elevate Li Mi to leadership and led a surprise attack across the Yellow River to seize the imperial Liyang Granary, recruiting…
PROFILE
Xu Shiji (徐世勣), courtesy name Maogong (懋功), a native of Lihu County in Caozhou who relocated to Weinan County in Huazhou at the end of the Sui dynasty, was one of the foremost military strategists and chancellors of the early Tang dynasty. Joining Zhai Rang's Wagang rebel army in his youth, he helped elevate Li Mi to leadership and led a surprise attack across the Yellow River to seize the imperial Liyang Granary, recruiting over 200,000 troops in ten days and receiving the title Duke of Donghai Commandery. In 619, after Li Mi was defeated and submitted to the Tang, Xu Shiji compiled the registers of his ten commanderies and presented them through Li Mi rather than claiming credit for himself. Praising him as a "pure minister," Emperor Gaozu of Tang enfeoffed him as Duke of Cao and bestowed the imperial surname Li upon him, making him Li Shiji (later shortened to Li Ji to avoid the given name of Emperor Taizong, Li Shimin). Campaigning alongside Li Shimin, he helped defeat Song Jingang, Wang Shichong, Dou Jiande, Liu Heita, Xu Yuanlang, and Fu Gongshi. Under Emperor Taizong, he guarded Bingzhou for sixteen years, coordinated with Li Jing to destroy the Eastern Turkic Khaganate, twice crushed the Xueyantuo at the Nuozhen River and the Utiuken Mountains, was enfeoffed as Duke of Ying, ranked among the Twenty-Four Meritorious Officials of Lingyan Pavilion, and was entrusted on Taizong's deathbed with guiding Crown Prince Li Zhi (Emperor Gaozong). Under Emperor Gaozong, Li Ji served as Left Vice Director of the Imperial Secretariat, Minister of Works, and Grand Preceptor to the Crown Prince, facilitated Empress Wu Zetian's elevation by declaring it "Your Majesty's family affair," and in his seventies commanded the expedition that captured Pyongyang and destroyed Goguryeo in 668. He died in 669 at age seventy-six and was buried near Zhaoling with a tomb mound shaped after the Yin, Tie, and Utiuken mountains.
- Courtesy Name
- Maogong (懋功)
- Dynasty / Era
- Late Sui to Early Tang, Tang Dynasty
- Native Place
- Lihu County, Caozhou (southeast of modern Dongming County, Heze, Shandong); later moved to Weinan County, Huazhou (east of modern Hua County, Henan)
- Life Dates
- 594 (14th year of Kaihuang of Sui) – December 31, 669 (Wushen day of the 12th month, 2nd year of Zongzhang of Tang)
- Posthumous Title
- Duke Zhenwu (Duke Zhenwu of Ying)
- Major Offices
- General-in-Chief of the Right Guard, Area Commander of Lizhou, General-in-Chief of the Left Gate Guard, Commander-in-Chief of Bingzhou, Minister of War, Household Counselor to the Crown Prince, Jointly Manager of Affairs with the Secretariat and Chancellery, Grand Commander-in-Chief of the Liaodong Expeditionary Army, Left Vice Director of the Imperial Secretariat, Minister of Works, Grand Preceptor to the Crown Prince
- Noble Title
- Duke of Donghai Commandery, Duke of Lai, Duke of Cao, Duke of Ying (posthumously promoted to Grand Commandant and Grand Commander-in-Chief of Yangzhou)
- Historical Role
- Founding military commander and chancellor of the Tang dynasty, one of the Twenty-Four Meritorious Officials of Lingyan Pavilion
LIFE TIMELINE
Joined Zhai Rang's Wagang insurgents, advised intercepting boats along the Bian Canal, and helped slay the Sui general Zhang Xutuo in battle.
Appointed General-in-Chief of the Right Guard by Li Mi; crossed the Yellow River with 5,000 men to capture Liyang Granary, recruiting over 200,000 soldiers within ten days.
Submitted the registers of Li Mi's former territory to the Tang court in Li Mi's name; praised by Emperor Gaozu as a "pure minister," enfeoffed as Duke of Cao, and granted the surname Li (Li Shiji).
Seized Hulao Pass by night and helped Li Shimin defeat Dou Jiande and Wang Shichong; rode in golden armor behind Li Shimin to report victory at the Imperial Ancestral Temple.
Crossed the Huai River with 10,000 infantry alongside Li Xiaogong and Li Jing to crush Fu Gongshi's rebellion, pursuing and executing Fu Gongshi at Wukang.
Defeated Illig Qaghan at Baidao as Commander-in-Chief of the Tongmo Expeditionary Army and blocked the desert pass at Qikou in coordination with Li Jing, accepting the surrender of over 50,000 Turks.
Appointed Minister of War; ordered his cavalry to dismount and charge with long lances at the Nuozhen River, routing the Xueyantuo prince Dadu Shad.
Participated in the trial of deposed Crown Prince Li Chengqian and the installation of Crown Prince Li Zhi; appointed Household Counselor to the Crown Prince and Jointly Manager of Affairs with the Secretariat and Chancellery, and honored in Lingyan Pavilion.
Commanded the Liaodong Expeditionary Army under Emperor Taizong, capturing Gaimou, Liaodong, and Baiyan cities and fighting at Mount Zhubi and Ansi City.
Marched to the Utiuken Mountains to defeat and accept the surrender of the Xueyantuo ruler Duomozhi, bringing the Xueyantuo Khaganate to an end.
Deliberately demoted by the dying Emperor Taizong to Commander-in-Chief of Diezhou as a test of loyalty; immediately recalled by Emperor Gaozong and appointed Left Vice Director of the Imperial Secretariat.
Promoted to Minister of Works in 653; in 655 told Emperor Gaozong that replacing Empress Wang with Consort Wu was "Your Majesty's family affair," decisive in Wu Zetian's installation.
Appointed Grand Commander-in-Chief of the Liaodong Expeditionary Army in 666; captured Xincheng, Fuyu, and Daxing, and stormed Pyongyang in the ninth month of 668, capturing King Bojang and Yeon Nam-geon.
Named Grand Preceptor to the Crown Prince; died on December 31, 669 at age seventy-six, posthumously titled Duke Zhenwu, and buried at Zhaoling.
Relationship graph
BIOGRAPHY
Biography
Wealthy Youth in Weinan and Rise in the Wagang Army
Xu Shiji belonged to the northern branch of the Gaoping Xu clan. Born in Lihu County, Caozhou (southeast of modern Dongming County, Shandong), he moved with his family to Weinan County, Huazhou (east of modern Hua County, Henan) toward the end of the Sui dynasty. His family possessed scores of servants and thousands of measures of stored grain, and both Xu Shiji and his father Xu Gai were famed for their generosity in relieving the poor without regard to kinship.
In the twelfth year of Daye (616), as rebellions swept the Sui Empire, the young Xu Shiji joined Zhai Rang's Wagang insurgent army. He advised Zhai Rang not to plunder their own home commandery of Dongjun, where everyone knew one another, but instead to raid official and merchant vessels traveling along the Bian Canal through Xingyang and Liang commanderies. Following his plan, the Wagang forces amassed abundant supplies and grew to over 10,000 men. When the Sui court sent the renowned general Zhang Xutuo with 20,000 troops to crush them and Zhai Rang wanted to flee, Xu Shiji and Li Mi persuaded him to stand and fight, ambushing and slaying Zhang Xutuo in the woods north of Dahai Monastery.
Recognizing Li Mi's strategic talent and aristocratic prestige, Xu Shiji and Wang Bodang persuaded Zhai Rang to elevate Li Mi as leader of the Wagang coalition. In 617, Li Mi assumed the title Duke of Wei and appointed Xu Shiji General-in-Chief of the Right Guard; after Xu Shiji repeatedly defeated the Sui commander Wang Shichong along the Luo River, Li Mi enfeoffed him as Duke of Donghai Commandery.
Capture of Liyang Granary and Allegiance to the Tang
In 617, severe floods devastated Henan and Shandong, leaving tens of thousands of famine victims dying daily while corrupt Sui officials withheld relief from the Liyang Imperial Granary. Xu Shiji told Li Mi: "The empire has fallen into chaos fundamentally because of famine. If we seize the Liyang Granary today, our grand enterprise is assured!" Dispatched by Li Mi with 5,000 men across the Yellow River from Yuanwu, Xu Shiji stormed and captured Liyang Granary in a single day, throwing open its gates for the starving populace and recruiting more than 200,000 prime soldiers within ten days. Future Tang statesmen including Wei Zheng, Gao Jifu, Du Zhenglun, and Guo Xiaoke all visited Liyang, where Xu Shiji immediately recognized their talents and treated them as honored guests in his private quarters.
Later that year, when Li Mi assassinated Zhai Rang at a banquet, a guard slashed Xu Shiji's neck as he fled the tent, though Wang Bodang shouted to stop the soldiers and Li Mi personally dressed Xu Shiji's wound and placed him in command of part of Zhai Rang's troops. In 618, after Yuwen Huaji assassinated Emperor Yang of Sui and besieged Liyang Granary with 100,000 troops, Xu Shiji dug deep trenches around the walls and tunneled out to launch a surprise counterattack in coordination with Li Mi's cavalry, burning Yuwen Huaji's siege engines and routing his army.
In the tenth month of 618, defeated by Wang Shichong, Li Mi fled west to submit to the Tang dynasty. Xu Shiji remained in control of all of Li Mi's former territories—ten commanderies stretching from the eastern sea to the Yangtze River and from Ruzhou to Weijun. In the second year of Wude (619), Xu Shiji told his chief clerk Guo Xiaoke: "All this land and its people belong to the Duke of Wei (Li Mi). If I submit a memorial offering them directly to the Tang court, I would be profiting from my master's defeat to claim credit for myself—something I would be ashamed to do!" He therefore compiled detailed registers of the prefectures, counties, soldiers, and households and sent them to Li Mi so that Li Mi could present them to the throne himself.
When Emperor Gaozu of Tang (Li Yuan) learned why Xu Shiji had sent no personal memorial, he rejoiced and declared: "Xu Shiji remembers kindness and yields merit to his former lord—he is truly a pure minister!" Emperor Gaozu appointed him Area Commander of Lizhou, Upper Pillar of State, and Duke of Lai (soon changed to Duke of Cao), bestowed upon him the imperial surname Li so that he became Li Shiji, entered his name into the imperial clan register, and granted him fifty qing of fine farmland and a first-rank mansion in Chang'an. When Li Mi later rebelled against the Tang and was killed, Li Shiji requested permission to bury his former lord, wearing full mourning robes to inter Li Mi south of Mount Li, an act of fidelity admired throughout the empire.
Unification Campaigns Across the Central Plains and Jiangnan
In the eleventh month of 619, the Hebei ruler Dou Jiande captured Liyang and took Li Shiji's father Li Gai prisoner. Although Li Shiji had broken out across the river, he returned a few days later and surrendered to Dou Jiande for his father's sake. Plotting with Guo Xiaoke to win Dou Jiande's trust before rescuing his father and returning to Tang, Li Shiji raided Wang Shichong's town of Huojia and urged Dou Jiande to campaign in Henan; in the first month of 620, when his sworn brother Li Shanghu prematurely attacked Dou Jiande's brother-in-law Cao Dan and exposed the plot, Li Shiji and Guo Xiaoke escaped to Chang'an with several dozen horsemen.
From the fourth month of 620, Li Shiji fought alongside Prince of Qin Li Shimin. After helping defeat Song Jingang at Queshugu and Jiexiu, he marched against Wang Shichong at Luoyang, holding Guanzhou and winning over neighboring prefectures. In the second month of 621, he led troops by night to seize Hulao Pass with the aid of insider Shen Yue, capturing Wang Xingben and Dai Zhou, and subsequently took part in the capture of Dou Jiande and the surrender of Wang Shichong. During the siege of Luoyang, when his former Wagang sworn brother Shan Xiongxin charged Prince of Qi Li Yuanji spear in hand, Li Shiji shouted, "Elder Brother, that is my lord!" prompting Shan Xiongxin to rein in his horse; when Shan Xiongxin was later executed after Luoyang's fall, Li Shiji wept, pleaded in vain to trade his own titles for Shan's life, cut a piece of flesh from his own thigh for Shan Xiongxin to eat in fulfillment of their oath to share life and death, and raised Shan's orphaned son. At the triumphal ceremony in Chang'an in the seventh month of 621, Emperor Gaozu designated Li Shimin as Upper General and Li Shiji as Lower General; both wore golden armor and rode war chariots to report victory at the Imperial Ancestral Temple, while Li Gai returned safely from Mingzhou.
After suffering a setback near Mingzhou against Liu Heita at the end of 621, Li Shiji helped Li Shimin rout Liu Heita at the Battle of the Ming River in the third month of 622, slaying Liu's general Gao Yaxian, and in 623 captured and executed the rebel Xu Yuanlang to pacify Yanzhou. In the third month of 624, campaigning alongside Li Xiaogong and Li Jing against Fu Gongshi in Jiangnan, Li Shiji led 10,000 infantry across the Huai River, captured Shouyang, stormed the river forts at Liangshan, and pursued Fu Gongshi all the way to Wukang, where Fu was captured and executed. In 625, he repulsed an Eastern Turkic incursion at Taigu in Bingzhou.
Sixteen Years in Bingzhou and Destruction of the Turks and Xueyantuo
Upon ascending the throne in 626, Emperor Taizong (Li Shimin) appointed Li Shiji Commander-in-Chief of Bingzhou with a hereditary stipend of 900 households. In the eleventh month of the third year of Zhenguan (629), during the grand offensive against the Eastern Turkic Khaganate, Li Shiji was named Commander-in-Chief of the Tongmo Expeditionary Army. In the first month of 630, while Li Jing staged a night raid on Dingxiang, Li Shiji advanced from Yunzhong and routed Illig Qaghan's main force at Baidao. When Illig Qaghan retreated to Mount Tie and feigned submission while the Tang envoy Tang Jian visited his camp, Li Shiji met with Li Jing and proposed: "Although Illig has been defeated, his followers are still numerous; if they flee across the Gobi Desert to the Nine-Surname Tiele, we will never catch them. Now that the imperial envoy Tang Jian is in their camp, they will surely relax their guard—if we follow close behind and strike, we can pacify the enemy without a pitched battle!" Li Jing enthusiastically agreed and led a night assault while Li Shiji occupied the desert pass at Qikou to block the Turks' escape route. Prevented from crossing the desert by Li Shiji's army, the Turkic chieftains surrendered with more than 50,000 people, ending the Eastern Turkic Khaganate.
Enfeoffed as Duke of Ying in 637, Li Shiji governed Bingzhou for sixteen years with such strict discipline and deterrence that Emperor Taizong remarked to his ministers: "Emperor Yang of Sui knew only how to exhaust the people building the Great Wall against the Turks. Now I simply place Li Shiji at Bingzhou, and the Turks flee in awe while the frontier remains tranquil—is this not far superior to building a Great Wall?"
In the eleventh month of the fifteenth year of Zhenguan (641), Li Shiji was recalled as Minister of War. Just then, the Xueyantuo ruler Zhenzhu Qaghan sent his son Dadu Shad south with 200,000 troops against the resettled Turks at Shuozhou. Appointed Commander-in-Chief of the Shuozhou Expeditionary Army, Li Shiji led 6,000 elite cavalry across the Baidao River and caught up with Dadu Shad at the Nuozhen River in the twelfth month of 641. When massed Xueyantuo archery killed many Tang horses, Li Shiji ordered his cavalrymen to dismount and charge straight into the enemy ranks on foot wielding long lances, while deputy commander Xue Wanche seized the enemy's horse-holders. Routed, the Xueyantuo lost over 3,000 dead, 50,000 captives, and 15,000 horses.
Guardianship of the Crown Prince and Campaigns Against Goguryeo
In the seventeenth year of Zhenguan (643), after investigating the treason plot of deposed Crown Prince Li Chengqian and supporting the elevation of Prince of Jin Li Zhi as the new Crown Prince, Li Shiji was appointed Household Counselor to the Crown Prince, Specially Advanced, and Jointly Manager of Affairs with the Secretariat and Chancellery (making him a de facto chancellor), and his portrait was painted among the Twenty-Four Meritorious Officials in Lingyan Pavilion. When Li Shiji fell suddenly ill and a prescription called for beard ash, Emperor Taizong cut off part of his own beard to mix the medicine; at a palace banquet, Taizong told him: "Among all my ministers, there is no one better suited than you to whom I can entrust my young son. In the past you did not betray Li Mi—how could you ever betray me?" Weeping, Li Shiji bit his finger until it bled to swear his loyalty.
In 644–645, serving as Grand Commander-in-Chief of the Liaodong Expeditionary Army during Emperor Taizong's campaign against Goguryeo, Li Shiji feinted toward Huaiyuan Town while secretly crossing the Liao River to Xuantu, capturing Gaimou, Liaodong, and Baiyan cities and commanding the western flank at the Battle of Mount Zhubi to rout 150,000 Goguryeo troops. In 646, he marched north to the Utiuken Mountains to defeat and accept the surrender of the Xueyantuo qaghan Duomozhi, pacifying the northern steppe.
Regency Service and Final Conquest of Goguryeo
On his deathbed in the fifth month of the twenty-third year of Zhenguan (649), Emperor Taizong told Crown Prince Li Zhi: "You have had no occasion to confer personal grace upon Li Shiji. I will now demote him to Commander-in-Chief of Diezhou. If he sets out immediately upon receiving the order, appoint him Vice Director of the Imperial Secretariat after my death and he will serve you to the death; if he hesitates, execute him at once!" Upon receiving the edict, Li Shiji departed for Diezhou without even stopping at his home. As soon as Emperor Gaozong (Li Zhi) ascended the throne, he recalled Li Shiji as Commander-in-Chief of Luozhou, Commander Unequaled in Honor, and Left Vice Director of the Imperial Secretariat. During the Yonghui era, observing the naming taboo of Emperor Taizong, he shortened his name to Li Ji, resigned the post of Left Vice Director while retaining his seat as chancellor, and was promoted to Minister of Works in 653.
In the sixth year of Yonghui (655), when Emperor Gaozong wished to depose Empress Wang and elevate Consort Wu Zetian against the fierce opposition of senior regents Zhangsun Wuji and Chu Suiliang, the emperor privately asked Li Ji whether he should abandon the plan. Li Ji replied: "This is Your Majesty's family affair—why need you ask outsiders?" His answer resolved Emperor Gaozong's hesitation and secured Wu Zetian's elevation as Empress. During the Xianqing era, Li Ji also headed the imperial commission that compiled the Newly Revised Materia Medica (Xinxiu Bencao), the world's first state-promulgated pharmacopoeia.
In the twelfth month of the first year of Qianfeng (666), following internal strife among the sons of Goguryeo regent Yeon Gaesomun, Emperor Gaozong appointed the septuagenarian Li Ji as Grand Commander-in-Chief of the Liaodong Expeditionary Army. Crossing the Liao River in 667, Li Ji seized the vital western fortress of Xincheng and sixteen other towns. In 668, working with Xue Rengui, Qibi Heli, Liu Rengui, and Hao Chujun, he captured Fuyu City, routed 50,000 Goguryeo troops at the Xuehe River, breached the Yalu palisade, and besieged the capital Pyongyang. In the ninth month of the first year of Zongzhang (668), Li Ji's forces stormed Pyongyang, capturing King Bojang and Yeon Nam-geon and bringing the 700-year-old kingdom of Goguryeo to an end.
Final Testament and Posthumous Vicissitudes
Promoted to Grand Preceptor to the Crown Prince in the second year of Zongzhang (669), Li Ji fell gravely ill and refused outside physicians and shamans, accepting only medicine sent by Emperor Gaozong and the Crown Prince. The day before his death, he summoned his younger brother Li Bi to a farewell banquet, instructing him to govern his descendants strictly—beating to death any who behaved lawlessly—and ordering a frugal burial with only ordinary clothes, one court robe, ten wooden figurines, and five or six clay horses. He died on December 31, 669, at the age of seventy-six.
Emperor Gaozong suspended court for seven days, posthumously named him Grand Commandant and Duke Zhenwu, and buried him as an attendant at Zhaoling under a triple mound modeled after the Yin, Tie, and Utiuken mountains to commemorate his victories over the Turks and Xueyantuo. Consistently sharing all military rewards with his officers and crediting victories to his subordinates, Li Ji was deeply mourned by the army. In 684, when his grandson Xu Jingye raised a rebellion against Wu Zetian at Yangzhou, Wu Zetian stripped Li Ji of his posthumous titles, destroyed his coffin, and reverted his surname to Xu, until Emperor Zhongzong restored his titles, surname, and tomb in 705.
Relationships
- Father: Xu Gai (Li Gai), courtesy name Guangji; enfeoffed as Duke of Shu under the Tang with the posthumous title "Jie."
- Younger Brother: Xu Bi (Li Bi), Director of the Court of the Imperial Regalia; entrusted by Li Ji on his deathbed with governing the household.
- Former Lord: Li Mi, leader of the Wagang Army and Duke of Wei; Li Ji presented his ten commanderies through Li Mi upon submitting to the Tang and buried Li Mi with full mourning rites after Li Mi's death.
- Sworn Brother: Shan Xiongxin, Wagang general who later served Wang Shichong; when Shan was executed in 621, Li Ji cut flesh from his own thigh for Shan to eat in fulfillment of their oath and raised Shan's son.
- Liege: Li Shimin, Emperor Taizong of Tang; Li Ji campaigned under him across the empire, received medicine mixed with Taizong's own beard ash, and was entrusted with guiding his successor.
- Liege: Li Zhi, Emperor Gaozong of Tang; recalled Li Ji as chancellor and Minister of Works and relied on his support in elevating Empress Wu Zetian.
- Colleague: Li Jing, courtesy name Yaoshi, Duke of Wei; paired with Li Ji as the two greatest Tang generals ("Ying and Wei") in destroying Fu Gongshi and the Eastern Turks.
- Grandson: Xu Jingye (Li Jingye), son of Li Ji's eldest son Li Zhen; inherited the title Duke of Ying and led the 684 Yangzhou uprising against Wu Zetian.
Historical Evaluations
- Emperor Taizong of Tang praised his frontier command: "Emperor Yang of Sui could not select worthy men to pacify the frontier and knew only how to build the Great Wall against the Turks... Now I appoint Li Shiji at Bingzhou, causing the Turks to flee in awe and keeping the frontier quiet—is this not far better than building a Great Wall?" He also remarked: "How could even the ancient generals Han Xin, Bai Qi, Wei Qing, and Huo Qubing surpass Li Jing and Li Ji?"
- Liu Xu et al., in Old Book of Tang ("Biography of Li Ji"), wrote: "Among those acclaimed as famous generals in recent eras, the Dukes of Ying and Wei truly stand foremost in Lingyan Pavilion. Rising from the grassroots, the Duke of Ying consistently guarded himself with righteousness and offended no one, thus preserving his merit and fame from beginning to end."
- Ouyang Xiu and Song Qi, in New Book of Tang ("Biography of Li Ji"), praised his military achievements and loyalty to Li Mi at Liyang, while criticizing his remark that the replacement of the empress in 655 was "Your Majesty's family affair" as a self-serving concession that enabled Wu Zetian's rise and ultimately led to the ruin of his own clan under Xu Jingye.
Related Entries
- Li Mi
- Shan Xiongxin
- Li Shimin
- Li Jing
- Tang Campaign Against the Eastern Turks
- Tang Campaign Against the Xueyantuo
- Tang–Goguryeo War
- Xu Jingye
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Liu Xu et al., Old Book of Tang (Jiu Tangshu), Scroll 67, "Biography of Li Ji," Zhonghua Book Company punctuated edition.
- Ouyang Xiu and Song Qi, New Book of Tang (Xin Tangshu), Scroll 93, "Biography of Li Ji," Zhonghua Book Company punctuated edition.
- Sima Guang, Comprehensive Mirror in Aid of Governance (Zizhi Tongjian), "Annals of Tang," Zhonghua Book Company punctuated edition.
- Wu Jing, Essentials of Governance of the Zhenguan Era (Zhenguan Zhengyao), Zhonghua Book Company punctuated edition.