How a strategic retreat and a night raid secured Cao Cao's Hanzhong victory
During the late Eastern Han dynasty, warlord Cao Cao faced a grueling campaign against Zhang Lu. After struggling to breach the heavily fortified Yangping Pass, Cao Cao executed a brilliant tactical feint. By feigning a full retreat, he lured his opponents into complacency before launching a decisive, successful night assault.
The Battle of Yangping, spanning from April 215 to January 216, was a pivotal conflict between Cao Cao and the warlord Zhang Lu. Cao Cao’s campaign began with a difficult march through mountainous terrain toward Hanzhong Commandery. Along the way, his forces encountered resistance from Di tribes, whom Cao Cao defeated before massacring the local population. By late summer 2015, his exhausted troops reached Yangping Pass, where Zhang Lu’s brother, Zhang Wei, and officer Yang Ang had constructed extensive defensive works spanning over 10 li to block the advance.
Initial direct assaults by Cao Cao failed to overcome these defenses, forcing him to withdraw his forces. This maneuver proved to be a calculated deception. Observing the retreat, Zhang Lu’s defenders lowered their guard, providing the opening Cao Cao needed. He dispatched Xie Biao and Gao Zuo to lead a surprise night attack, which resulted in the death of Yang Ang and the flight of Zhang Wei. With the pass secured, Cao Cao occupied the capital of Nanzheng and seized the regional treasuries, effectively bringing the Hanzhong area under his control.
The aftermath of the victory saw significant administrative restructuring. Cao Cao renamed the region Hanzhong, partitioned several commanderies, and appointed new officials, including tribal leaders like Pu Hu and Du Huo, to govern the newly organized territories. By January 216, Zhang Lu himself surrendered to Cao Cao, who granted him and his sons marquis titles. Although Cao Cao eventually returned to Ye, leaving Xiahou Yuan to hold the region, the campaign fundamentally altered the power dynamics of the era, leading to further confrontations with Liu Bei’s forces in the surrounding provinces.
Source: Battle of Yangping