Wang Anshi
So far, it seems that Huang had managed to avoid entanglement in politics, and in fact his early career as an imperial teaching official seems to have been in part secured by the favor of Wang Anshi, upon reading a poem of Huang's, hinting at retiring from the boredom which he was experiencing at that point of his career. At the time, there were two major parties, a "reform" party (also known as the New Policies Group), led by Wang Anshi and a "conservative" party, which included such prominent officials as Sima Guang, Ouyang Xiu, and Su Shi. Under the imperial system the winning side was chosen by the emperor (or the emperor's regent in the case of his minority). Imperial disfavor could range from death to a stalled career.