Definition: 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.
Input: Heir of both the Kingdom of Bohemia and the Kingdom of Hungary, he remained under the tutelage of his Leopoldian cousin Frederick V, who in 1440 had been elected King of the Romans upon Albert's death. Ladislaus' claims to Hungary were acknowledged after King W*adys*aw had been killed in the 1444 Battle of Varna, however, _he_became the real ruler only after the death of regent John Hunyadi in 1456. <sep>, Pronoun: he <sep>, A: Ladislaus <sep>, B: King W*adys*aw

A