Years later, he participated in the counter-attack against the invading Shu forces in 231 and scored a victory over Zhuge Liang's unit, and pursued him to Mount Qi. In 234, he soundly defeated the Shu general Ma Dai on the battlefield and killed thousands of enemies. In 238, he followed Sima Yi on his campaign against Gongsun Yuan and was promoted to General of the Rear (後將軍).