Huang Hao
In 243, Jiang Wan grew ill and transferred most of his authority to Fei Yi and Fei's assistant Dong Yun. In 244, when Wei's regent Cao Shuang attacked Hanzhong, it was Fei Yi who led the troops against Cao Shuang and dealt Wei a major defeat in the Battle of Xingshi. Jiang Wan, however, remained influential until his death in 245. Soon after Jiang Wan's death, Dong Yun also died — allowing the eunuch Huang Hao, a favourite of Liu Shan's, whose power Dong Yun had curbed, to start aggrandising his power. Huang Hao was viewed as corrupt and highly manipulative in domestic matters, and the governmental efficiency that was achieved during Zhuge Liang's and Jiang Wan's regencies began to deteriorate.