Huang Hao ( 220s–263) was a Chinese eunuch and politician serving under Liu Shan (), the second and last emperor of the state of Shu Han in the Three Kingdoms period (220–280) of China. He gained the favour of Liu Shan and became highly influential. He was able to promote his supporters and demote those who opposed him to the overall detriment of the good governance of the state. When the leading Shu Han general Jiang Wei sought to warn the emperor that an invasion by Cao Wei was imminent, Huang Hao advised the emperor that such an invasion would not happen. As a result, the Shu Han state was not prepared for the Wei invasion of Shu forcing the emperor to surrender unconditionally in 263. Life Huang Hao entered the Shu imperial palace sometime in the 220s as a eunuch attending to the Shu emperor Liu Shan, who favoured him because he was shrewd and full of flattering words. Whenever Huang Hao attempted to interfere in state affairs, Dong Yun, then the head of government, warned Liu Shan about the dangers of flattery and admonished Huang Hao for misleading the emperor. 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 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. When Chen Zhi died in 258, Huang Hao became the most influential figure in the Shu central government based in Chengdu. Liu Shan promoted Huang Hao to the positions of Central Regular Attendant (中常侍) and Commandant of Equipage (奉車都尉). Huang Hao abused his power by promoting officials who were his supporters and demoting those who stood up to him. When Luo Xian refused to work with him, Huang Hao had Luo Xian sent away from Chengdu to serve as the Administrator (太守) of Badong Commandery (巴東郡; around present-day Fengjie County, Chongqing). Yan Yu (閻宇), a close friend of Huang Hao, was appointed as Luo Xian's deputy to watch over him. Fan Jian, the Prefect of the Masters of Writing (尚書令), refused to have