 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.