Yang Ang was killed in action while Zhang Wei fled under the cover of night.
Zhang Lu retreated to Bazhong (巴中; in present-day eastern Sichuan) when he heard that Yangping Pass had been taken.
Cao Cao's army occupied Nanzheng (南鄭; present-day Nanzheng County, Shaanxi), the capital of Hanzhong Commandery, and seized the precious items stored in Zhang Lu's treasuries.
He also partitioned Xi (錫) and Shangyong (上庸) commanderies and appointed Commandants (都尉) to govern those areas.
[4] Between 11 October and 8 November 215, the tribal kings Pu Hu (朴胡), Ren Yue (任約) and Du Huo (杜濩), the Marquis of Congyi (賨邑侯), led the people in Bayi (巴夷) and Cong (賨) to submit to Cao Cao.
Around the time, Liu Bei had recently seized control of Yi Province (covering present-day Sichuan and Chongqing) from its governor Liu Zhang and occupied Bazhong after Zhang Lu left.