Definition: In this task, you will be presented with a text and a pronoun. You should write the name that the pronoun refers to. Position of the pronoun in the text is showed within two "_"s.
Input: He was the second son of King John of Saxony (1801--1873) and his wife Princess Amelia of Bavaria (1801--1877), daughter of King Maximilian I Joseph of Bavaria (1756--1825). On 11 May 1859 at Bel*m Palace, Lisbon, George married the younger sister of King Pedro V of Portugal: The Infanta Maria Anna of Portugal, eldest surviving daughter of Queen Maria II of Portugal and _her_ consort Prince Prince Ferdinand of Saxe-Coburg and Gotha-Koh*ry. <sep>, Pronoun: her

Maria II