Born in Luoyang into the illustrious Zhangsun lineage; established a profound bond of friendship with Li Shimin in early youth.

594 CE–659 CE
Zhangsun Wuji (长孙无忌)
长孙无忌
Zhangsun Wuji (594–659 AD), courtesy name Fuji, was a native of Luoyang, Henan (present-day Luoyang, Henan Province). He was an illustrious founding statesman, supreme Chancellor, and leading regent of the early Tang Dynasty. As the elder brother of Empress Wende, he ranked first among the Twenty-Four Meritorious Officials of Lingyan Pavilion, ascending to Minister over the Masses, Grand Commandant, and Duke of Zhao, later…
PROFILE
Zhangsun Wuji (594–659 AD), courtesy name Fuji, was a native of Luoyang, Henan (present-day Luoyang, Henan Province). He was an illustrious founding statesman, supreme Chancellor, and leading regent of the early Tang Dynasty. As the elder brother of Empress Wende, he ranked first among the Twenty-Four Meritorious Officials of Lingyan Pavilion, ascending to Minister over the Masses, Grand Commandant, and Duke of Zhao, later receiving the posthumous title "Zhao". Hailing from the noble Xianbei aristocratic house of Zhangsun, he was noted for calm diligence and classical erudition. He established an intimate friendship with Li Shimin in early youth, which was further cemented when his sister married Li Shimin. When Li Yuan rose in rebellion at Taiyuan in 617 AD, Zhangsun met Li Shimin at Changchun Palace and was commissioned as Campaign Sign-off Clerk. Throughout campaigns crushing rival warlords, he served as Li Shimin's most trusted confidant. During the succession crisis of 626 AD, he passionately urged preemptive action, co-planning the Xuanwu Gate Incident and personally leading vanguard warriors to eliminate rival princes Li Jiancheng and Li Yuanji, securing the imperial throne for Taizong. Under Emperor Taizong, he served as Minister of Personnel and Right Vice Director before being elevated to Minister over the Masses and Duke of Zhao, honored as the foremost contributor in the Lingyan Pavilion in 643 AD. Entrusted as chief regent by the dying Taizong in 649 AD, he steered the accession of Emperor Gaozong and presided over the compilation and promulgation of the Tang Code with Commentary in 653 AD, the crowning legal monument of imperial China. In his later years, his unyielding resistance against deposing Empress Wang in favor of Wu Zetian incurred the future empress's wrath. In 659 AD, framed on false charges of treason by Xu Jingzong, he was stripped of rank and exiled to Qianzhou, where he was coerced into hanging himself at age sixty-six. Posthumously rehabilitated by later emperors, Zhangsun Wuji remains celebrated as the premier founding pillar of the Tang realm.
- Courtesy Name
- Fuji
- Posthumous Name
- Zhao (conferred during the reign of Emperor Dezong)
- Peerage
- Duke of Qi, Duke of Zhao
- Dynasty
- Tang Dynasty
- Period
- Late Sui to Early Tang (Reigns of Emperors Gaozu, Taizong, and Gaozong)
- Native Place
- Luoyang, Henan (present-day Luoyang City, Henan Province)
- Date of Birth
- 594 AD (Fourteenth year of the Kaihuang era, Sui Dynasty)
- Date of Death
- 659 AD (Fourth year of the Xianqing era, Tang Dynasty)
- Age at Death
- 66
- Identity
- Founding Chancellor, premier meritorious statesman, grand strategist, foremost giant of Lingyan Pavilion
- Highest Office
- Grand Commandant, Minister over the Masses, Jointly Manager of Affairs with the Secretariat-Chancellery
- Major Offices and Titles
- Campaign Sign-off Clerk of Weibei Circuit, Grand General of the Left Militant Guard, Minister of Personnel, Right Vice Director, Minister over the Masses, Grand Commandant, Duke of Zhao
LIFE TIMELINE
Traveled to Changchun Palace to join Li Shimin's army; appointed Campaign Sign-off Clerk to oversee military documents.
Accompanied Li Shimin through campaigns across northern China, serving as chief confidant and advisor.
Spearheaded the plan to strike first; led elite fighters inside Xuanwu Gate to eliminate the rival princes, earning top merit.
Appointed Right Vice Director and created Duke of Qi; prudently stepped down to prevent maternal kin domination, elevated to Minister over the Masses.
Ranked first among the twenty-four founding giants on the walls of Lingyan Pavilion by decree of Emperor Taizong.
Received the final testament of the dying emperor to guide Emperor Gaozong; codified the historic Tang Code with Commentary.
Opposed Wu Zetian's accession as empress; framed for treason by political rivals and forced to commit suicide in Qianzhou exile.
Relationship graph
BIOGRAPHY
Biography
Aristocratic Lineage and Lifelong Brotherhood
Zhangsun Wuji belonged to the noble Zhangsun clan of the Xianbei Tuoba branch, which had occupied hereditary military and civil posts across the Northern Dynasties and the Sui. His father, Zhangsun Sheng, was a celebrated general of the Sui who achieved fame through his diplomatic mastery in splitting the nomadic Turkic Khaganate and his peerless archery skill of shooting two vultures with a single arrow. His mother, Lady Gao, was the daughter of Gao Jingde, Regional Inspector of Shanzhou. Following his father's early passing, Zhangsun Wuji and his sister accompanied their mother to reside with their maternal uncle, Gao Shilian. Under Gao's scholarly guidance, Zhangsun immersed himself in classical philosophy and political history, cultivating exceptional discretion and strategic poise.
In 609 AD, through Gao Shilian's arrangement, Zhangsun's thirteen-year-old sister married Li Shimin, the second son of Li Yuan, Duke of Tang. Possessing matching ambition and shared virtues, Zhangsun Wuji and Li Shimin forged an extraordinary brotherhood that transcended formal kinship, sharing intimate confidences regarding the mounting disorders across the empire.
The Rise of Tang and Unbroken Campaign Service
In 617 AD, Li Yuan raised his banner of rebellion at Jinyang and advanced into the Guanzhong plains. Hearing that Li Shimin had reached Changchun Palace, Zhangsun Wuji hastened on horseback to greet him. Overjoyed by his arrival, Li Shimin immediately commissioned him as Campaign Sign-off Clerk of Weibei Circuit, putting him in charge of confidential orders and campaign logistics.
Following the capture of Chang'an and the proclamation of the Tang Dynasty in 618 AD, Zhangsun accompanied Li Shimin through brutal campaigns that pacified rival warlords across the central plains, including Xue Rengao in Longxi, Liu Wuzhou in Shanxi, and the formidable alliance of Wang Shichong and Dou Jiande. Though rarely commanding frontline cavalry charges himself, Zhangsun was omnipresent within the command tent, evaluating intelligence, refining operational blueprints alongside Fang Xuanling and Du Ruhui, and shielding Li Shimin from internal intrigue.
The Xuanwu Gate Triumph and Lingyan Preeminence
During the late Wude period, Crown Prince Li Jiancheng and Prince of Qi Li Yuanji grew desperate to dismantle Li Shimin's martial prestige. Employing backstairs palace intrigue, they orchestrated the banishment of Fang Xuanling and Du Ruhui and targeted princely officers. As existential destruction loomed, Li Shimin hesitated to take up arms against his own blood. Zhangsun Wuji pressed him relentlessly: "He who strikes first commands his enemies; he who hesitates is bound and slaughtered! Your Highness's martial deeds encompass the earth. The Crown Prince's faction plots our utter destruction. Should you falter now, our lives and the Tang dynastic altars will fall into ruin!"
Persuaded by Zhangsun's arguments, Li Shimin determined to strike. On the morning of July 4, 626 AD, Zhangsun Wuji, Li Shimin, Yuchi Jingde, and Hou Junji laid an ambush inside the Xuanwu Gate. As the Crown Prince and Prince of Qi arrived, the ambush sprang, extinguishing the rival faction. Following Taizong's enthronement, Zhangsun was recognized as the foremost founding contributor, receiving the posts of Grand General of the Left Militant Guard and Minister of Personnel.
In 627 AD, Emperor Taizong elevated him to Right Vice Director. Sensitive to historical precedents where imperial maternal kin monopolized state authority, and mindful of warnings from his sister Empress Wende, Zhangsun repeatedly petitioned to resign the executive chancellorship. Emperor Taizong reluctantly acceded, creating him Duke of Zhao and advancing him to the supreme titular rank of Minister over the Masses and Grand Commandant. In 643 AD, when Emperor Taizong commissioned the portraits of the Twenty-Four Meritorious Officials for the Lingyan Pavilion, Zhangsun Wuji was placed first, acknowledged as the supreme architect of the Tang imperial foundation.
Regency and the Codification of Tang Law
In 643 AD, after Crown Prince Li Chengqian was deposed for treason, Zhangsun resolutely championed the gentle and filial Prince of Jin, Li Zhi, securing his appointment as heir apparent to avoid fratricidal conflict. In 649 AD, as Emperor Taizong lay dying at Cuiwei Palace, he summoned Zhangsun Wuji and Chu Suiliang to his bedside, placing Li Zhi's hands into theirs and declaring: "With Wuji at your side, my realm is secure!" Following Taizong's death, Zhangsun maintained rigorous secrecy to prevent palace panic, escorting Li Zhi safely back to Chang'an to ascend the throne as Emperor Gaozong.
During the opening years of Gaozong's reign, Zhangsun presided over imperial administration as Grand Commandant and Jointly Manager of Affairs with the Secretariat-Chancellery. Dedicated to preserving the political stability of the Zhenguan era, Zhangsun directed the comprehensive codification of imperial law. Between 652 and 653 AD, he completed the compilation of the thirty-volume Tang Code with Commentary (Tanglu Shuyi). This monumental legal work blended Confucian ethical morality with rigorous administrative legalism, establishing the benchmark of imperial jurisprudence across East Asia for centuries.
The Succession Struggle, Exile, and Death
In the late Yonghui years, Emperor Gaozong became infatuated with Consort Wu (Wu Zetian) and contemplated deposing Empress Wang to make Consort Wu his empress. Zhangsun Wuji, alongside Chancellor Chu Suiliang, mounted fierce resistance, asserting that Empress Wang came from a virtuous lineage and had been chosen by Emperor Taizong himself. Despite lavish gifts and personal appeals from the emperor and Consort Wu, Zhangsun remained immovable, refusing to condone the breach of traditional ritual protocol. In late 655 AD, Gaozong bypassed his senior ministers and proclaimed Wu Zetian empress.
Empress Wu harbored vindictive hatred toward Zhangsun for his unyielding opposition. In 659 AD, Chancellor Xu Jingzong, operating under Empress Wu's instigation, fabricated a sprawling treason conspiracy around local figures Wei Jifang and Li Chao, falsely alleging that Zhangsun Wuji was orchestrating an armed rebellion. The pliable Emperor Gaozong failed to grant his maternal uncle an imperial audience to defend himself. Stripped of all offices and his ducal title, Zhangsun was exiled to remote Qianzhou (present-day Pengshui, Chongqing). In July of that year, Xu Jingzong dispatched censor Li Lun to Qianzhou with secret instructions; upon arrival, Li Lun forced Zhangsun Wuji to hang himself with a silk cord. Zhangsun perished at age sixty-six. His sons and relatives were executed or banished. In 674 AD, Emperor Gaozong posthumously restored his rank and titles, permitting his grandson Zhangsun Yuanyi to inherit the dukedom of Zhao.
Key Achievements
- Lifelong Brotherhood with Tang Taizong: Forged an unbreakable alliance with Li Shimin before the fall of Sui, providing political counsel that secured the foundations of Tang rule.
- Mastermind of the Xuanwu Gate Coup: Decisively propelled Li Shimin to launch a preemptive strike during the succession crisis, personally leading assault troops to secure victory.
- First Rank in Lingyan Pavilion: Honored as the premier founding giant among twenty-four meritorious officials by Emperor Taizong in 643 AD.
- Regent to Emperor Gaozong: Received the dying testament of Emperor Taizong, ensuring a peaceful imperial transition and anchoring early Yonghui administration.
- Architect of the Tang Code with Commentary: Spearheaded the compilation and publication of the thirty-volume Tanglu Shuyi, the zenith of imperial Chinese jurisprudence.
- Martyr of Dynastic Ritual: Resisted the elevation of Wu Zetian in defense of imperial custom, suffering exile and tragic death in Qianzhou.
Early Friendship and Support for the Tang Founding
Befriending Li Shimin in youth, Zhangsun Wuji served on his campaign staff throughout the wars of unification.
Foremost Merit in the Xuanwu Gate Coup
In 626 AD, he played a central role in organizing and executing the Xuanwu Gate coup.
Premier Statesman of the Lingyan Pavilion
In 643 AD, Emperor Taizong ranked him first among the twenty-four meritorious officials in the Lingyan Pavilion.
Chief Regent for Emperor Gaozong
Entrusted by the dying Emperor Taizong in 649 AD, he guided the imperial succession and early Yonghui administration.
Leading the Compilation of the Tang Code Commentary
Between 652 and 653 AD, he led the legal commission that completed the thirty-volume Tang Code with Commentary.
Opposition to Empress Wu and Exile to Qianzhou
Steadfastly opposing the deposition of Empress Wang in 655 AD, he was framed by Xu Jingzong and forced to die in exile in Qianzhou in 659 AD.
Interpersonal Relations
- Father: Zhangsun Sheng (Distinguished Sui general, famous for split-arrow marksmanship)
- Maternal Uncle: Gao Shilian (Founding Tang Chancellor, Lingyan Pavilion statesman)
- Sister: Empress Wende (Empress Zhangsun, revered consort of Tang Taizong)
- Sons: Zhangsun Chong (Eldest son, married Princess Changle), Zhangsun Huan, Zhangsun Jun
- Sovereign / Nephew: Emperor Gaozong of Tang (Li Zhi)
- Sovereign / Brother-in-Law: Emperor Taizong of Tang (Cherished lifetime partnership)
- Political Allies: Chu Suiliang, Han Yuan, Lai Ji
- Political Antagonists: Empress Wu Zetian, Xu Jingzong, Li Yifu
Historical Evaluation
- Emperor Taizong of Tang praised him: "In the decisive moment of Xuanwu Gate, Wuji engineered the grand scheme that stabilized the realm. Intelligent, heroic, and broad of heart, he has been my dearest friend."
- Old Book of Tang recorded: "The Duke of Zhao held maternal kinship while surpassing all peers in merit, commanding counsel within the council tent and engraving his name on the dynastic altar. Yet failing to withdraw at the height of influence, he fell into treasonous traps. How tragic!"
- New Book of Tang stated: "Zhangsun Wuji was a founding titan of unparalleled stature. Directing the empire, the realm enjoyed perfect order. Standing firm for ritual and statehood, he ultimately sacrificed his life for the altars, a truly magnificent and loyal pillar of state."
Related Entries
- Emperor Taizong of Tang, Emperor Gaozong of Tang, Empress Wende, Xuanwu Gate Incident, Tang Code with Commentary, Twenty-Four Meritorious Officials of Lingyan Pavilion
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Old Book of Tang, Volume 65, Biography 15: Zhangsun Wuji
- New Book of Tang, Volume 105, Biography 30: Zhangsun Wuji