After the indecisive Battle of Toro in 1476 against King Ferdinand II of Aragon, the husband of Isabella I of Castile, he went to France to obtain the assistance of Louis XI, but finding himself deceived by the French monarch, he returned to Portugal in 1477.