John I of Castile
The war finally ended with the Peace of Almazán, in 1375, leaving no clear victor. Castile recovered "comarcas" that had passed under Aragonese rule, such as the lordship of Molina. A marriage was contracted between Eleanor of Aragon, daughter of Peter IV of Aragon, and John I of Castile, the successor of Henry II of Castile.