In 257, when the Wei general Zhuge Dan started a rebellion in Shouchun Commandery (壽春郡; around present-day Shou County, Anhui), the Wei government mobilised troops from the Guanzhong region to suppress the revolt.
At the time, having seen year after year of military campaigns against Wei, the people of Shu were growing tired of having to endure the costs and effects of war.