Muhammad XII soon after sought to gain prestige by invading Castile.
The court was increasingly troubled by Alfonso's behavior and as a result, the Pope intervened by forcing Portugal to invade Castile.
Blanche's brother Philip warned Sancho that he would invade Castile on behalf of his two nephews.
In the subsequent civil war, Afonso V of Portugal married Juana and invaded Castile (May 1475), defending her rights.
In October the "Holy Constable" invaded Castile and won another victory at Valverde.
The French then moved out of friendly territory to invade Castile, crossing the Ebro and besieging Logroño.
The latter king invaded Castile, aided by his brother Alfonso V of Aragón.
Almanzor was finishing a campaign in Galicia when he decided to invade Castile.
In 1163, he was again with the royal Leonese army that invaded Castile.
Alfonso invaded Castile in May 1475, backed by a number of dissident Castilian nobles.