 The war concluded in 1479 with the Treaty of Alcáçovas, which recognized Isabella and Ferdinand as sovereigns of Castile and granted Portugal hegemony in the Atlantic, with the exception of the Canary Islands.Joanna lost her right to the throne of Castile and remained in Portugal until her death.This conflict has also been called the Second Castilian Civil War, but this name may lead to confusion with the other civil wars that involved Castile in the 14th and 15th centuries.