Before being consolidated in his throne and being able to hand on power to his son John, Henry had to defeat Ferdinand I of Portugal. He embarked on the three Ferdinand Wars. Ferdinand's main ally in these wars was John of Gaunt, the husband of Peter's daughter Constance. Henry was allied with Charles V of France. He put the Castilian navy at Charles' disposal and they played a key part in the siege of La Rochelle, and the Battle of La Rochelle where the admiral Ambrosio Boccanegra completely defeated the English side.