In 1469, Isabel married Fernando. In 1474 when the king of Castilla died, a civil war broke out between the followers of Isabel and Juana la Beltraneja which ended in 1479 with the victory of Isabel. In that same year, Fernando became king of Aragon, resulting in the dynastic union of Castilla and Aragon, eventhough they retained their own laws,money,language, currency and institutions.