220s–263) was a Chinese eunuch and politician serving under Liu Shan (r. 223–263), the second and last emperor of the state of Shu Han in the Three Kingdoms period (220–280) of China.
While Dong Yun was alive, he kept Huang Hao in check and never allowed him to be promoted beyond the position of an assistant of the Yellow Gate (黃門丞).
Following Dong Yun's death in c.December 246, Chen Zhi replaced him as the head of government and collaborated with Huang Hao to dominate the imperial court and state affairs.
Liu Shan criticised the late Dong Yun for treating him with contempt; he was believed to have said this with the encouragement of Huang Hao and Chen Zhi.
Yan Yu (閻宇), a close friend of Huang Hao who served as Area Commander of Badong (巴東都督) rereassigned Luo Xian as his deputy since he thought highly of him.
Jiang Wei found an excuse to leave Chengdu and move to a military garrison at Tazhong (沓中; northwest of present-day Zhugqu County, Gansu).
Later that year, the Wei general Deng Ai led his troops through a shortcut across mountainous terrain, bypassing the Shu defences, and arrived outside Chengdu.