 On the western front, Wang Shuang served as a subordinate the Wei general Cao Zhen, who was in charge of resisting invasions led by Shu's regent Zhuge Liang.During the Siege of Chencang, the Wei officer Hao Zhao and his 1,000 troops successfully held their position at Chencang against the Shu invaders until Wei reinforcements showed up.As Zhuge Liang and the Shu army retreated, Wang Shuang thought that it was a good opportunity to drive back the enemy so he led his troops in pursuit but fell into an ambush and was killed.