In 248, Fei Yi moved from the Shu capital Chengdu to Hanzhong Commandery near the Wei–Shu border. Throughout their regencies, Jiang Wan and Fei Yi still maintained control over state affairs in Chengdu even though they were away in Hanzhong for extended periods of time. For example, the Shu emperor Liu Shan had to consult them and gain their approval before giving out rewards and punishments to officials. Such was Liu Shan's high levels of trust in and reliance on these two regents during his reign.