In 263, Wei armies led by Zhong Hui and Deng Ai conquered Shu. Afterwards, Zhong Hui and former Shu general Jiang Wei grouped and plotted together in order to oust Sima Zhao from power, however, various Wei officials turned against them when it was found out that Jiang Wei had urged Zhong Hui to get rid of these officials before the planned coup. Sima Zhao himself received and finally accepted the nine bestowments and the title "Duke of Jin" in 263, and was further bestowed with the title "King of Jin" by Cao Huan in 264, but he died on 6 September 265, leaving the final step of usurpation up to his eldest son, Sima Yan.