government = early_feudal_monarchy
primary_culture = aragonese
add_accepted_culture = catalan
add_accepted_culture = sicilian
religion = catholic
technology_group = western
historical_friend = POR
capital = 220 # Valencia

1336.1.24 = {
	monarch = {
		name = "Pere IV"
		dynasty = "de Barcelona"
		birth_date = 1319.9.5
		adm = 3
		dip = 2
		mil = 2
	}
}

1349.8.27 = {
	queen = {
		country_of_origin = SIC
		name = "Eleonora"
		dynasty = "de Barcelona"
		birth_date = 1335.1.1
		death_date = 1375.4.20
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1350.12.27 = {
	heir = {
		name = "Joan"
		monarch_name = "Joan I"
		dynasty = "de Barcelona"
		birth_date = 1350.12.27
		death_date = 1396.5.19
		claim = 95
		adm = 1
		dip = 2
		mil = 1
	}
}

1377.10.11 = {
	queen = {
		country_of_origin = ARA
		name = "Sibila"
		dynasty = "de Fortià"
		birth_date = 1350.1.1
		death_date = 1406.11.24
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1387.1.6 = {
	monarch = {
		name = "Joan I"
		dynasty = "de Barcelona"
		birth_date = 1350.12.27
		adm = 1
		dip = 2
		mil = 1
	}
	queen = {
		country_of_origin = BAR
		name = "Yolande"
		dynasty = "of Scarponnois"
		birth_date = 1365.1.1
		death_date = 1431.7.3
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1396.5.19 = { # Joan I dies leaving no heirs, his brother Martí is elected king
	monarch = {
		name = "Martí I"
		dynasty = "de Barcelona"
		birth_date = 1356.7.29
		adm = 2
		dip = 3
		mil = 2
	}
	queen = {
		country_of_origin = ARA
		name = "Maria"
		dynasty = "de Luna"
		birth_date = 1358.1.1
		death_date = 1406.12.20
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
	heir = {
		name = "Martí"
		monarch_name = "Martí II"
		dynasty = "de Barcelona"
		birth_date = 1374.7.25
		death_date = 1409.7.25
		claim = 95
		adm = 2
		dip = 3
		mil = 4
	}
}

1409.9.17 = {
	queen = {
		country_of_origin = ARA
		name = "Margarida"
		dynasty = "de Barcelona"
		birth_date = 1388.1.1
		death_date = 1429.7.23
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1410.5.31 = { # Martí I dies leaving no heirs, an interregnum 1410.5.31 - 1412.6.28 begins, where a king is elected in the 'Compromís de Casp' between 5 possible candidates
	monarch = {
		name = "Compromís de Casp"
		regent = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1410.6.1 = { capital = 214 } # Zaragoza

1412.6.28 = { # Elected king after the results of 'Compromís de Casp'
	monarch = {
		name = "Ferran I"
		dynasty = "de Trastámara"
		birth_date = 1380.11.27
		adm = 2
		dip = 1
		mil = 2
	}
	queen = {
		country_of_origin = CAS
		name = "Leonor"
		dynasty = "de Borgoña-Ivrea"
		birth_date = 1374.1.1
		death_date = 1435.12.16
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
	heir = {
		name = "Alfons"
		monarch_name = "Alfons V"
		dynasty = "de Trastámara"
		birth_date = 1396.1.1
		death_date = 1458.6.27
		claim = 95
		adm = 2
		dip = 4
		mil = 6
	}
}
		
1416.4.2 = {
	monarch = {
		name = "Alfons V"
		dynasty = "de Trastámara"
		birth_date = 1396.1.1
		adm = 2
		dip = 4
		mil = 6
		leader = {	name = "Alfons V"	type = general	rank = 0	fire = 4	shock = 3	manuever = 4	siege = 1 }
	}
	
	clear_scripted_personalities = yes
	add_ruler_personality = well_connected_personality
	add_ruler_personality = architectural_visionary_personality
	heir = {
		name = "Joan"
		monarch_name = "Joan II"
		dynasty = "de Trastámara"
		birth_date = 1397.6.29
		death_date = 1479.1.20
		claim = 95
		adm = 4
		dip = 1
		mil = 0
	}
	queen = {
		country_of_origin = CAS
		name = "Maria"
		dynasty = "de Trastámara"
		birth_date = 1401.9.14
		death_date = 1458.9.7
		female = yes
		adm = 4
		dip = 4
		mil = 3
	}
}

1440.1.1 = { government = feudal_monarchy }

1443.1.1 = { leader = {	name = "Bernat de Vilamarí"	type = admiral	rank = 1	fire = 3	shock = 2	manuever = 2	siege = 0	death_date = 1463.9.1 } }

1458.6.29 = {
	monarch = {
		name = "Joan II"
		dynasty = "de Trastámara"
		birth_date = 1397.6.29
		adm = 4
		dip = 1
		mil = 0
	}
	queen = {
		country_of_origin = CAS
		name = "Juana Enríquez"
		dynasty = "de Córdoba"
		birth_date = 1425.1.1
		death_date = 1468.2.13
		female = yes
		adm = 1
		dip = 2
		mil = 1
	}
}

1458.6.29 = {
	heir = {
		name = "Ferran"
		monarch_name = "Ferran II"
		dynasty = "de Trastámara"
		birth_date = 1452.3.10
		death_date = 1516.1.23
		claim = 95
		adm = 4
		dip = 6
		mil = 5
	}
}

1479.1.20 = {
	monarch = {
		name = "Ferran II"
		dynasty = "de Trastámara"
		birth_date = 1452.3.10
		adm = 4
		dip = 6
		mil = 5
		leader = {	name = "Ferran II"	type = general	rank = 0	fire = 3	shock = 2	manuever = 3	siege = 1 }
	}
	queen = {
		country_of_origin = CAS
		name = "Isabella"
		dynasty = "de Trastámara"
		birth_date = 1451.4.22
		death_date = 1504.11.26
		female = yes
		adm = 5
		dip = 6
		mil = 3
	}
	clear_scripted_personalities = yes
	add_ruler_personality = zealot_personality
	add_ruler_personality = lawgiver_personality
	add_ruler_personality = martial_educator_personality
}

1495.7.1 = { leader = {	name = "Prospero Colonna"      	type = general	rank = 1	fire = 3	shock = 3	manuever = 3	siege = 0	death_date = 1516.1.23 } }

1499.1.1 = { leader = { name = "Pedro Navarro"		type = general	rank = 1	fire = 3	shock = 2	manuever = 2	siege = 3	death_date = 1512.4.11 } } # Captured by French, after that in their service

1508.1.1 = { leader = {	name = "Ramón de Cardona"       type = general	rank = 1	fire = 3	shock = 3	manuever = 2	siege = 1	death_date = 1516.1.23 } }

1512.1.1 = { leader = { name = "Fernando d'Avalos"	 	type = general	rank = 1	fire = 3	shock = 3	manuever = 3	siege = 1	death_date = 1525.11.4 } }

1516.1.23 = { government = despotic_monarchy }

1724.1.20 = { government = administrative_monarchy }

1759.8.12 = { government = absolute_monarchy }
