张方
Related historical visual for Zhang Fang
Image creditsTakase Eiju · Public domainImage source

Historical figure

Zhang Fang (张方)

张方

Zhang Fang (张方, died 306 AD) was a native of Hejian Commandery (present-day Hejian, Hebei). He was a formidable general, battlefield tactician, and operational commander during the late Western Jin dynasty, serving as the paramount military instrument of Prince of Hejian Sima Yong during the catastrophic War of the Eight Princes, rising to the supreme offices of Commander of the Central Guard (Zhonglingjun), Overseer of…

Era not stated

PROFILE

Zhang Fang (张方, died 306 AD) was a native of Hejian Commandery (present-day Hejian, Hebei). He was a formidable general, battlefield tactician, and operational commander during the late Western Jin dynasty, serving as the paramount military instrument of Prince of Hejian Sima Yong during the catastrophic War of the Eight Princes, rising to the supreme offices of Commander of the Central Guard (Zhonglingjun), Overseer of the Affairs of the Masters of Writing (Lu Shangshu Shi), Grand Commander (Da Dudu), and Grand Administrator of Jingzhao. Originating from an impoverished commoner family, Zhang Fang drifted to Chang'an in his youth, where he received crucial material assistance from the affluent local Zhi Fu. Recognizing his immense physical strength, equestrian combat mastery, and audacity, Sima Yong recruited him into princely service, rapidly elevating him to General Who Inspires Martial Might. Throughout the internecine royal bloodbath of the Eight Princes, Zhang Fang acted as Sima Yong's sharpest weapon. In 303 AD, joining forces with Prince of Chengdu Sima Ying to besiege Luoyang, Zhang Fang spearheaded seventy thousand elite troops across Hangu Pass. Although initially checked when confronting Emperor Hui's imperial carriage, Zhang Fang rallied his formations to construct the formidable fortified redoubts known as "Zhang Fang's Ramparts," suffocating Luoyang until a palace coup delivered Prince of Changsha Sima Ai into his clutches, whom Zhang Fang roasted to death over open flames in Jinyong Fortress. In 304 AD, Zhang Fang captured Luoyang once more, subjecting the palaces and civil quarters to ruthless plunder. To cement Sima Yong's hegemony, he forcibly abducted Emperor Hui and Crown Prince Sima Ying, dragging the court to Chang'an and seizing absolute administrative authority as Overseer of the Affairs of the Masters of Writing. In 305 AD, when Prince of Donghai Sima Yue organized a grand coalition to march west, Zhang Fang commanded one hundred thousand troops encamped at Ba Shang. In 306 AD, Sima Yong foolishly fell prey to the slanders of Bi Yuan, believing that sacrificing his top general would appease the eastern warlords; Sima Yong ordered Zhi Fu to assassinate Zhang Fang and sent his severed head to Sima Yue. Zhang Fang's execution shattered the morale of the western armies, precipitating Sima Yong's swift annihilation and the total collapse of Guanzhong defenses.

Native Place
Hejian Commandery (present-day Hejian, Hebei)
Date of Death
306 AD (First year of Guangxi Era of Western Jin)
Highest Office
Commander of the Central Guard (Zhonglingjun), Overseer of the Affairs of the Masters of Writing (Lu Shangshu Shi), Grand Commander (Da Dudu), Grand Administrator of Jingzhao (Jingzhao Taishou)
Major Offices
General Who Inspires Martial Might (Zhenwu Jiangjun), General of the Right (You Jiangjun), Grand Administrator of Fengyi (Fengyi Taishou), Commander of the Central Guard (Zhonglingjun), Overseer of the Affairs of the Masters of Writing (Lu Shangshu Shi), Grand Commander (Da Dudu)
Identity and Status
Prominent military general of the late Western Jin dynasty, chief military commander under Prince of Hejian Sima Yong, and pivotal tactical figure during the War of the Eight Princes

LIFE TIMELINE

Birth in Hejian

Born into an impoverished commoner family in Hejian, later traveling to Chang'an where he was befriended by Zhi Fu.

Crushing Xiahou Shi

Commissioned by Sima Yong, routed and captured rebel leader Xiahou Shi in Shiping, promoted to General Who Inspires Martial Might.

The Advance on Luoyang

Coordinated with Chief Clerk Li Han to attack Prince of Qi Sima Jiong, withdrawing after Sima Ai eliminated Sima Jiong.

The Siege and Redoubts

Led seventy thousand soldiers against Luoyang; constructed Zhang Fang's Ramparts, roasted Sima Ai to death, and routed Liu Shen in Guanzhong.

Abducting the Emperor

Stormed Luoyang, pillaging imperial treasuries and forcibly transporting Emperor Hui and the court to Chang'an.

Encampment at Ba Shang

Commissioned Grand Commander with one hundred thousand troops to hold Ba Shang against Sima Yue's eastern grand alliance.

Slander and Assassination

Betrayed by Sima Yong, assassinated by Zhi Fu at Ba Shang; his severed head was dispatched to Sima Yue, resulting in imperial collapse.

Relationship graph

BIOGRAPHY

Biographical Narrative

Humble Origins and Rise in the Western Marches

During the Taikang and Yuankang eras of the Western Jin, exalted aristocratic lineages monopolized imperial offices, leaving commoners and impoverished clans virtually barred from the higher civil hierarchy. Originating from an obscure and impoverished background in Hejian Commandery, Zhang Fang drifted to the western metropolis of Chang'an in his youth, enduring severe destitution. Fortunately, he gained the friendship and generous patronage of Zhi Fu, a wealthy Chang'an resident who provided him with vital financial support. Naturally endowed with extraordinary physical vigor, Zhang Fang mastered archery, horsemanship, and shock combat maneuvers. When Prince of Hejian Sima Yong (grandson of Sima Yi) established his regional governorship over Guanzhong and opened recruitment for military talent, Zhang Fang enlisted in his ranks. Deeply impressed by his raw combat ferocity and tactical resourcefulness, Sima Yong broke through established protocol to grant him operational commands, rapidly promoting him to General Who Inspires Martial Might.

In 301 AD, Prince of Zhao Sima Lun usurped the throne in Luoyang, prompting Prince of Qi Sima Jiong to launch an armed coalition in the eastern provinces. Sima Yong initially allied himself with Sima Lun. When regional commander Xiahou Shi raised thousands of insurgents in Shiping Commandery to support the Prince of Qi, Sima Yong dispatched Zhang Fang to suppress the revolt. Advancing with blistering speed, Zhang Fang routed Xiahou Shi's forces in the open plains, capturing him and sending him to Chang'an for execution. Sima Yong subsequently ordered Zhang Fang to march east through Tong Pass to support Sima Lun; however, upon reaching Huayin and observing the overwhelming momentum of the allied princes, Sima Yong recalled Zhang Fang and switched his allegiance to the anti-usurpation coalition.

In 302 AD, Chief Clerk Li Han returned to Chang'an from Luoyang, presenting secret stratagems to eliminate the dominant regent, Prince of Qi Sima Jiong. Sima Yong raised one hundred thousand troops, ordering Li Han and Zhang Fang to advance toward the capital. However, before the western army arrived, Prince of Changsha Sima Ai launched an audacious strike within Luoyang, executing Sima Jiong and seizing the central regency. Left without political justification, Li Han and Zhang Fang were compelled to withdraw to Guanzhong.

The Siege of Luoyang and the Roasted Prince

In the autumn of 303 AD, Sima Yong allied with Prince of Chengdu Sima Ying to launch a massive combined offensive against Prince of Changsha Sima Ai in Luoyang. Sima Yong designated Zhang Fang as his supreme frontline general, placing seventy thousand elite Guanzhong veterans under his command to push through Hangu Pass, while Sima Ying dispatched Lu Ji with two hundred thousand troops south across the Yellow River.

Reaching the western outskirts of Luoyang, Zhang Fang encountered the imperial guard under Huangfu Shang, crushing the defenders in open combat and pillaging the western suburbs. Zhang Fang then directed an all-out assault against the Ximing Gate. Sima Ai personally escorted Emperor Hui's imperial carriage to the walls to direct the defense. Confronting the sacred dragon banners and royal canopies, the Guanzhong troops hesitated in religious awe; unable to maintain their assault, Zhang Fang's lines dissolved into retreat. Sima Ai capitalized on the confusion, launching a devastating counterattack that pursued the retreating westerners for dozens of leagues, killing over ten thousand men.

Showing remarkable operational resilience, Zhang Fang gathered his broken units at Shisanli Bridge. Recognizing that Luoyang was impregnable to direct assault while Sima Ai remained in command, Zhang Fang altered his strategy, excavating deep concentric trenches and throwing up massive earthen fortifications known as "Zhang Fang's Ramparts." From these redoubts, he completely severed all waterborne and overland logistical routes into the capital. Sima Ai led multiple sorties against the ramparts, but was systematically repulsed by Zhang Fang's heavy crossbow emplacements. After months of siege warfare, food reserves inside Luoyang were exhausted. Terrified of collective destruction, Prince of Donghai Sima Yue orchestrated a palace coup, arresting Sima Ai and surrendering the city gates. Infuriated by the heavy casualties his army had suffered, Zhang Fang dragged Sima Ai to Jinyong Fortress, binding him over open coals and roasting him alive.

Simultaneously, Inspector of Yongzhou Liu Shen raised an imperial army to attack Sima Yong, driving the prince out of Chang'an to Weicheng. Facing imminent defeat, Sima Yong issued twelve emergency summonses recalling Zhang Fang. Sacking Luoyang to capture over ten thousand male and female palace retainers and massive piles of treasure, Zhang Fang marched back to Guanzhong day and night, crushing Liu Shen's army and decapitating him, earning promotion to General of the Right and Grand Administrator of Fengyi.

Abducting the Sovereign and Transferring the Court

In 304 AD, following Sima Ying's arrogance upon being made Crown Brother, Sima Yue escorted Emperor Hui on an imperial campaign against Ye, only to be crushed at the Battle of Dangyin, where the emperor was wounded and captured. Sima Yong dispatched Zhang Fang with twenty thousand troops to secure Luoyang. When capital defenders under Shangguan Si attempted resistance, Zhang Fang ambushed and routed them, taking possession of Luoyang and summarily deposing Empress Yang Xianrong once again.

In the autumn of that year, northern warlord Wang Jun mobilized Wuhuan and Xianbei cavalry to sack Ye, forcing Sima Ying to flee back to Luoyang with Emperor Hui. Zhang Fang welcomed the imperial party outside the city. With Luoyang completely pillaged and famine rampant, Zhang Fang's troops clamored to return to their homes in the west. Zhang Fang resolved to forcibly transport the Emperor, the imperial clan, and the civil court to Chang'an to place the dynasty firmly under Sima Yong's grasp.

Zhang Fang initially invited Emperor Hui to offer sacrifices at the ancestral temple, intending to abduct him on the road; suspecting foul play, the emperor adamantly refused. Dropping all pretenses, Zhang Fang led heavily armored shock troops into the inner palace. Terrified, Emperor Hui fled into the dense bamboo groves of the imperial gardens. Zhang Fang's soldiers battered down the doors, dragged the trembling monarch out of the foliage, and shoved him into a military wagon bound for camp. Zhang Fang's soldiers stripped the imperial palaces of all cultural treasures, ceremonial vessels, and ancient archives accumulated over four centuries. To permanently extinguish any hope of returning to the east, Zhang Fang ordered the ancestral temples and palaces torched; only the desperate pleadings of adviser Lu Zhi, who invoked the eternal infamy of Dong Zhuo, dissuaded him. Days later, Zhang Fang escorted Emperor Hui, Sima Ying, and the assembled court to Chang'an, where he was appointed Commander of the Central Guard, Overseer of the Affairs of the Masters of Writing, and Grand Administrator of Jingzhao, effectively ruling as prime minister.

The Ba Shang Stand and Treasonous Assassination

In 305 AD, Prince of Donghai Sima Yue proclaimed an empire-wide crusade to return Emperor Hui to Luoyang, securing the military allegiance of Prince of Fanyang Sima Xiao, Wang Jun of Youzhou, and governors across the eastern commanderies. Inspector of Yuzhou Liu Qiao resisted Sima Yue and appealed to Chang'an for aid. Sima Yong commissioned Zhang Fang as Grand Commander, dispatching him with one hundred thousand veteran troops to encamp at Ba Shang.

Recognizing the tactical momentum and overwhelming numbers of the eastern grand alliance, Zhang Fang fortified Ba Shang with massive defensive earthworks, choosing to maintain an impenetrable defense and await strategic developments. However, when Liu Qiao was crushed in the twelfth month and Luoyang fell to Sima Yue, Sima Yong succumbed to panic in Chang'an, desperately seeking peace but fearing Zhang Fang's military opposition.

Staff Officer Bi Yuan, who harbored a bitter personal grudge against Zhang Fang over past humiliations, seized the moment to deceive Sima Yong. Bi Yuan falsely claimed that Zhang Fang's inaction at Ba Shang concealed a conspiracy to defect to Sima Yue, asserting that Zhang Fang's confidant Zhi Fu was privy to the plot. Bi Yuan intimidated Zhi Fu, coercing him to corroborate the fabricated story before the prince. Believing that presenting Zhang Fang's head would induce Sima Yue to disband his armies, Sima Yong issued a secret death warrant and ordered Zhi Fu to execute the murder. Arriving at the Ba Shang headquarters, Zhi Fu gained immediate access to the command pavilion, as Zhang Fang regarded him as his closest lifelong benefactor. Without warning, Zhi Fu drew his blade and decapitated Zhang Fang. Sima Yong dispatched the severed head under express escort to Sima Yue; the eastern prince executed the courier, rejected peace, and exhibited Zhang Fang's head to demoralize the western garrisons. Convinced that their prince was treacherous and cowardly, the Guanzhong armies collapsed in disgust. In 306 AD, Sima Yue's armies breached the western passes, capturing Chang'an and annihilating Sima Yong.

Major Achievements

Construction of Zhang Fang's Ramparts and Siege Mastery

Zhang Fang's tactical conduct during the siege of Luoyang in 303 AD demonstrates extraordinary field engineering and strategic adaptability. Confronted with a catastrophic initial reversal when his troops fled before the imperial sovereign's carriage, Zhang Fang maintained absolute organizational composure.

Rather than conducting a disorderly retreat to Guanzhong, he established his headquarters at Shisanli Bridge and pioneered the defensive-offensive encirclement known as "Zhang Fang's Ramparts." By integrating deep moats, fortified redoubts, and concentrated crossbow kill-zones, he nullified Sima Ai's superior cavalry and strangled the capital's logistics, establishing an enduring classical example of siege warfare overcoming urban defenses.

Subversion of Central Power and the Western Relocation

Zhang Fang was unique among the military figures of the Western Jin as an unpedigreed commoner who exercised absolute coercive domination over the imperial throne. In 304 AD, he breached the palace sanctum, physically dragged Emperor Hui from the garden thickets, and orchestrated the forced migration of the dynasty to Chang'an.

As Commander of the Central Guard and Overseer of the Affairs of the Masters of Writing, he directed supreme state power. This violent subjugation of the monarchy decisively demonstrated that the aristocratic monopoly of the Western Jin had decayed into raw warlordism, marking the irreversible transition of the imperial state into terminal fragmentation.

Ruthless Military Excess and Historical Cautionary Emblem

Zhang Fang represents the terrifying descent into total war and barbarism that characterized the climax of the War of the Eight Princes. Confronted with chronic supply shortages during prolonged campaigns in Henan, he repeatedly authorized the looting of civilian populations and the horrific butchery of female retainers for military rations.

His savage brutality alienated the entire populace and military hierarchy of the Central Plains, ensuring that his military accomplishments brought zero enduring political legitimacy. His sudden demise at the hands of his closest patron highlights the fatal fragility of despotic military authority founded entirely on violence and severed from ethical restraint.

Personal Relationships

  • Lord and Sovereign: Prince of Hejian Sima Yong, imperial prince who discovered, promoted, and ultimately betrayed Zhang Fang, orchestrating his murder.
  • Benefactor and Assassin: Zhi Fu, wealthy Chang'an patron who financed Zhang Fang in his youth and later assassinated him under Sima Yong's coerced orders.
  • Conspiratorial Adversary: Bi Yuan, staff officer under Sima Yong who harbored a grudge against Zhang Fang and engineered his execution through slander.
  • Imperial Victim: Emperor Hui of Han/Jin, dragged from palace bamboo groves and forcibly deported to Chang'an by Zhang Fang.
  • Battlefield Opponents: Prince of Changsha Sima Ai, Liu Shen, Prince of Donghai Sima Yue.

Historical Evaluation

  • Fang Xuanling et al., Book of Jin (Jinshu, Volume 60, Biography of Zhang Fang): "Zhang Fang arose from humble and impoverished origins, winning the favor of Prince of Hejian Yong through raw valor; he subsequently monopolized sovereign power, forcibly relocated the imperial carriage, and wallowed in monstrous cruelty until meeting violent destruction. The disasters of the Jin house commenced among its princely shields. Fang and his ilk wielded their talents in times of deadly upheaval, indulging in treachery and deceit; though virtue and villainy diverge, all met the executioner's blade. Was this not the swift fruit of chaotic governance and catastrophic ambition!"
  • Sima Guang, Comprehensive Mirror in Aid of Governance (Zizhi Tongjian): "Zhang Fang was treacherous and unspeakably cruel, unleashing his troops to plunder Luoyang and coercing the Son of Heaven into exile, his camp even consuming human flesh for rations. Across all ancient annals, savage upheaval has never exceeded the horrors of Fang."
  • Cai Dongfan, Romance of the Western and Eastern Jin (Liangjin Yanyi): "The villainy of Zhang Fang was far worse than that of the princes: empresses were deposed, crown princes stripped of title, and what was to prevent the imperial carriage from being driven west? One marvels only that the assembled ministers were walking corpses devoid of life, abandoning the court to the unchecked tyranny of an evil butcher. Galloping at the head of armies for years, a flash of the blade severed his neck. Thus we know that Heaven's retribution is impartial; when evil runs its course, the reckoning can no longer be delayed."

Related Entries

  • War of the Eight Princes
  • Sima Yong
  • Sima Ai
  • Emperor Hui of Jin
  • Forced Relocation to Chang'an
  • Jinyong Fortress

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Fang Xuanling et al., Book of Jin (Jinshu), Beijing: Zhonghua Book Company, 1974.
  • Fang Xuanling et al., Book of Jin (Jinshu), Beijing: Zhonghua Book Company, 1974.
  • Sima Guang, Comprehensive Mirror in Aid of Governance (Zizhi Tongjian), Beijing: Zhonghua Book Company, 1956.
  • Sima Guang, Comprehensive Mirror in Aid of Governance (Zizhi Tongjian), Beijing: Zhonghua Book Company, 1956.