John I of Castile
John of Aviz's rule became established fact with the Portuguese victory in the Battle of Aljubarrota on 14 August 1385, where he defeated John I of Castile. A formal peace between Portugal and Castile would not be signed until 1411.