HistoryData
Historical ConflictHanzhong

Hanzhong Campaign

Liu Bei's seizure of Hanzhong Commandery in 219 established his power base for declaring himself King of Hanzhong, marking a key step toward the Three Kingdoms era.

Duration & Scope

217 219

2 years

Key Facts

Duration
December 217 – August 219
Key general killed
Xiahou Yuan, top Cao Cao commander
Cao Cao's retreat
June 219
Liu Bei's proclamation
King of Hanzhong, August 219
Cao Cao's last campaign
Died March 220, shortly after

Strategic Narrative Overview

Liu Bei's forces employed a Fabian strategy, avoiding pitched battle and instead mounting targeted strikes on key positions to exhaust Cao Cao's garrison. A critical turning point came when one such attack resulted in the death of Xiahou Yuan, one of Cao Cao's most capable generals, severely damaging morale. Cao Cao personally led reinforcements but struggled with mounting logistical difficulties and could not reverse the deteriorating situation for his forces.

01 / The Origins

During the late Han dynasty's fragmentation, the warlord Liu Bei sought to expand his domain by targeting Hanzhong Commandery, a strategically vital region held by his rival Cao Cao. Cao Cao's forces had occupied Hanzhong two years earlier following the Battle of Yangping, giving him a commanding position in the northwest. Liu Bei launched his campaign in December 217, aiming to break Cao Cao's grip on this gateway between northern and southwestern China.

03 / The Outcome

Unable to sustain his position, Cao Cao ordered a full withdrawal from Hanzhong Commandery in June 219. Liu Bei occupied the region and, capitalising on his victory, proclaimed himself King of Hanzhong in August 219. The campaign proved to be Cao Cao's final military venture; he died in March 220. Liu Bei's gain of Hanzhong solidified the territorial basis for what would become the state of Shu Han.

Belligerents & Mobilization Analysis

Side A

1 belligerent

Liu Bei's forces
Key Commanders

Liu Bei.

Side B

1 belligerent

Cao Cao's forces
Key Commanders

Cao Cao, Xiahou Yuan.

Outcome
Liu Bei victory; Cao Cao abandoned Hanzhong Commandery; Liu Bei declared King of Hanzhong

Kinetic Engagement Axis

Major engagements timeline (217–219)Timeline of major military engagements plotted chronologically.217219215Battle of Yangpi…Side B219Death of Xiahou …Allied

Scroll horizontally to view full axis. Events plotted relatively.

Side A victorySide B victoryInconclusiveDecisive / turning point

Location

Map of Hanzhong, ChinaMap of Hanzhong, ChinaHanzhong, China