In 1356, he engaged with Peter I of Castile in what was called the "War of the Two Peters". It ended in 1375 with the Treaty of Almazan, without a winner due to the Black Death and several natural disasters.