﻿k_epirus = {
	1178.1.1 = { change_development_level = 24 }
	1204.10.1 = {
		government = administrative_government
		succession_laws = {
			acclamation_succession_law
		}
		effect = {
			if = {
				limit = {
					exists = holder
					holder = { has_government = administrative_government }
				}
				set_state_faith = faith:orthodox
			}
			if = {
				limit = {
					exists = holder
					has_dlc_feature = royal_court
				}
				holder = {
					set_court_type = court_intrigue
				}
			}
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					change_government = feudal_government
					add_realm_law_skip_effects = single_heir_succession_law
				}
			}
		}
		holder = 215517
	}
	1209.1.1 = {
		liege = "e_latin_empire" # Nominally becomes a Latin Empire vassal with Michael I of Epirus' daughter marrying Eustace, brother of Emperor Henry
	}
	#1210.6.20 = { # 20 June 1210
	#	liege = "0" # Pietro Ziani offers Michael to be a Venetian vassal instead and a treaty is signed
	#}
	#1210.7.1 = { # Summer 1210, after 20 June
	#	liege = "0" # Michael attacks Thessalonika
	#}
	1215.1.1 = {
		holder = 215514
	}
	# According to Filip van Tricht Epirus remains a Latin Empire vassal as late as Yolande and Peter becoming rulers and he also performed homage to 
	# Peter at Dyrrachion before attacking him sometime later
	1217.10.1 = { # 
		liege = "0" # 
	}
	1230.3.9 = {
		holder = 125715
	}
	#1248.1.1 = { # Michael II of Epirus Forced to recognize Ioannes III Doukas Vatatzes as Emperor in 1248
	#	holder = 0 # Although he is recognized in turn as Despotes in Epirus, they are both king tier titles
	#}
	1261.7.25 = {
		holder = 125715 # Reinstating the title
		liege = "e_byzantium"
		government = feudal_government
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = { # 1297-1318
		holder = 125728 # Thomas Komnenos Doukas, Despot of Epirus son of Nikephoros Komnenos Doukas
	}
	1318.1.1 = { # 1318–1323
		holder = 31440 # Nicolo Orsini, Despot of Epirus, nephew of Thomas Komnenos Doukas
	}
	1323.1.1 = { # 1323–1335
		holder = 31440 # Giovanni Orsini/Komnenos Doukas, Despot of Epirus, nephew of Thomas Komnenos Doukas and brother of Nicolo Orsini
	}
	1335.1.1 = { # 1335–1338, 1356-1359
		holder = 31443 # Nikephoros II Orsini Doukas, Despot of Epirus, son of Giovanni above
	}
}


d_epirus = {
	1178.1.1 = { change_development_level = 24 }

	330.1.1 = {
		liege = "e_byzantium"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	766.1.1 = {
		holder = 145799
	}
	865.1.1 = {
		holder = 145180
	}
	938.1.1 = { # 939
		holder = Boilaskatepanonikopolis939ABBC1 # Petronas Boilas, katepano of Nikopolis
	}
	1060.1.1 = {
		holder = 1764
	}
	1070.1.1 = { # Second half of 11th century 
		holder = PegonitesstrategosnikopolisABBC1 # Ioannes Pegonites, strategos of Nikopolis 
	}
	1081.10.18 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1178.1.1 = {
		holder = 215504 # Andronikos Angelos
	}
	1185.9.12 = {
		holder = 215508
	}
	1200.1.1 = {
		holder = 215513
	}
	1203.1.2 = {
		holder = 215514
	}
	1204.1.1 = { # 1204
		holder = Arcrunisenakerimstrategosnikopolis1204ABBC1 # Senakerim strategos of Nikopolis 
	}
	1204.10.1 = {
		holder = 215517
		liege = "k_epirus"
	}
	1215.1.1 = {
		holder = 215514
	}
	1230.3.9 = {
		holder = 125715
	}
	1248.1.1 = { # 1248
		liege = "k_nikaea" # Michael II of Epirus Forced to recognize Ioannes III Doukas Vatatzes as Emperor
	}
	1261.7.25 = {
		liege = "k_epirus"
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = {
		holder = 125728
	}
	
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}
}


c_nicopolis = {
	330.1.1 = {
		liege = "d_epirus"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	764.1.1 = {
		holder = 145800
	}
	866.1.1 = {
		holder = 145180
	}
	938.1.1 = { # 939
		holder = Boilaskatepanonikopolis939ABBC1 # Petronas Boilas, katepano of Nikopolis 
	}
	#Kontostephanos dynasty
	1060.1.1 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1178.1.1 = {
		holder = 215504 # Andronikos Angelos
	}
	1189.1.1 = {
		holder = 232514
	}
	1204.1.1 = { # 1204
		holder = Arcrunisenakerimstrategosnikopolis1204ABBC1 # Senakerim strategos of Nikopolis 
	}
	1204.10.1 = { # Shortly after September 1204 
		holder = 215517 # Senakerim is killed by locals before Michael Komnenos Doukas could reach Nicopolis to help him
	}
	1215.1.1 = {
		holder = 215514
	}
	1230.3.9 = {
		holder = 125715
	}
	1260.1.1 = { # Shortly after Battle of Pelagonia
		holder = 125743 # Nikaeans take Arta
		liege = "k_nikaea"
	}
	1260.3.1 = { #  Shortly after Nikaens took Arta
		holder = 125715 # Epirotes recover Arta
		liege = "k_epirus"
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = {
		holder = 125728
	}
	#from 1318 Orsini dynasty
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}
	

}


c_epeiros = {
	330.1.1 = {
		liege = "d_epirus"
	}
	766.1.1 = {
		holder = 145799
	}
	865.1.1 = {
		holder = 145180
	}
	1060.1.1 = {
		holder = 1764
	}
	1081.10.18 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1178.1.1 = {
		holder = 215504 # Andronikos Angelos
	}
	1185.9.12 = {
		holder = 215508
	}
	1198.1.1 = { # c. 1198
		de_jure_liege = "d_ioannina_epirus" # Theme of Ioannina is attested 
	}
	1200.1.1 = {
		holder = 215513
	}
	1203.1.2 = {
		holder = 215514
	}
	1204.10.1 = { # Shortly after September 1204
		holder = 215517 # Senakerim is killed by locals before Michael Komnenos Doukas could reach Nicopolis to help him
	}
	1215.1.1 = {
		holder = 215514
	}
	1225.1.1 = { # c. 1225 
		liege = "d_ioannina_epirus" # Theme of Ioannina is created, possibly for a second time under Epirus as it is attested in 1198
	}
	1230.3.9 = {
		holder = 125715
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = {
		holder = 125728
	}
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}

}


c_aetolia = {
	330.1.1 = {
		liege = "d_athens"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	#Skleros
	752.1.1 = {
		holder = 145806
	}
	794.1.1 = {
		holder = 145148
	}
	820.1.1 = {
		holder = 145149
	}
	845.1.1 = {
		holder = 145150
	}
	855.1.1 = {
		holder = 145151
	}
	#Branas
	1060.1.1 = {
		holder = 34580
	}
	1115.1.1 = {
		holder = 34581
	}
	1155.1.1 = {
		holder = 215060
	}
	1178.1.1 = {
		holder = 34276 # Alexios Angelos
		liege = d_epirus
	}
	1185.9.12 = {
		holder = 215061
	}
	1204.1.1 = { # 1204
		holder = Arcrunisenakerimstrategosnikopolis1204ABBC1 # Senakerim strategos of Nikopolis 
	}
	1204.10.1 = {
		holder = 215517
		liege = "k_epirus"
	}
	1215.1.1 = {
		holder = 215514
	}
	1217.1.1 = { # 1218 or shortly before
		holder = 215515 # Konstantinos Komnenos Doukas is appointed as governor in Aetolia and Acarnania
	}
	1243.1.1 = {
		holder = 125715
	}
	# Border between Ioannes Doukas Komnenos Angelos and his brother Nikephoros is said to be Achelos river
	1268.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly
		government = feudal_government
	}
	1289.1.1 = { # c. 1289-1303
		holder = 125735 # Konstantinos Doukas Komnenos Angelos, lord of Thessaly, son of Ioannes above
	}
	1303.1.1 = { # 1303-1318
		holder = 125736 # Ioannes II Doukas Komnenos Angelos, lord of Thessaly, son of Konstantinos above
	}
}


c_metzovo = {
	330.1.1 = {
		liege = "d_epirus"
	}
	766.1.1 = {
		holder = 145799
	}
	865.1.1 = {
		holder = 145180
	}
	1060.1.1 = {
		holder = 1764
	}
	1081.10.18 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1178.1.1 = {
		holder = 215500 # Isaakios Angelos
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
		liege = d_epirus
	}
	1185.9.12 = {
		holder = 215508
	}
	1200.1.1 = {
		holder = 215513
	}
	1203.1.2 = {
		holder = 215514
	}
	1204.1.1 = { # 1204
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas seems to be holding Agrafa
	}
	#1209.1.1 = { # c. 1209
	#	holder = 205528 # Eustace de Hainaut receives a third of Michael Komnenos Doukas' lands in dowry, exact location not mentioned
	#	liege = "e_latin_empire" 
	#}
	1228.1.1 = {
		holder = 215514
	#	liege = "k_epirus"
	}
	1230.3.9 = {
		holder = 125715
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = {
		holder = 125728
	}
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}

}


d_dyrrachion = {
	330.1.1 = {
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
		liege = "e_byzantium"
	}
	759.1.1 = {
		holder = 145817
	}
	843.1.1 = {
		liege = "k_bulgaria"
		government = feudal_government
	}
	865.1.1 = {
		liege = "e_byzantium"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					change_government = feudal_government
				}
			}
		}
		holder = 145124 # Thomas Gerontas
	}
	#1.1.1 = { # Second half of the ninth century
	#	holder = # Hadrianos basilikos protospatharios and strategos of Dyrrachion
	#}
	880.1.1 = { # 880, pulled earlier
		holder = Rhabdouchosstrategosdyrrachium917ABBC1 # Rhabouchos, strategos of Dyrrachion, possibly identical to Leon Rhabdouchos or perhaps a father or uncle
	}
	917.1.1 = { # 917
		holder = Rhabdouchosstrategosdyrrachium917ABBC1 # Leon Rhabdouchos, strategos of Dyrrachion 
	}
	924.1.1 = {
		holder = 0 # Autonomous or under Bulgarian Suzerainty during most of 10th century # WIP: Flesh out more
		liege = 0 #
	}
	999.1.1 = { # Shortly after 998
		liege = "e_byzantium" # In Byzantine control 
		holder = Daphnomelesstrategosdyrrachion1018ABBC1 # Eusthatios Daphnomeles is appointed strategos for the first time
	}
	1010.1.1 = { # Until 1018
		holder = Pegonitesstrategosdyrrachium1018ABBC1 # A Pegonites named Niketas or Nikephoros was strategos of Dyrrachion
	}
	1018.1.1 = { # 1018, before February
		holder = Daphnomelesstrategosdyrrachion1018ABBC1 # Eusthatios Daphnomeles is appointed strategos for the second time
	}
	1030.1.1 = { # 1040s, or possibly until 1040
		holder = 20487 # Basileios Synadenos, strategos  
	}
	1040.1.1 = { # From c. 1040
		holder = 159277 # Michael Dermokaites, strategos of Dyrrachion 
	}
	1043.1.1 = { # From 1042/3
		holder = Anastasioslogothetesdouxdyrrachion1042ABBC1 # Michael patrikios, magistros and doux son of logothetes Anastasius, doux of Dyrrachion
	}
	1049.1.1 = { # c. 1050
		holder = Botaneiatesstrategosdyrrachion1050ABBC1 # Leon Botaneiates is strategos of Dyrrachion
	}
	1059.1.1 = { # Before Leon Perenos
		holder = Aboulchareskatepanoitaly1064ABBC1 # Aboulchares may have been appointed as doux of Dyrrachion
	}
	1060.1.1 = { # From before April 1064
		holder = Perenoskatepanoitaly1068ABBC # Leon Perenos is doux of Dyrrachion 
	}
	1068.1.1 = { # 1060-1070s, possibly after 1064
		holder = Maurexdouxantioch1077ABBC1 # Maurex, katepano of Dyrrachion 
	}
	1070.1.1 = { # 1075-1077
		holder = 20502 # Nikephoros Bryennios the Elder, doux of Dyrrachion
	}
	1077.1.1 = { # 1077
		holder = 41308 # Nikephoros Basiliakos, doux of Dyrrachion replaced Nikephoros Bryennios 
	}
	1078.1.1 = { # 1078–1081
		holder = 42013 # Georgios Monomachatos, may or may not be a member of Monomachos family, doux of Dyrrachion 
	}
	1081.10.18 = {
		holder = 42014
	}
	1085.1.1 = { # 1085-1092 
		holder = 1781 # Ioannes Doukas, doux of Dyrrachion 
	}
	1092.1.1 = { # 1092-1106
		holder = 125701 # Ioannes Komnenos, doux of Dyrrachion 
	}
	1106.1.1 = { # Fromarly 1106 until sometime after 1108
		holder = Komnenosdouxdurazzo1107ABBC1 # Alexios Komnenos, doux of Dyrrachion, replaced his brother
	}
	#1.1.1 = { # Early during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	#	holder = # Pirogordus, possibly Pyrrogeorgios doux of Dyrrachion 
	#}
	1126.1.1 = { # Second quarter of 12th century during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
		holder = Kontostephanosdouxdurazzo1140ABBC1 # Alexios Kontostephanos, doux of Dyrrachion
	}
	1148.1.1 = { # Probably sometime between 1148-1156
		holder = 34382 # Alexios Bryennios, doux of Dyrrachion and Ohrid
	}
	1156.1.1 = { # Mid 12th century
		holder = 125710 # Alexios Doukas, doux of Dyrrachion, possibly identical to Alexios Doukas Mourtzophlos
	}
	1171.1.1 = { # Appointed c. 1171
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia 
	}
	1203.1.1 = {
		holder = 34282
	}
	1204.5.16 = {
		liege = "k_venice"
		holder = 167602 # Domenico Contarini
	}
	1215.1.1 = {
		holder = 0
	}
	1230.1.1 = {
		liege = "k_bulgaria"
	holder = 31160 #Ivan II
	}
	1256.1.1 = { # 1256
		liege = "k_nikaea" # Nicaeans regain control of Dyrrachion
		holder = 34452 
	}
	1257.1.1 = { # After winter of 1256-1257
		holder = 34460
		liege = k_sicily
	}
	# Manfred still holds Dyrrachion in September 1261
	1272.2.12 = { # 1272
		holder = 34461 # Gazo, Charles of Naples' vicar-general in Albania
	}
	1272.2.28 = { # Late February 1272
		de_jure_liege = "k_albania_sicily" # Kingdom of Albania is declared
		liege = k_albania_sicily
	}
	1273.1.1 = { # 1273/4
		holder = Cayeuxanseaulatinempirechamberlain1269ABBC1 # Anseau de Cayeux, vicar-general in Albania 
	}
	1276.1.1 = {
		holder = 34117
	}
	1279.7.1 = { # Before August 1279
		holder = 34462 # Hugues "le Rousseau" de Sully, Vicar-general of Albania
	}
	1282.1.1 = {
		holder = 468505
	}
	1321.10.29 = {
		holder = 34122
	}
	1322.6.1 = {
		holder = 468510
	}
	1331.11.3 = {
		holder = 468500
	}
}

c_dyrrachion = {
	867.1.1 = {	change_development_level = 7 }
	1066.1.1 = { change_development_level = 10 }
	1178.1.1 = { change_development_level = 24 }
	
	330.1.1 = {
		liege = "d_dyrrachion"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	759.1.1 = {
		holder = 145817
	}
	843.1.1 = {
		liege = "e_byzantium"
	}
	865.1.1 = {
		holder = 145124
	}
	880.1.1 = { # 880, pulled earlier
		holder = Rhabdouchosstrategosdyrrachium917ABBC1 # Rhabouchos, strategos of Dyrrachion, possibly identical to Leon Rhabdouchos or perhaps a father or uncle
	}
	917.1.1 = { # 917
		holder = Rhabdouchosstrategosdyrrachium917ABBC1 # Leon Rhabouchos, strategos of Dyrrachion 
		liege = "e_byzantium" #
	}
	924.1.1 = {
		holder = 0 # Autonomous or under Bulgarian Suzerainty during most of 10th century # WIP: Flesh out more
		liege = 0 #
	}
	989.1.1 = {
		liege = "d_dyrrachion"
	}
	999.1.1 = { # Shortly after 998
		liege = "e_byzantium" # In Byzantine control
		holder = Daphnomelesstrategosdyrrachion1018ABBC1 # Eusthatios Daphnomeles is appointed strategos for the first time
	}
	1010.2.1 = { # Until 1018
		liege = "d_dyrrachion"
		holder = Pegonitesstrategosdyrrachium1018ABBC1 # A Pegonites named Niketas or Nikephoros was Strategos of Dyrrachion 
	}
	1018.1.1 = { # 1018, before February
		holder = Daphnomelesstrategosdyrrachion1018ABBC1 # Eusthatios Daphnomeles is appointed strategos for the second time in 
	}
	1030.1.1 = {
		holder = 20487 # Basileios Synadenos was strategos in 1040s, or possibly until 1040 
	}
	1040.1.1 = {
		holder = 159277 # Michael Dermokaites, strategos of Dyrrachion from c. 1040
	}
	1043.1.1 = { # From 1042/3
		holder = Anastasioslogothetesdouxdyrrachion1042ABBC1 # Michael patrikios, magistros and doux son of logothetes Anastasius, doux of Dyrrachion
	}
	1049.1.1 = {
		holder = Botaneiatesstrategosdyrrachion1050ABBC1 # Leon Botaneiates is strategos of Dyrrachion c. 1050
	}
	1059.1.1 = {
		holder = Aboulchareskatepanoitaly1064ABBC1 # Aboulchares may have been appointed as doux of Dyrrachion before Leon Perenos
	}
	1060.1.1 = {
		holder = Perenoskatepanoitaly1068ABBC # Leon Perenos is doux of Dyrrachion in April 1064
	}
	1068.1.1 = {
		holder = Maurexdouxantioch1077ABBC1 # Maurex, katepano of Dyrrachion in 1060-1070s, possibly after 1064
	}
	1070.1.1 = {
		holder = 20502 # Nikephoros Bryennios the Elder, doux of Dyrrachion 1075-1077
	}
	1077.1.1 = {
		holder = 41308 # Nikephoros Basiliakos, doux of Dyrrachion replaced Nikephoros Bryennios in 1077
	}
	1078.1.1 = {
		holder = 42013 # Georgios Monomachatos, may or may not be a member of Monomachos family, doux of Dyrrachion in 1078–1081
	}
	1080.1.1 = {
		holder = komiskortes_of_dyrrachion # Komiskortes holds the title c. 1080
	}
	1081.10.18 = {
		holder = 42014
	}
	1085.1.1 = {
		holder = 1781 # Ioannes Doukas, doux of Dyrrachion 1085-1092 
	}
	1092.1.1 = {
		holder = 125701 # Ioannes Komnenos, doux of Dyrrachion 1092-1106
	}
	1106.1.1 = {
		holder = Komnenosdouxdurazzo1107ABBC1 # Alexios Komnenos, doux of Dyrrachion, replaced his brother in early 1106 held it until sometime after 1108
	}
	#1.1.1 = {
	#	holder = # Pirogordus, possibly Pyrrogeorgios doux of Dyrrachion early during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	#}
	1126.1.1 = {
		holder = Kontostephanosdouxdurazzo1140ABBC1 # Alexios Kontostephanos, doux of Dyrrachion in second quarter of 12th century, during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	}
	1148.1.1 = {
		holder = 34382 # Alexios Bryennios, doux of Dyrrachion and Ohrid probably sometime between 1148-1156
	}
	1156.1.1 = {
		holder = 125710 # Alexios Doukas, doux of Dyrrachion in mid 12th century, possibly identical to Alexios Doukas Mourtzophlos
	}
	1171.1.1 = {
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia appointed c. 1171
	}
	1187.1.1 = {
		holder = 215008
	}
	1200.1.1 = {
		holder = 232538
	}
	1203.1.1 = { # Sometime after siege of Zara 
		holder = 215507 # People of Dyrrachion swear fealty to Alexius III
		liege = 0
	}
	1203.7.6 = {
		liege = e_byzantium
	}
	1204.5.16 = {
		holder = 167602 # Domenico Contarini
		liege = k_venice
	}
	1213.1.1 = { # c. 1213
		holder = 215517 # Michael Komnenos Doukas takes Dyrrachion from Venetians 
		liege = "d_epirus"
	}
	1230.3.9 = {
		holder = 125715
	}
	1256.1.1 = { # 1256
		liege = "k_nikaea" # Nicaeans regain control of Dyrrachion
		holder = 34452 
	}
	1257.1.1 = { # After winter of 1256-1257
		liege = "k_sicily"
		holder = 34460
	}
	# Manfred still holds Dyrrachion in September 1261
	1272.2.12 = { # 1272
		liege = "k_sicily"
		holder = 34461 # Gazo, Charles of Naples' vicar-general in Albania
	}
	1273.1.1 = { #1273/4
		holder = Cayeuxanseaulatinempirechamberlain1269ABBC1 # Anseau de Cayeux, Charles of Naples' vicar-general in Albania
	}
	1279.8.1 = {
		holder = 34462
	}
	1282.8.30 = {
		liege = "k_naples"
		holder = 34602
	}
	1293.9.16 = {
		holder = 32791
	}
	1307.1.1 = {
		liege = "d_achaia"
	}
	1307.1.1 = {
		holder = 461712 #Phillipe II
	}
	1313.1.1 = {
		holder = 31344 #Louis I
	}
	1316.8.2 = {
		holder = 31343 #Mathilda
	}
	1318.1.1 = {
		holder = 455910 #Eudes
	}
	1320.1.1 = {
		holder = 455650 #Louis II
	}
	1322.1.1 = {
		holder = 461721 #Jean I
	}
	1332.1.1 = {
		holder = 461721 #Jean I
	}
	1336.1.2 = {
		liege = "d_dyrrachion"
	holder = 468500
	}
}

c_arbanon = {
	330.1.1 = {
		liege = "d_dyrrachion"
	}
	759.1.1 = {
		holder = 145817
	}
	843.1.1 = {
		liege = "e_byzantium"
	}
	865.1.1 = {
		holder = 145124
	}
	989.1.1 = {
		liege = "d_dyrrachion"
	}
	1005.1.1 = {
		liege = "e_byzantium"
	}
	1018.2.1 = {
		liege = "d_dyrrachion"
		holder = Pegonitesstrategosdyrrachium1018ABBC1 # A Pegonites named Niketas or Nikephoros was strategos of Dyrrachion in 1018
	}
	1040.1.1 = {
		holder = 20487 # Basileios Synadenos was strategos in 1040s, PDX, not 1050
	}
	1049.1.1 = {
		holder = Botaneiatesstrategosdyrrachion1050ABBC1 # Leon Botaneiates is strategos of Dyrrachion c. 1050
	}
	1059.1.1 = {
		holder = Aboulchareskatepanoitaly1064ABBC1 # Aboulchares may have been appointed as doux of Dyrrachion before Leon Perenos
	}
	1060.1.1 = {
		holder = Perenoskatepanoitaly1068ABBC # Leon Perenos is doux of Dyrrachion in April 1064
	}
	1068.1.1 = {
		holder = Maurexdouxantioch1077ABBC1 # Maurex, katepano of Dyrrachion in 1060-1070s, possibly after 1064
	}
	1070.1.1 = {
		holder = 90035
	}
	1077.1.1 = {
		holder = 41308	#Nikephoros Basiliakos, doux of Dyrrachion replaced Nikephoros Bryennios in 1077
	}
	1081.10.18 = {
		holder = 42014
	}
	1085.1.1 = {
		holder = 1781 # Ioannes Doukas, doux of Dyrrachion 1085-1092 
	}
	1092.1.1 = {
		holder = 125701 # Ioannes Komnenos, doux of Dyrrachion 1092-1106
	}
	1106.1.1 = {
		holder = Komnenosdouxdurazzo1107ABBC1 # Alexios Komnenos, doux of Dyrrachion, replaced his brother in early 1106 held it until sometime after 1108
	}
	#1.1.1 = {
	#	holder = # Pirogordus, possibly Pyrrogeorgios doux of Dyrrachion early during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	#}
	1126.1.1 = {
		holder = Kontostephanosdouxdurazzo1140ABBC1 # Alexios Kontostephanos, doux of Dyrrachion in second quarter of 12th century, during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	}
	1148.1.1 = {
		holder = 34382 # Alexios Bryennios, doux of Dyrrachion and Ohrid probably sometime between 1148-1156
	}
	1156.1.1 = {
		holder = 125710 # Alexios Doukas, doux of Dyrrachion in mid 12th century, possibly identical to Alexios Doukas Mourtzophlos
	}
	1171.1.1 = {
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia appointed c. 1171
	}
	1187.1.1 = {
		holder = 215008
	}
	1190.1.1 = { # c. 1190
		liege = "d_arbanon_epirus" # Principality of Arbanon
		de_jure_liege = "d_arbanon_epirus"
		government = feudal_government
	}
	1200.1.1 = {
		holder = 232538
	}
	1208.1.1 = {
		holder = 232539 # Demetrius, last ruler of Arbanon from Progon family
	}
	1215.1.1 = {
		holder = 232540 # Grgur Kamonas becomes the ruler of Principality of Arbanon c. 1215
	}
	1234.1.1 = {
		holder = 34448 # Goulamos of Kruje, son-in-law of Grgur Kamonas inherits at an unknown date
	}
	#Golem and other notables meet with Georgios Akropolites in winter 1256/7 and Akropolites annexes Arbanon and installed a Byzantine civil, military and fiscal administration
	1256.12.1 = {
		holder = Chabarongovernorarbanon1256ABBC1 # Konstantinos Charbanon, governor of Arbanon c. 1256/7
		government = administrative_government
	}
	1257.1.1 = {
		liege = "k_sicily"
		holder = 34460
		government = feudal_government
	}
	1259.1.1 = {
		liege = "d_arbanon_epirus"
		holder = 34449
		government = administrative_government
	}
	1261.9.1 = { # September 1261
		holder = 7636 # Manfred of Sicily recovers lost territory
		government = feudal_government
	}
	1261.9.2 = { # Before 1266
		holder = 34460 # Vrana governor of Arbanon under Manfred of Sicily
	}
	1272.2.12 = { # 1272
		liege = "k_sicily"
		holder = 34461 # Gazo, Charles of Naples' vicar-general in Albania
		government = feudal_government
	}
	1273.1.1 = { #1273/4
		holder = Cayeuxanseaulatinempirechamberlain1269ABBC1 # Anseau de Cayeux, Charles of Naples' vicar-general in Albania
	}
	1279.8.1 = {
		holder = 34462
	}
	1282.8.30 = {
		liege = "k_naples"
		holder = 34602
	}
	1293.9.16 = {
		holder = 32791
	}
	1307.1.1 = {
		liege = "d_achaia"
	}
	1307.1.1 = {
		holder = 461712 #Phillipe II
	}
	1313.1.1 = {
		holder = 31344 #Louis I
	}
	1316.8.2 = {
		holder = 31343 #Mathilda
	}
	1318.1.1 = {
		holder = 455910 #Eudes
	}
	1320.1.1 = {
		holder = 455650 #Louis II
	}
	1322.1.1 = {
		holder = 461721 #Jean I
	}
	1332.1.1 = {
		holder = 461721 #Jean I
	}
	1336.1.2 = {
		liege = "d_dyrrachion"
		holder = 468500
	}
}

c_debar = {
	330.1.1 = {
		liege = "d_dyrrachion"
	}
	640.1.1 = {
		liege = "d_rashka"
	}
	748.1.1 = {
		holder = 146011
	}
	787.1.1 = {
		holder = 146012
	}
	806.1.1 = {
		holder = 146013
	}
	# since 843.1.1 d_dyrrachion is under k_bulgaria
	843.1.1 = {
		liege = "d_dyrrachion"
	}
	852.1.1 = {
		holder = 70382 #Boris
	}
	860.1.1 = {
		holder = 70383
		liege = "d_vidin"
	}
	893.1.1 = {
		holder = 712 #Simeon
	}
	1066.1.1 = {
		liege = d_dyrrachion
		holder = 42017
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	1078.1.1 = {
		holder = 20481
	}
	1085.1.1 = {
		holder = 1781 # Ioannes Doukas, doux of Dyrrachion 1085-1092 
	}
	1092.1.1 = {
		holder = 125701 # Ioannes Komnenos, doux of Dyrrachion 1092-1106
	}
	1106.1.1 = {
		holder = Komnenosdouxdurazzo1107ABBC1 # Alexios Komnenos, doux of Dyrrachion, replaced his brother in early 1106 held it until sometime after 1108
	}
	#1.1.1 = {
	#	holder = # Pirogordus, possibly Pyrrogeorgios doux of Dyrrachion early during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	#}
	1126.1.1 = {
		holder = Kontostephanosdouxdurazzo1140ABBC1 # Alexios Kontostephanos, doux of Dyrrachion in second quarter of 12th century, during the reigns of Ioannes II Komnenos (1118-1143) and George I of Dukjla (1113-1118, 1125-1131)
	}
	1148.1.1 = {
		holder = 34382 # Alexios Bryennios, doux of Dyrrachion and Ohrid probably sometime between 1148-1156
	}
	1156.1.1 = {
		holder = 125710 # Alexios Doukas, doux of Dyrrachion in mid 12th century, possibly identical to Alexios Doukas Mourtzophlos
	}
	1171.1.1 = {
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia appointed c. 1171
	}
	1190.1.1 = { # c. 1190
		liege = "d_arbanon_epirus" # Principality of Arbanon
		de_jure_liege = "d_arbanon_epirus"
		government = feudal_government
	}
	1200.1.1 = {
		holder = 232538
	}
	1208.1.1 = {
		holder = 232539 # Demetrius, last ruler of Arbanon from Progon family
	}
	1215.1.1 = {
		holder = 232540 # Grgur Kamonas becomes the ruler of Principality of Arbanon c. 1215
	}
	1234.1.1 = {
		holder = 34448 # Goulamos of Kruje, son-in-law of Grgur Kamonas inherits at an unknown date
	}
	#Golem and other notables meet with Georgios Akropolites in winter 1256/7 and Akropolites annexes Arbanon and installed a Byzantine civil, military and fiscal administration
	1256.12.1 = {
		holder = Chabarongovernorarbanon1256ABBC1 # Konstantinos Charbanon, governor of Arbanon c. 1256/7
		government = administrative_government
	}
	#1246.8.1 = {
	#	liege = "k_serbia"
	#}
	#1246.8.1 = {
	#	holder = 34088
	#}
	1261.9.1 = { # September 1261
		holder = 7636 # Manfred of Sicily recovers lost territory
		government = feudal_government
	}
	# WIP: 1273 Pal Gropa
	1276.1.1 = {
		holder = 34117
	}
	1282.1.1 = {
		holder = 468505
	}
	1321.10.29 = {
		holder = 34122
	}
	1322.6.1 = {
		holder = 468510
	}
	1331.11.3 = {
		holder = 468500
	}
}

c_antipatreia = {
	330.1.1 = {
		liege = "d_epirus"
	}
	766.1.1 = {
		holder = 145799
	}
	865.1.1 = {
		holder = 145124
		liege = e_byzantium
	}
	1018.2.1 = {
		liege = d_dyrrachion
		holder = Pegonitesstrategosdyrrachium1018ABBC1 # A Pegonites named Niketas or Nikephoros was strategos of Dyrrachion in 1018
	}
	1040.1.1 = {
		holder = 20487 # Basileios Synadenos was strategos in 1040s, PDX, not 1050
	}
	1049.1.1 = {
		holder = Botaneiatesstrategosdyrrachion1050ABBC1 # Leon Botaneiates is strategos of Dyrrachion c. 1050
	}
	1059.1.1 = {
		holder = Aboulchareskatepanoitaly1064ABBC1 # Aboulchares may have been appointed as doux of Dyrrachion before Leon Perenos
	}
	1060.1.1 = {
		holder = Perenoskatepanoitaly1068ABBC # Leon Perenos is doux of Dyrrachion in April 1064
	}
	1068.1.1 = {
		holder = Maurexdouxantioch1077ABBC1 # Maurex, katepano of Dyrrachion in 1060-1070s, possibly after 1064
	}
	1070.1.1 = {
		holder = 90035
	}
	1077.1.1 = {
		holder = 41308	#Nikephoros Basiliakos, doux of Dyrrachion replaced Nikephoros Bryennios in 1077
	}
	1081.10.18 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1171.1.1 = {
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia appointed c. 1171
	}
	1185.9.12 = {
		holder = 215508
	}
	1200.1.1 = {
		holder = 215513
	}
	1203.1.1 = { # 1203
		holder = 215702 # Kaloyan takes Berat
		liege = k_bulgaria
		government = feudal_government
	}
	1204.1.1 = { # 1204
		holder = Arcrunisenakerimstrategosnikopolis1204ABBC1 # Senakerim strategos of Nikopolis 
		government = administrative_government
	}
	1204.10.1 = {
		holder = 215517 # Senakerim is killed by locals shortly after September 1204 before Michael Komnenos Doukas could reach Nicopolis to help him
	}
	1215.1.1 = {
		holder = 215514
	}
	1230.3.9 = {
		holder = 125715
	}
	1261.9.1 = { # September 1261
		holder = 7636 # Manfred of Sicily recovers lost territory
		government = feudal_government
	}
	1266.2.26 = {
		holder = 125726
	}
	1274.5.1 = { # Spring 1274, after the Second Council of Lyon  
		holder = 465527 # Michael VIII Palaiologos captures Berat and Buthrotum
		liege = e_byzantium
		government = administrative_government
	}
	1297.1.1 = {
		holder = 125728
	}
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}
}

c_avlonas = {
	330.1.1 = {
		liege = "d_epirus"
	}
	766.1.1 = {
		holder = 145799
	}
	865.1.1 = {
		holder = 145124
		liege = e_byzantium
	}
	1018.2.1 = { # 1018
		liege = d_dyrrachion
		holder = Pegonitesstrategosdyrrachium1018ABBC1 # A Pegonites named Niketas or Nikephoros was strategos of Dyrrachion
	}
	1040.1.1 = { # 1040s, PDX, not 1050
		holder = 20487 # Basileios Synadenos was strategos
	}
	1049.1.1 = { # c. 1050
		holder = Botaneiatesstrategosdyrrachion1050ABBC1 # Leon Botaneiates is strategos of Dyrrachion
	}
	1059.1.1 = { # before Leon Perenos
		holder = Aboulchareskatepanoitaly1064ABBC1 # Aboulchares may have been appointed as doux of Dyrrachion
	}
	1060.1.1 = { # April 1064
		holder = Perenoskatepanoitaly1068ABBC # Leon Perenos is doux of Dyrrachion 
	}
	1066.1.1 = {
		holder = komiskortes_of_dyrrachion # Moving Komiskortes to Avlonas to keep him playable in 1066 start 
	}
	1068.1.1 = { # 1060-1070s, possibly after 1064
		holder = Maurexdouxantioch1077ABBC1 # Maurex, katepano of Dyrrachion
	}
	1070.1.1 = {
		holder = 90035
	}
	1077.1.1 = { # 1077
		holder = 41308	#Nikephoros Basiliakos, doux of Dyrrachion replaced Nikephoros Bryennios
	}
	1081.10.18 = {
		holder = 90093
		liege = d_vidin
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1171.1.1 = { # c. 1171
		holder = doukas_2 # Konstantinos Doukas, dux of Dyrrachion and Dalmatia appointed
	}
	1185.9.12 = {
		holder = 215508
	}
	1200.1.1 = { # Exists by 1210
		de_jure_liege = "d_avlon_epirus" # 
	}
	1200.1.1 = {
		holder = 215513
	}
	1203.1.2 = {
		holder = 215514
	}
	1204.1.1 = { # 1204
		holder = Arcrunisenakerimstrategosnikopolis1204ABBC1 # Senakerim strategos of Nikopolis
	}
	1204.10.1 = {
		holder = 215517 # Senakerim is killed by locals shortly after September 1204 before Michael Komnenos Doukas could reach Nicopolis to help him  
	}
	1215.1.1 = {
		holder = 215514
	}
	1230.3.9 = {
		holder = 125715
	}
	1259.1.1 = { # From before 6 June 1259, maybe in 1258
		holder = 7636 # Avlonas is under Manfred of Sicily's control
	}
	1266.2.26 = {
		holder = 125726
	}
	1268.1.1 = {
		holder = 125726
	}
	1297.1.1 = {
		holder = 125728
	}
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}

}

d_cephalonia = {
	330.1.1 = {
		liege = "e_byzantium"
	}
	#1.1.1 = { # 8th century
	#	holder = # Lykastos, hypatos, basilikos spatharios and strategos of Cephalonia
	#}
	#1.1.1 = { # 8th century
	#	holder = # Theophanes hypatos, basilikos spatharokandidatos and strategos of Cephalonia
	#}
	#1.1.1 = { # 8th/9th century
	#	holder = # Gregoras basilikos spatharios and strategos of Cephalonia
	#}
	#1.1.1 = { # 8th/9th century
	#	holder = # Konstantinos (proto)spatharios and strategos of Cephalonia
	#}
	#1.1.1 = { # 9th century
	#	holder = # Ioannes, basilikos protospatharios and strategos of Cephalonia
	#}
	#1.1.1 = { # 9th century
	#	holder = # Antigonos, strategos of Cephalonia, I'm adding Antigonos the cousin of Michael III since he is alive and held some offices
	#}
	#880.1.1 = { # 880
	#	holder = # Mousilikios, Strategos of Sicily during when Ignatios was Patriarch. Strategos of Kephallonia 
	# during the reign of Basil and when Prokopios(the strategos of sicily below) was the overall commander of Western themes., https://pbe.kcl.ac.uk/data/D56/F27.htm
	#}
	887.1.1 = { # After 880/1
		holder = NasarbarsakiosstrategosABBC1 # Barsakios, strategos of Cephalonia, possibly
	}
	#1.1.1 = { # 10th century
	#	holder = # Symeon (?) imperial protospatharios and strategos of Cephalonia and Longobardia
	#}
	#1.1.1 = { # 10th century
	#	holder = # Theodosios basilikos protospatharios and strategos of Cephalonia and Longobardia
	#}
	#1.1.1 = { # 10th/11th century
	#	holder = # Theodotos basilikos protospatharios and strategos of Cephalonia
	#}
	1037.1.1 = { # Mid 11th century
		holder = Glabasstrategoscephaloniamid11thcenturyABBC1 # Katakalon Glabas/Gabras, basilikos protospatharios and strategos of Cephalonia
	}
	# 1071 With loss of Byzantine Italy, administration of Cephalonia passes from a strategos to a krites
	#1.1.1 = { # 11th century
	#	holder = # Leon Barenos/Karenos, basilikos protospatharios and krites of Cephalonia and Nikopolis
	#}
}

c_cephalonia = {
	330.1.1 = {
		liege = "d_epirus"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
	}
	769.1.1 = {
		holder = 145801
	}
	865.1.1 = {
		holder = 145181
	}
	887.1.1 = { # Possibly after 880/1
		holder = NasarbarsakiosstrategosABBC1 # Barsakios, strategos of Cephalonia
	}
	1037.1.1 = { # Mid 11th century
		holder = Glabasstrategoscephaloniamid11thcenturyABBC1 # Katakalon Glabas/Gabras, basilikos protospatharios and strategos of Cephalonia
	}
	1067.1.1 = {
		holder = 90092
	}
	# 1071 With loss of Byzantine Italy, administration of Cephalonia passes from a strategos to a krites
	#1.1.1 = { # 11th century
	#	holder = # Leon Barenos/Karenos, basilikos protospatharios and krites of Cephalonia and Nikopolis
	#}
	1072.1.1 = { # After 15 April 1071
		liege = d_epirus # 
	}
	1098.1.1 = {
		holder = 232512
	}
	1120.1.1 = {
		holder = 232529
	}
	1135.1.1 = {
		holder = 232530
	}
	1154.1.1 = {
		holder = 215014
	}
	1178.1.1 = {
		holder = 215504 # Andronikos Doukas
	}
	1185.9.12 = {
		liege = "k_sicily"
		holder = 211531 #Margitone di Brindisi
	}
	#counts of Cephalonia
	# WIP: Remove vassalages, make it tributary as it was de facto independent
	1197.1.1 = {
		government = feudal_government
	}
	1197.1.1 = {
		holder = 31433 #Matteo I Orsini
	}
	1209.1.1 = { # 1209
		liege = "k_venice" # Matteo Orsini recognizes suzerainty of Venice
	}
	1216.1.1 = { # 1216
		liege = "k_papal_state" # Matteo Orsini recognizes suzerainty of Papacy
	}
	1236.1.1 = { # 1236
		liege = "d_achaia" # Matteo Orsini recognizes suzerainty of Achaia
	}
	1238.1.1 = {
		holder = 31434 #Matteo II Orsini
	}
	1262.1.1 = {
		holder = 31435 #Riccardo Orsini
	}
	1303.4.7 = {
		holder = 31436 #Giovanni I Orsini
	}
	1317.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1318.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	#To kingdom of Naples
	1325.1.1 = {
		liege = "d_calabria"
	}
	1325.1.1 = {
		holder = 461721 #Jean d'Anjou
	}
	1330.1.1 = {
		holder = 32541 #Guglielmo Tocco
	}
	1335.9.22 = {
		holder = 32543 #Leonardo Tocco
	}
}


c_buthrotum = {
	330.1.1 = {
		liege = "d_epirus"
	}
	# After the failed siege of Thessalonika ca. 614-616, Vayunites tribe move to coast of Epirus
	620.1.1 = { 
		holder = VayunitesthessalonikaABBC2 # Fictional Vayunites
		government = tribal_government
		liege = 0
	}
	660.1.1 = { 
		holder = VayunitesvagenetiaABBC1 # Fictional Vayunites
	}
	700.1.1 = {
		holder = VayunitesvagenetiaABBC2 # Fictional Vayunites
	}
	735.1.1 = {
		holder = VayunitesvagenetiaABBC3 # Fictional Vayunites
	}
	# From 7th or 8th century there are mentions of Archons of Vayunites with Byzantine titles, so I'm making them vassals of Byzantine Empire 
	# and also making them feudal 
	740.1.1 = { 
		liege = e_byzantium
		government = feudal_government
	}
	755.1.1 = { # 7th or 8th century 
		holder = VayunitesarhcontheodorosABBC1 # Theodoros, basilikos spatharios and Archon of Vayunites 
	}
	810.1.1 = {
		holder = VayunitesvagenetiaABBC4 # Fictional Vayunites
	}
	835.1.1 = {
		holder = VayunitesvagenetiaABBC5 # Fictional Vayunites
	}
	875.1.1 = { # Late 9th / early 10th century 
		holder = VayunitesarchonhilarionABBC1 # Hilarion, archon of the Vayunites tribe
	}
	1060.1.1 = {
		holder = 1764
	}
	1081.10.18 = {
		holder = 90093
	}
	1093.1.1 = {
		holder = 90092
	}
	1098.1.1 = {
		holder = 232512
	}
	1149.1.1 = {
		holder = 215035
	}
	1178.1.1 = {
		holder = 215526 # Isaakios Angelos
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					change_government = feudal_government
				}
			}
		}
		liege = d_epirus
	}
	1185.9.12 = {
		holder = 215508
	}
	1197.1.1 = { # 1197-1206
		liege = "k_genoa" # Leone Vetrano conqured Corfu and held it until his execution by the Venetians
		holder = Vetranocountcorfu1197ABBC1
		government = republic_government
	}
	1206.4.1 = { # In 1206, sometime before the capture of Modon/Methoni
		liege = "k_venice" # Reniero Dandolo captured Corfu 
		holder = 32121
	}
	1214.1.1 = { # c. 1214
		holder = 215517 # Michael Komnenos Doukas takes Corfu from Venetians
		liege = "d_epirus"
		government = administrative_government
	}
	1215.1.1 = {
		holder = 215514
	}
	1230.3.9 = {
		holder = 125715
	}
	#1236.1.1 = { # c. 1236
	#	holder = 125715 # Michael Komnenos Doukas Captures Corfu
	#}
	1238.1.1 = { # After 1237
		holder = Angeloskomnenosdoukasgovernorcorfu1237ABBC1 # Komnena Doukaina possibly named Irene, governed Corfu on behalf of her brother
	}
	1258.1.1 = { # c. 1259 
		holder = 7636 # Corfu is ceded King Manfred of Sicily as part of dowry
		liege = "k_sicily"
		government = feudal_government
	}
	1258.1.2 = { # c. 1258
		holder = Chinardgovernorcorfu1258ABBC1 # Philippe Chinard, governor of Corfu 
	}
	1266.2.26 = {
		liege = k_epirus #  Michael II of Epirus allows Philippe Chinard to remain as governor of Corfu after the death of King Manfred of Sicily
	}
	1266.6.1 = { # 
		liege = "k_sicily"
		holder = 455406 # Gazo Chinard is enraged by the murder of his relative Philippe and hands over Corfu to Angevins 
	}
	1266.6.2 = { # 
		liege = "k_sicily"
		holder = 34461 # Gazo Chinard is appointed captain general of Corfu
	}
	1274.5.1 = { # Spring 1274, after the Second Council of Lyon  
		holder = 465527 # Michael VIII Palaiologos captures Berat and Buthrotum
		liege = e_byzantium
		government = administrative_government
	}
	1279.7.1 = { # August 1279 or before
		holder = 34462 # Hugues "le Rousseau" de Sully, Vicar-general of Albania, Durrës, Vlorë, Sopot, Butrint and Corfu
		government = feudal_government
	}
	1297.1.1 = {
		holder = 125728
	}
	1318.1.1 = {
		holder = 31440 #Nicolo Orsini
	}
	1323.1.1 = {
		holder = 31441 #Giovanni II Orsini
	}
	1335.1.1 = {
		holder = 31443 #Nikephoros Orsini
	}

}

