Joanna la Beltraneja, born in 1462, the first and only daughter of King Henry IV of Castile, was of Asturias. A rumour spread that Princess Joanna was not actually the daughter of King Henry but rather of Beltrán de la Cueva, the alleged lover of Queen Joan of Portugal. Joanna was thus nicknamed "la Beltraneja", as a mocking reference to her assumed father. Pressure from members of the nobility forced the King to strip her of the title and name his half-brother Alfonso as heir, in 1464. In 1465, a group of nobility assembled in Ávila and overthrew King Henry, replacing him with Alfonso. That led to a war that ended in 1468 with the death of the 14-year-old Alfonso. Henry IV regained the throne, but the title of heir became disputed between Joanna, his daughter, and Isabella, his half-sister. That was resolved via the Treaty of the Bulls of Guisando, which gave Isabella succession rights but restricted her marriage options. Isabella secretly married Ferdinand in 1469 at the age of 17, ignoring Henry IV's wishes. Gradually, the couple gained a larger number of supporters and obtained a papal bull sanctioning their marriage from Pope Sixtus IV in 1472 and gained the support of the powerful Mendoza family in 1473. When Henry IV died in December 1474, both candidates for the throne were proclaimed Queen of Castile by their respective supporters. Aware of their position of weakness against Isabella's supporters, Joanna's supporters proposed for the 43-year-old King Afonso V of Portugal, a widower for some 20 years, to marry Joanna, his niece, and assume the throne of Castile with her.

Question: Who had marriage restrictions after a treaty was signed in to place?
Answer: Isabella

Question: How many years passed after King Henry was overthrown and before the war took place?
Answer: 3

Question: Who was Joanna's assumed father?
Answer: Beltrán de la Cueva

Question: How many years after Joanna's birth was she stripped of her title?
Answer: 2

Question: What year was Alfonso born?

Question: What year was Isabella born?

Question: How many years old was Joanna when her father stripped her of her title?
Answer: 2

Question: How many years after their marriage did Isabella and Ferdinand receive a Papal sanction?
Answer: 3

Question: What happened first: overthrew King Henry or Treaty of the Bulls?
Answer: overthrew King Henry

Question: What happened second: overthrew King Henry or Treaty of the Bulls?
Answer: Treaty of the Bulls

Question: How many daughters did King Henry IV have?
Answer: 1

Question: Where was Joanna la Beltraneja of, Castile, or Asturias?
Answer: Asturias

Question: Who was the mother of Joanna la Beltraneja?
Answer: Queen Joan of Portugal

Question: Who was Joanna la Beltraneja's assumed father?
Answer: Beltrán de la Cueva

Question: Who was named heir first, Joanna la Beltraneja, or Alfonso?
Answer: Alfonso

Question: How many years after Joanna la Beltraneja's birth was Alfonso named heir?
Answer: 2

Question: How many years after being named heir did Alfonso replace Henry on the throne?
Answer: 1

Question: How many years after taking the throne did Alfonso die?
Answer: 4

Question: What happened later the Treaty of the Bulls of Guisando, or the death of Alfonso?
Answer: Treaty of the Bulls

Question: How many years after their marriange did Isabella and Ferdinand obtain a papal bull sanctioning their marriage?
Answer: 3

Question: How many years after regaining the throne did Henry IV die?
Answer: 6

Question: How many candidates for the throne were proclaimed Queen of Castile?
Answer: 2

Question: How many years after King Henry was overthrown and replaced by Alfonso did Alfonso die?
Answer: 3

Question: How many years after Isabella married Ferdinand did supporters obtain a papal bull sanctioning their marriage from Pope Sixtus IV?
Answer: 3

Question: How many years after Isabella secretly married Ferdinand, ignoring Henry IV's wishes, did Henry IV die?
Answer: 5

Question: How many years after Joanna la Beltraneja was born was she stripped of her title and her half brother was named heir to King Henry?
Answer: 2

Question: How many years after King Henry was overthrown and replaced by Alfonso did Alfonso die?
Answer: 3

Question: What year was Alfonso born?

Question: How many years after Henry IV regained the throne did his half-sister secretly marry Ferdinand?
Answer: 1

Question: What year was Henry IV half-sister Isabella born?

Question: How many years after Isabella marry Ferdinand did they obtain a papal bull sanctioning their marriage from Pope Sixtus IV?
Answer: 3