Definition: In this task, you're given a passage, further information available on a particular linked term from the statement, and a question. Your job is to generate the answer to the question by using the information provided. If there is no clear answer obtainable, output 'none'.
Input: Passage: In 1530 John Zapolya appointed him as the provost of the Buda cathedral and as a royal secretary. Between 1530-1539 he was also the deputy of the King and after his death he remained with his widow, Isabella Jagiellon. In 1541 he moved with her to Transylvania, but he mostly traveled fulfilling diplomatic services because of his disagreement with cardinal Juraj Utjesinovic's policy of claiming the Hungarian throne for Isabella's and Zapolya's infant son (instead of conceding it to Ferdinand I as per Treaty of Nagyvarad). Utjesinovic, appointed by Zapolya as a guardian of his son, John Sigismund Zapolya, fought against Ferdinand and allied himself with the Ottoman Empire.
Link Information: Ferdinand was born in Alcala de Henares, Spain, Question: The rightful heir to the Hungarian throne according to the Treaty of Nagyvarad was a king from which country?
Output:
Answer: Spain