In this task, you will be presented with a text, a pronoun from the text, and two candidate names. You should determine what the pronoun refers to and classify the answers into A, B, or Neither. A and B here are referring to option A and option B. Position of the pronoun in the text is showed within two "_"s.
Q: However, the plan did not go through because Zhuge Liang, the Chancellor of Shu, rejected Wei Yan's plan. In 228, the second Wei emperor, Cao Rui, personally led reinforcements to Chang'an to defend against a series of invasions by Shu forces under Zhuge Liang's leadership. _He_removed Xiahou Mao from his command and reassigned to be a Master of Writing (**) in the Wei central government in Luoyang. <sep>, Pronoun: He <sep>, A: Wei <sep>, B: Cao Rui
A:
B