King John I of Castile, who had claimed the Portuguese throne and invaded Portugal in 1383, triggering the Portuguese Succession War, has died. His death ends the crisis and threatening against the House of Aviz, who gained the throne after John of Aviz led revolts and defeated the Castilian army at the Battle of Aljubarrota in 1385. Although Castile continued fighting afterwards to enforce its claim, the death of King John I of Castile means the end of the crisis period and secures the rule of the new royal House of Aviz in Portugal.