Zhong Hui (225–264),courtesy name Shiji, was a military general, politician and writer of the state of Cao Wei in the Three Kingdoms period. He was the younger son of Zhong Yao, who served as the Grand Tutor in the Wei imperial court, and was already known for being very insightful, intelligent and well read since he was young. Zhong Hui rose to prominence in the 250s when he became a close aide to Sima Zhao, the regent and de facto ruler of Wei. He advised Sima Zhao on how to deal with the Third Rebellion in Shouchun from 257–258 and was highly regarded by the latter. With Sima Zhao's help, Zhong Hui steadily moved up the ranks and became one of the key figures in the Wei government.
In 263, the Wei imperial court ordered Zhong Hui, Deng Ai and Zhuge Xu to lead separate armies to attack and conquer Wei's rival state, Shu Han. During and after the campaign against Shu, Zhong Hui framed Deng Ai and Zhuge Xu for treason and cowardice respectively, thereby eliminating them and putting himself in full control of all the Wei forces in Shu by the time Shu surrendered to Wei. In 264, with backing from Jiang Wei, a former Shu general, Zhong Hui started a rebellion against Sima Zhao. However, the revolt failed when Zhong Hui's plan to purge several Wei officers – because he was worried that they would not support him – was leaked out. The officers escaped from custody, regrouped with their men, mutinied against Zhong Hui, and killed him and Jiang Wei.
Zhong Hui's Rebellion was an uprising against the state of Cao Wei in 264 by the general Zhong Hui, aided by the general of the newly destroyed Shu Han state Jiang Wei. Zhong Hui considered himself capable enough of overcoming the regime of Sima Zhao to create a kingdom in the ruins of Shu, and led an army against his former colleague Deng Ai. The resulting conflict saw Deng Ai killed and the rebellion fragmented under revolts against Zhong Hui.
Initially, when Sima Zhao wanted to put Zhong Hui in charge of leading the Wei army to conquer Shu, Shao Ti warned him that Zhong Hui might rebel against Wei because he was in command of an army of thousands, was single, and had no family to worry about. Sima Zhao laughed and said he understood Shao Ti's concern very well, but chose to let Zhong Hui lead the Wei army because he had faith in Zhong's ability to conquer Shu. He also predicted that Zhong Hui would not succeed even if he rebelled because of two reasons. First, the people of Shu would be fearful after seeing how their state had been conquered, and hence would not help Zhong Hui. Second, the Wei forces would be exhausted after the campaign and want to return home, so they would not support Zhong.