Афонсу IV
The final peace and reconciliation between Afonso IV and his son-in-law Alfonso XI was effected only two years later, with the Treaty of Seville in July 1339, mediated by Maria of Portugal. Among the treaty's provisions was a commitment by Afonso IV of Portugal to assist Alfonso XI of Castile against an impending Marinid invasion force, then assembling in Morocco. This would culminate in the Battle of Río Salado in October 1340.