张安世
张安世
Image creditsCHISTImage source

前?–62 BCE

Historical figure

Zhang Anshi (张安世)

张安世

Zhang Anshi (张安世; died 62 BC), courtesy name Ziru, was a distinguished statesman, regent minister, and supreme military commander of the Western Han Dynasty. He was the son of Zhang Tang, the famous Censor-in-Chief under Emperor Wu. Entering imperial service as a court gentleman through paternal privilege, Zhang Anshi gained Emperor Wu's recognition due to his exceptional calligraphy, meticulous administrative competence, and…

前?–62 BCEWestern Han (西汉)

PROFILE

Zhang Anshi (张安世; died 62 BC), courtesy name Ziru, was a distinguished statesman, regent minister, and supreme military commander of the Western Han Dynasty. He was the son of Zhang Tang, the famous Censor-in-Chief under Emperor Wu. Entering imperial service as a court gentleman through paternal privilege, Zhang Anshi gained Emperor Wu's recognition due to his exceptional calligraphy, meticulous administrative competence, and phenomenal memory—reconstructing from memory three hampers of official records lost during an imperial tour. He was elevated to Prefect of the Masters of Writing and Grand Palace Grandee. During the reign of Emperor Zhao, General-in-Chief Huo Guang presided over the central government and relied deeply upon Zhang Anshi's integrity and discretion. Following the suppression of the rebellion of Shangguan Jie and Sang Hongyang, Zhang Anshi was appointed Right General and Superintendent of the Imperial Household, serving as Huo Guang's chief deputy. In this office, he supervised the imperial palace guard for thirteen years, maintaining domestic peace and winning ennoblement as the Marquis of Fuping. In 74 BC, upon Emperor Zhao's demise, Zhang Anshi collaborated with Huo Guang to depose the profligate Prince of Changyi (Liu He) and enthrone Emperor Xuan, an achievement for which he was granted an additional ten thousand six hundred households. Following Huo Guang's death in 68 BC, Emperor Xuan entrusted him with supreme military authority as Grand Minister of War (Da Sima) and General of the Guards, placing both the metropolitan palace garrisons and the Northern Army under his command. Through unyielding caution and modesty, Zhang Anshi helped the sovereign dismantle the mutinous Huo clan without political disruption. He passed away in 62 BC, honored with the posthumous title Marquis Jing and buried east of Duling.

Courtesy Name
Ziru
Posthumous Name
Marquis Jing (Marquis Jing of Fuping)
Era
Western Han Dynasty
Ancestral Home
Duling, Metropolitan Region (modern Xi'an, Shaanxi)
Date of Death
62 BC (Autumn of the fourth year of the Yuankang era of Emperor Xuan)
Noble Title
Marquis of Fuping (富平侯)
Highest and Primary Office
Grand Minister of War, General of the Guards, General of Chariots and Cavalry, Prefect of the Masters of Writing
Historical Identity
Senior regent statesman and supreme military commander of the Western Han Dynasty, key architect of the Zhao-Xuan Restoration

LIFE TIMELINE

Relationship graph

BIOGRAPHY

Chronology

  • Reign of Emperor Wu | Remarkable Memory | Served as an imperial gentleman; reproduced three hampers of lost state documents from memory, leading to his promotion to Prefect of the Masters of Writing.
  • 87 BC (1st Year of Shiyuan Era) | Deputy to Huo Guang | Following Emperor Zhao's accession, served as Huo Guang's foremost administrative partner; appointed Right General and Superintendent of the Imperial Household.
  • 77 BC (4th Year of Yuanfeng Era) | Ennobled as Marquis | Recognized for thirteen years of flawless palace guard administration and integrity, ennobled as the Marquis of Fuping.
  • 74 BC (1st Year of Yuanping Era) | Dynastic Succession | Conspired with Huo Guang to depose Prince Liu He of Changyi and enthrone Emperor Xuan, rewarded with an additional ten thousand six hundred households.
  • 68 BC (2nd Year of Dijie Era) | Supreme Military Command | Following Huo Guang's death, declined the supreme title of General-in-Chief; appointed Grand Minister of War and General of the Guards, commanding the capital armies.
  • 66 BC (4th Year of Dijie Era) | Surviving the Huo Purge | Following the destruction of the rebellious Huo family, his granddaughter was pardoned by Emperor Xuan to relieve the anxious statesman of worry.
  • 62 BC (Spring, 4th Year of Yuankang Era) | Petition to Retire | Stricken by illness, petitioned to return his marquisate and retire, but was warmly retained in office by Emperor Xuan.
  • 62 BC (Autumn, 4th Year of Yuankang Era) | Passing and Burial | Passed away in office; bestowed with imperial military honors, granted the posthumous title Marquis Jing, and buried at Duling.

Life and Career

Early Career and Prodigious Memory

Zhang Anshi was born into a prominent legalist family in the Western Han metropolitan area. His father was Zhang Tang, a premier judicial architect under Emperor Wu who served as Censor-in-Chief before being driven to suicide by factional slander. Acknowledging Zhang Tang's unblemished integrity in death, Emperor Wu extended special favor to his sons, allowing Zhang Anshi to enter the civil service as a court gentleman based on family privilege.

Possessing a quiet, methodical nature, Zhang Anshi excelled in calligraphy and archival transcription, securing an assignment in the Masters of Writing Bureau. Dedicated to his duties, he rarely took leisure even during scheduled holidays, immersing himself in the study of imperial edicts and statutes. During an imperial progress through Hedong Commandery, local officials lost three hampers containing crucial government records. When Emperor Wu questioned the retinue, no official could recall the contents. Zhang Anshi alone possessed a photographic memory, promptly transcribing the missing texts in complete detail without a single discrepancy. When the original hampers were later recovered through rewards, a word-by-word comparison revealed that Zhang Anshi's transcription was entirely flawless. Greatly impressed, Emperor Wu recognized his extraordinary administrative talent, immediately promoting him to Prefect of the Masters of Writing and subsequently to Grand Palace Grandee.

Partnering with Huo Guang in Guarding the Throne

In 87 BC, Emperor Wu passed away, leaving the child sovereign Emperor Zhao under the regency of General-in-Chief Huo Guang. Huo Guang deeply appreciated Zhang Anshi's steadfast honesty and discreet conduct, considering him his most dependable administrative confidant.

Between 81 and 80 BC, sharp factional conflict erupted within the court. Left General Shangguan Jie, his son Shangguan An, and Censor-in-Chief Sang Hongyang allied with Prince Liu Dan of Yan and Princess Eyi to orchestrate an armed coup against Huo Guang. When the conspiracy was uncovered and crushed, Huo Guang found the senior ministerial ranks depleted. He submitted a memorial recommending Zhang Anshi as Right General and Superintendent of the Imperial Household, placing the southern palace guard under his command and establishing him as his primary regent deputy. Zhang Anshi served with unwavering diligence for thirteen years. He reformed the security protocols of the imperial halls, appointed capable and honest gentlemen to palace posts, and preserved political stability across the empire. Acknowledging his contributions, Emperor Zhao issued an edict declaring: "Right General and Superintendent of the Imperial Household Anshi has assisted governance and guarded the sovereign with solemn reverence for thirteen years, preserving peace and harmony across the realm," formally ennobling him as the Marquis of Fuping.

Decisive Role in the Imperial Succession

In 74 BC, the twenty-one-year-old Emperor Zhao died without heirs. Huo Guang and Zhang Anshi petitioned Empress Dowager Shangguan to summon Prince Liu He of Changyi to the throne. Upon arriving in Chang'an, Liu He indulged in unbridled revelry, disregarded mourning rituals, and allowed his provincial henchmen to violate imperial decorum, committing over a thousand transgressions within twenty-seven days.

Confronted with dynastic ruin, Huo Guang held secret consultations with Zhang Anshi. Recognizing that imperial continuity demanded decisive action, Zhang Anshi gave his full support to the deposition. Together, they orchestrated the unprecedented move of presenting formal charges before the Empress Dowager and stripping Liu He of the imperial seal. Acting on the recommendation of Grand Palace Grandee Bing Ji, they escorted Emperor Wu's great-grandson Liu Bingyi from commoner status to the throne as Emperor Xuan. In recognition of his crucial role in preserving the ancestral shrines, Emperor Xuan issued an edict praising Zhang Anshi's steadfast rectitude, granting him an unprecedented additional fief of ten thousand six hundred households—surpassed only by Huo Guang. His three sons, Zhang Qianqiu, Zhang Yanshou, and Zhang Pengzu, were all elevated to Palace Attendants and Commandants.

Assuming Supreme Military Leadership and Dismantling the Huo Clan

In 68 BC, Huo Guang passed away, initiating a major transformation in the central power structure. Censor-in-Chief Wei Xiang secretly petitioned Emperor Xuan, strongly recommending Zhang Anshi as the only elder statesman with the stature and wisdom to assume the supreme role of General-in-Chief. Aware that occupying Huo Guang's former title would invite suspicion and peril, Zhang Anshi repeatedly declined the appointment. Acceding to his modesty, Emperor Xuan instead appointed him Grand Minister of War and General of Chariots and Cavalry directing the Secretariat. Months later, the emperor dissolved the cavalry units and appointed Zhang Anshi as General of the Guards, transferring command of both the Weiyang and Changle palace garrisons, the city gates, and the Northern Army directly into his hands.

Concurrently, Emperor Xuan moved to curb the overweening ambitions of Huo Guang's son, Huo Yu, promoting him to a nominal Grand Minister of War while systematically stripping him of direct troop command. In 66 BC, realizing their power was slipping away, the Huo clan plotted armed rebellion. The conspiracy was swiftly neutralized, and the Huo lineage was executed. Throughout this volatile episode, Zhang Anshi conducted himself with extreme caution. Because his granddaughter Zhang Jing was married to a member of the extended Huo clan and was technically subject to collective punishment, Zhang Anshi grew emaciated with anxiety. Observing his frail appearance, Emperor Xuan inquired into the cause and issued a special imperial pardon for Zhang Jing to console his faithful general. To further demonstrate deference, Zhang Anshi petitioned to have his son Zhang Yanshou transferred out of the capital as Administrator of Beidi Commandery, returning to the capital only after Emperor Xuan intervened.

Discretion, Benevolence, and Posthumous Honors

Zhang Anshi's ability to survive three turbulent imperial reigns lay in his peerless discretion and ethical discipline. Over his decades directing state secrets, whenever a major policy was decided in conference with the sovereign, he immediately reported illness and withdrew to his residence. When the imperial decree was formally promulgated, he would feign surprise and send clerks to the chancellor's bureau to make inquiries, ensuring that not even his fellow ministers realized he had helped shape the decision. Furthermore, when an official whom he had promoted came to his house to offer personal gratitude, Zhang Anshi rebuked the man for confusing public service with private patronage and severed contact.

In managing his subordinates, Zhang Anshi displayed profound benevolence. During his tenure as Superintendent of the Imperial Household, an imperial gentleman became intoxicated and urinated on the palace floor. When disciplinary officers demanded prosecution under the law, Zhang Anshi shielded him, asking: "How do you know he did not merely spill his drink? Why ruin a capable officer over a minor accident?" Similarly, when a gentleman was accused of an improper liaison with a palace maid, Zhang Anshi dismissed the charges to protect the officer's dignity. In the spring of 62 BC, failing in health, Zhang Anshi petitioned to return his marquisate and retire. Emperor Xuan sent a warm personal message praising his understanding of governance and urging him to take medicine and remain in office. In the autumn of that year, Zhang Anshi passed away. Emperor Xuan bestowed imperial mourning honors, dispatched armored cavalry to escort the funeral cortege, granted the posthumous title Marquis Jing, and constructed a magnificent tomb east of Duling.

Major Achievements

Securing the Metropolitan Core During Emperor Zhao's Reign

Taking command of the palace guards as Right General and Superintendent of the Imperial Household in the wake of the Shangguan coup, Zhang Anshi served as Huo Guang's primary executive partner. For thirteen years, his vigilant supervision of the palace gates and judicious selection of security personnel maintained flawless stability in the imperial capital, providing a secure institutional environment for the Zhao-Xuan Restoration.

Preserving Dynastic Continuity Through Emperor Xuan's Enthronement

During the succession crisis of 74 BC, Zhang Anshi displayed supreme political courage by co-sponsoring the deposition of the unfit sovereign Liu He and engineering the accession of Emperor Xuan. By prioritizing national survival over personal security, he eliminated administrative chaos and ushered in one of the most prosperous and well-governed eras in Han history.

Stabilizing Central Authority Following Huo Guang's Death

Entrusted with the supreme offices of Grand Minister of War and General of the Guards, Zhang Anshi exercised sole command over the capital garrisons during the dangerous liquidation of the Huo family conspiracy. His calm authority and absolute loyalty prevented metropolitan unrest, ensuring that imperial executive power was seamlessly restored to the direct control of Emperor Xuan without fracturing the civil administration.

Personal Relationships

  • Father: Zhang Tang, Censor-in-Chief under Emperor Wu, prominent legalist statesman.
  • Brother: Zhang He, Director of the Household for the Crown Prince, loyal supporter of Crown Prince Liu Ju who protected the infant Emperor Xuan.
  • Political Partner: Huo Guang, Grand Minister of War and General-in-Chief, who co-governed the Western Han with Zhang Anshi.
  • Sovereign: Emperor Wu of Han (Liu Che), who recognized Zhang Anshi's memory and appointed him Prefect of the Masters of Writing.
  • Sovereign: Emperor Zhao of Han (Liu Fuling), whom Zhang Anshi served as palace guardian for thirteen years, ennobling him as Marquis of Fuping.
  • Sovereign: Emperor Xuan of Han (Liu Xun), enthroned through Zhang Anshi's counsel, who appointed him Grand Minister of War and General of the Guards.
  • Son: Zhang Qianqiu, served as Central Commandant and participated in military campaigns against the Xiongnu.
  • Son: Zhang Yanshou, inherited the title Marquis of Fuping and served as Supervisor of the Left and Grand Coachman.
  • Son: Zhang Pengzu, ennobled as the Marquis of Yangdu, early classmate and close confidant of Emperor Xuan.

Historical Assessment

  • Emperor Xuan of Han (Book of Han, "Biography of Zhang Tang"): "General of Chariots and Cavalry, Superintendent of the Imperial Household, and Marquis of Fuping Anshi has guarded the palace with loyalty and rectitude, spreading virtue and imperial benevolence, laboring for the state and upholding justice to secure the ancestral shrines... You are an elder statesman of the late emperor, possessing an understanding of governance far exceeding my own."
  • Ban Gu (Book of Han, "Biography of Zhang Tang"): "Zhang Anshi walked the Way; he remained full without overflowing."
  • Wang Shizhen (Ming Dynasty scholar): "Zhang Tang and Zhang Anshi were father and son, sharing the same brilliant intellect and formidable memory. Yet while Zhang Tang was severe and harsh, Zhang Anshi was circumspect and deferential... Anshi's wisdom truly exemplified the art of self-preservation through virtue."

Related Entries

  • Zhang Tang
  • Huo Guang
  • Emperor Xuan of Han
  • Marquis of Fuping
  • Zhao-Xuan Restoration

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Ban Gu, Book of Han (Hanshu), Volume 59, "Biographies of Zhang Tang".
  • Ban Gu, Book of Han (Hanshu), Volume 18, "Table of Ennobled Beneficiaries".
  • Ban Gu, Book of Han (Hanshu), Volume 8, "Annals of Emperor Xuan".