﻿k_thessalonika = {
	660.1.1 = {
		effect = {
			set_capital_county = title:c_thessalonika
		}
	}
	1178.1.1 = { change_development_level = 24 }

	1066.1.1 = {
		holder = 0
	}
 	1204.5.16 = { # Latin Empire
		de_jure_liege = "e_latin_empire"
 	}
	1204.6.1 = { # Sometime after Baldwin's coronation as Emperor
		liege = "e_latin_empire"
		government = feudal_government
		holder = 213523 # Baldwin agrees to Grant Thessalonika to Bonifazio I
	}
	1207.9.4 = {
		holder = 31346 # Demetrio, son of Bonifazio 
	}
	1224.12.1 = { # December 1224
		holder = 215514 # Despot of Epirus Theodoros Komnenos Angelos conquers 
	}
	1230.3.9 = { # After 9 March 1230
		holder = 0
		#holder = 215516 # Manuel Komnenos Doukas, Emperor of Thessalonika after battle of Klokotnitsa, disabled because he is a Bulgarian vassal
	}
 	1261.8.15 = { # Byzantine Empire
		de_jure_liege = "e_byzantium"
 	}
}



d_thrace = {
	1178.1.1 = { change_development_level = 24 }

	330.1.1 = {
		liege = "e_byzantium"
		holder = 70523
	}
	337.5.22 = {
		holder = 70520
	}
	340.4.1 = {
		holder = 70522
	}
	350.2.1 = {
		holder = 70521
	}
	361.11.3 = {
		holder = 145237
	}
	363.6.26 = {
		holder = 145235
	}
	364.2.17 = {
		holder = 145231
	}
	364.3.28 = {
		holder = 145232
	}
	378.8.9 = {
		holder = 145233
	}
	379.1.19 = {
		holder = 70534
	}
	395.1.17 = {
		holder = 70519
	}
	408.5.1 = {
		holder = 145227
	}
	421.2.8 = {
		holder = 145228
	}
	421.9.2 = {
		holder = 70533
	}
	450.7.28 = {
		holder = 70531
	}
	450.8.25 = {
		holder = 70518
	}
	457.1.27 = {
		holder = 70517
	}
	474.1.18 = {
		holder = 70516
	}
	474.11.17 = {
		holder = 70515
	}
	475.1.9 = {
		holder = 145226
	}
	476.8.15 = {
		holder = 70515
	}
	491.4.9 = {
		holder = 70514
	}
	518.7.9 = {
		holder = 70513
	}
	527.8.1 = {
		holder = 70512
	}
	565.11.14 = {
		holder = 70511
	}
	578.10.5 = {
		holder = 145073
	}
	582.8.14 = {
		holder = 70510
	}
	602.11.27 = {
		holder = 145072
	}
	610.10.5 = {
		holder = 145071
	}
	641.2.11 = {
		holder = 70509
	}
	641.4.20 = {
		holder = 145070
	}
	641.10.1 = {
		holder = 70508
	}
	660.1.1 = { # c. 660 inception of the theme system
		de_jure_liege = "k_thrace"
		government = administrative_government
		effect = {
			set_capital_county = title:c_brysis
		}
	}
	668.7.15 = {
		holder = 70507
	}
	685.9.14 = {
		holder = 70506
	}
	695.11.1 = {
		holder = 70505
	}
	698.11.1 = {
		holder = 145069
	}
	705.8.21 = {
		holder = 70506
	}
	711.11.24 = {
		holder = 145068
	}
	713.6.3 = {
		holder = 70504
	}
	715.11.1 = {
		holder = 70532
	}
	717.3.25 = {
		holder = 70502
	}
	741.6.18 = {
		holder = 70501
	}
	742.7.1 = {
		holder = 145225
	}
	743.11.2 = {
		holder = 70501
	}
	775.9.14 = {
		holder = 70500
	}
	780.9.8 = {
		holder = 70499
	}
	797.8.15 = {
		holder = 70498
	}
	#801.1.1 = { # 801/2
	#	holder = # Aetios appoints his brother Leo as monostrategos of Thrace and Macedonia
	#}
	802.10.31 = {
		holder = 70497
	}
	811.7.26 = {
		holder = 70496
	}
	811.10.2 = {
		holder = 70494
	}
	813.7.11 = {
		holder = 70493
	}
	820.12.27 = {
		holder = 70492
	}
	829.10.2 = {
		holder = 70491
	}
	842.1.20 = {
		holder = 70490
	}
	#866.9.24 = {
	#	holder = 1700
	#}
	867.1.1 = { # 880
		holder = Stypeiotesstrategosthracemacedonia880ABBC1 # Leon Apostoupes strategos of Macedonia and Thrace
	}
	920.12.17 = {
		holder = 1706
	}
	944.12.16 = {
		holder = 145223
	}
	945.1.27 = {
		holder = 1708
	}
	955.1.1 = { # 955
		holder = 145162 # Marianos Argyros, strategos of Macedonia and Thrace 
	}
	959.11.9 = {
		holder = 1710
	}
	963.3.15 = {
		holder = 1712
	}
	969.12.10 = {
		holder = 1714
	}
	976.1.10 = {
		holder = 1716
	}
	1010.1.1 = { # 1000/19
		holder = Xiphiasstrategosphilippopolis1000ABBC1 # Nikephoros Xiphias appointed strategos of Thrace
	}
	1025.12.15 = {
		holder = 1718
	}
	1028.11.15 = {
		holder = 1720
	}
	1034.4.11 = {
		holder = 1722
	}
	1041.12.10 = {
		holder = 1724
	}
	1042.4.20 = {
		holder = 1717
	}
	1042.6.11 = {
		holder = 1726
	}
	1055.1.11 = {
		holder = 1719
	}
	1056.8.31 = {
		holder = 70432
	}
	1057.8.31 = {
		holder = 1730
	}
	1059.11.22 = {
		holder = 1732
	}
	1067.5.22 = {
		holder = 1733
	}
	1068.1.1 = {
		holder = 1734
	}
	1071.8.26 = {
		holder = 1736
	}
	1078.3.31 = {
		holder = 1740
	}
	1081.4.1 = {
		holder = 1742
	}
	1118.8.15 = {
		holder = 223023
	}
	1143.4.8 = {
		holder = 215530
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215500
	}
	1195.6.1 = {
		holder = 215503
	}
	1203.7.18 = {
		holder = 215507
	}
	1204.1.28 = {
		holder = 125710
	}
	#1204.5.16 = {
	#	holder = 215674
	#}
	1204.11.1 = { # Alexios V Doukas is captured by Thierry de Loos in November 1204 
		government = feudal_government
		holder = 205523 #Baudouin I van Vlaanderen
	}
	1205.6.1 = {
		holder = 205525 #Henry I van Vlaanderen
	}
	#1216.6.11 = {
	#	holder = 205725 #Pierre I de Courtenay
	#}
	1216.6.11 = {
		holder = 205526 #Yolande van Vlaanderen (regent)
	}
	1219.8.1 = {
		holder = 91062 #Robert de Courtenay
	}
	1228.1.30 = {
		holder = 91068 # Baudouin II de Courtenay
	}
	1231.9.1 = { # 1231 Autumn
		holder = 461742 # Jean de Brienne arrives to Constantinople and is crowned Emperor
	}
	1237.1.11 = {
		holder = 91068 #Baudouin II de Courtenay
	}
	#1222.8.2 = {
	#	holder = 125741
	#}
	#1254.11.3 = {
	#	holder = 125742
	#}
	#1258.8.18 = {
	#	holder = 125743
	#}
	1261.7.25 = {
		holder = 465527
	}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.1 = {
		holder = 465500
	}
}

c_byzantion = {
	867.1.1 = {	change_development_level = 25 }
	1066.1.1 = { change_development_level = 35 }
	1178.1.1 = { change_development_level = 58 }
	1204.5.16 = { change_development_level = 45 }
	
	196.1.1 = {
		liege = "e_byzantium"
	}
	324.9.19 = {
		holder = 70523
	}
	330.1.1 = {
		liege = "d_thrace"
	}
	337.5.22 = {
		holder = 70520
	}
	340.4.1 = {
		holder = 70522
	}
	350.2.1 = {
		holder = 70521
	}
	361.11.3 = {
		holder = 145237
	}
	363.6.26 = {
		holder = 145235
	}
	364.2.17 = {
		holder = 145231
	}
	364.3.28 = {
		holder = 145232
	}
	378.8.9 = {
		holder = 145233
	}
	379.1.19 = {
		holder = 70534
	}
	395.1.17 = {
		holder = 70519
	}
	408.5.1 = {
		holder = 145227
	}
	421.2.8 = {
		holder = 145228
	}
	421.9.2 = {
		holder = 70533
	}
	450.7.28 = {
		holder = 70531
	}
	450.8.25 = {
		holder = 70518
	}
	457.1.27 = {
		holder = 70517
	}
	474.1.18 = {
		holder = 70516
	}
	474.11.17 = {
		holder = 70515
	}
	475.1.9 = {
		holder = 145226
	}
	476.8.15 = {
		holder = 70515
	}
	491.4.9 = {
		holder = 70514
	}
	518.7.9 = {
		holder = 70513
	}
	527.8.1 = {
		holder = 70512
	}
	565.11.14 = {
		holder = 70511
	}
	578.10.5 = {
			holder = 145073
	}
	582.8.14 = {
		holder = 70510
	}
	602.11.27 = {
			holder = 145072
	}
	610.10.5 = {
			holder = 145071
	}
	641.2.11 = {
		holder = 70509
	}
	641.4.20 = {
			holder = 145070
	}
	641.10.1 = {
		holder = 70508
	}
 	660.1.1 = { # c. 660 inception of the theme system
		liege = "d_constantinople"
		de_jure_liege = "d_constantinople"
 	}
	668.7.15 = {
		holder = 70507
	}
	685.9.14 = {
		holder = 70506
	}
	695.11.1 = {
		holder = 70505
	}
	698.11.1 = {
		holder = 145069
	}
	705.8.21 = {
		holder = 70506
	}
	711.11.24 = {
			holder = 145068
	}
	713.6.3 = {
		holder = 70504
	}
	715.11.1 = {
		holder = 70532
	}
	717.3.25 = {
		holder = 70502
	}
	741.6.18 = {
		holder = 70501
	}
	742.7.1 = {
		holder = 145225
	}
	743.11.2 = {
		holder = 70501
	}
	775.9.14 = {
		holder = 70500
	}
	780.9.8 = {
		holder = 70499
	}
	797.8.15 = {
		holder = 70498
	}
	802.10.31 = {
		holder = 70497
	}
	811.7.26 = {
		holder = 70496
	}
	811.10.2 = {
		holder = 70494
	}
	813.7.11 = {
		holder = 70493
	}
	820.12.27 = {
		holder = 70492
	}
	829.10.2 = {
		holder = 70491
	}
	842.1.20 = {
		holder = 70490
	}
	#866.9.24 = {
	#	holder = 1700
	#}
	867.9.24 = { # The historical date, but we want the Macedonian dynasty in place at the bookmark start # No, they'll be in place in historical date
		holder = 1700 
	}
	886.8.29 = {
		holder = 1702
	}
	912.5.11 = {
		holder = 1704
	}
	913.6.6 = {
		holder = 1708
	}
	920.12.17 = {
		holder = 1706
	}
	944.12.16 = {
		holder = 145223
	}
	945.1.27 = {
		holder = 1708
	}
	959.11.9 = {
		holder = 1710
	}
	963.3.15 = {
		holder = 1712
	}
	969.12.10 = {
		holder = 1714
	}
	976.1.10 = {
		holder = 1716
	}
	1025.12.15 = {
		holder = 1718
	}
	1028.11.15 = {
		holder = 1720
	}
	1034.4.11 = {
		holder = 1722
	}
	1041.12.10 = {
		holder = 1724
	}
	1042.4.20 = {
		holder = 1717
	}
	1042.6.11 = {
		holder = 1726
	}
	1055.1.11 = {
		holder = 1719
	}
	1056.8.31 = {
		holder = 70432
	}
	1057.8.31 = {
		holder = 1730
	}
	1059.11.22 = {
		holder = 1732
	}
	1067.5.22 = {
		holder = 1733
	}
	1068.1.1 = {
		holder = 1734
	}
	1071.8.26 = {
		holder = 1736
	}
	1078.3.31 = {
		holder = 1740
	}
	1081.4.1 = {
		holder = 1742
	}
	1118.8.15 = {
		holder = 223023
	}
	1143.4.8 = {
		holder = 215530
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215500
	}
	1195.6.1 = {
		holder = 215503
	}
	1201.7.30 = {
		holder = 215037
	}
	1203.7.18 = {
		holder = 215507
	}
	1204.1.27 = { # 1204 January 27
		holder = EmperornikolaoskanabosABBC1 # Nikolaos Kanabos was elected Emperor
	}
	1204.1.28 = {
		holder = 125710
	}
	1204.4.12 = { # 1204 April 12
		holder = 125716 # Konstantinos Laskaris is elected over Konstantinos Doukas (probably the son of Ioannes Angelos Doukas)
	}
	1204.5.16 = {
		liege = "e_latin_empire"
		government = feudal_government
	}
	1204.5.9 = { # Baldwin is elected Emperor on 9 May, crowned on 16/7 May
		holder = 205523 # Baudouin I van Vlaanderen
	}
	1205.6.1 = {
		holder = 205525 #Henry I van Vlaanderen
	}
	#1216.6.11 = {
	#	holder = 205725 #Pierre I de Courtenay
	#}
	1216.6.11 = {
		holder = 205526 #Empress Yolande van Vlaanderen (regent) #
	}
	1219.9.2 = {
		holder = 91062 #Robert de Courtenay
	}
	1228.1.30 = {
		holder = 91068 # Baudouin II de Courtenay
	}
	# After months of negotiations, a treaty is signed at Perugia 9 April 1229 and Jean de Brienne became regent and the senior co-emperor of Latin
	# Empire, he gathers troops in France, returns to Italy in January 1231 and after negotiating with Venetians for transport, he sets out in August
	# 1231 and crowned in Constantinople in Autumn 1231 
	1231.9.1 = { # 1231 Autumn
		holder = 461742 # Jean de Brienne arrives to Constantinople and is crowned Emperor
	}
	1237.1.11 = {
		holder = 91068 #Baudouin II de Courtenay
	}
	1261.7.25 = { # Night of 24/25 July
		holder = 34449 # Alexios Strategopoulos captured Constantinople
		government = administrative_government
	}
	1261.8.15 = { # 15 August 1265
		holder = 465527 # Michael VIII Palailogos entered Constantinople and crowned Emperor
	}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.24 = {
		holder = 465500
	}

}


c_kalliopolis = {
	330.1.1 = {
		liege = "d_thrace"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	743.11.2 = {
		holder = 70501
	}
	842.1.20 = {
		holder = 70490
	}
	#866.9.24 = {
	#	holder = 1700
	#}
	867.1.1 = { # 880
		holder = Stypeiotesstrategosthracemacedonia880ABBC1 # Leon Apostoupes strategos of Macedonia and Thrace
	}
	955.1.1 = { # 955
		holder = 145162 # Marianos Argyros, strategos of Macedonia and Thrace 
		liege = d_thrace
	}
	1010.1.1 = { # 1000/19
		holder = Xiphiasstrategosphilippopolis1000ABBC1 # Nikephoros Xiphias appointed strategos of Thrace 
	}
	1060.1.1 = {
		holder = 20508
	}
	1090.1.1 = { # Late 11th century
		holder = Serbliaspraitorthracemacedonialate11thcenturyABBC1 # Georgios Serblias praitor of Thrace and Macedonia
	}
	1143.4.8 = {
		holder = 215530
	}
	1154.1.1 = { # 1154/81
		de_jure_liege = d_thrace_and_macedonia # Part of Theme of Thrace and Macedonia
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215500
	}
	1195.6.1 = {
		holder = 215503
	}
	1203.7.18 = {
		holder = 215507
	}
	#1204.1.28 = {
	#	holder = # Tzurulon had surrendered to Baldwin before it was taken by Alexios V
	#}
	1204.1.28 = {
		holder = 125710 # Alexios V Doukas flees and later takes Tzurulum which is located in in game baronies of b_raidestos or b_herakleiperinthos 
	}
	#1204.5.16 = { 
	#	liege = "e_latin_empire"
	#}
	#1204.5.16 = {
	#	holder = 205525 #Henry I van Vlaanderen
	#}
	1204.11.1 = { # Alexios V Doukas is captured by Thierry de Loos in November 1204 
		liege = "e_latin_empire"
		holder = 205523 #Baudouin I van Vlaanderen
		government = feudal_government
	}
	1204.11.2 = {
		holder = 34597 # Giving it to Narjot Toucy so he holds land
	}
	#1205.1.1 = { # Before 31 March 1205 
	#	holder = # WIP: Guillaume de Blanvel is garrisoning Tzurulon
	#}
	1235.3.1 = { # Spring 1235
		holder = 125741 # Emperor Ioannes III Vatatzes seized the last outposts of the empire in Asia Minor and Gallipoli
		liege = "k_nikaea"
		government = administrative_government
	}
	1237.1.1 = { # 1237
		holder = Tarchaneiotesmegasdomestikos1260ABBC1 # Nikephoros Tarchaneiotes is named commander of Tzouroulos
	}
	1239.1.1 = { # Before summer 1240
		holder = Petraliphasmegaschartularios1237ABBC1 # Held by Petraliphas or at least its commander is under his command
	}
	1240.6.1 = { # Summer 1240, perhaps the siege continues in Early 1241 
		holder = 91068 # Baldwin II retakes Tzurulum with the aid of Cumans 
		liege = "e_latin_empire"
		government = feudal_government
	}
	1240.6.2 = { # 1247 or before
		holder = Cayeuxanseaulatinempireregent1237ABBC1 # Anseau de Cayeux holds Tzurulum
	}
	1247.1.1 = { #1247
		holder = 125738 # Anseau de Cayeux flees Tzurulon leaving his wife Eudokia Laskarina Angelina in charge in hopes of who is married to her sister won't attack with her in charge 
	}
	1247.3.1 = { # 1247 Spring
		liege = "d_thrace"
		holder = 125741 # Ioannes III Doukas Vatatzes takes Tzurulon sometime in 1247
		government = administrative_government
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1282.12.11 = {
		holder = 465521
	}
	1310.1.1 = {
		holder = 34620
	}
}

b_herakleiaperinthos = { # Heraclea Perinthos
	1077.1.1 = { # 1077
		holder = 34220 # Rousseil de Bailleul garrisons Perintheus in 
	}
	1204.11.2 = { # Before 31 March 1205 
		holder = Blanvelcommandertzurulon1205ABBC1 # Guillaume de Blanvel is garrisoning Tzurulon which possibly falls within Heraclea Perinthos
	}
	1206.1.1 = { #
		holder = Cayeuxanseaucrusader1204ABBC1 # Giving it to Anseau Cayeux because Guillaume holds a title elsewhere
	}
	#1264.1.1 = { # 1264
	#	holder = # Genoese are expelled to Heraclea Perintheus after the podestà in Constantinople was implicated in a plot to surrender the city to Manfred of Sicily
	#}
	1267.1.1 = { # Until 1280
		holder = 34451 # Ptorostrator Michael strategopoulos commander of Heraclea Pontica
	}
}

b_ainos = {
	1217.1.1 = { # 1217/28
		holder = Merrylezsacyconstableromania1238ABBC1 # Geoffroy de Merry received Ainos and Daskylaion
	}
	1235.3.1 = { # Spring 1235
		holder = 125741 # Emperor Ioannes III Vatatzes seized the last outposts of the empire in Asia Minor and Gallipoli
	}
	1237.1.1 = {
		holder = Tarchaneiotesmegasdomestikos1260ABBC1 # Because he has the county
	}
	1240.6.1 = { # Summer 1240
		holder = 91068 # Because he has the county
	}
	1240.6.2 = { # 1247 or before
		holder = Cayeuxanseaulatinempireregent1237ABBC1 # Because he has the county
	}
	1247.1.1 = { #1247
		holder = 125738 # Because he has the county
	}
}

# Aprus/Apros, Theodoros Branas is granted it around the time of Battle of Adrianople

c_brysis = {
	330.1.1 = {
		liege = "d_thrace"
	}
	743.11.2 = {
		holder = 70501
	}
	#801.1.1 = {
	#	holder = # Aetios appoints his brother Leo as monostrategos of Thrace and Macedonia in 801/2
	#}
	842.1.20 = {
		holder = 70490
	}
	#866.9.24 = {
	#	holder = 1700
	#}
	867.1.1 = { # 880
		holder = Stypeiotesstrategosthracemacedonia880ABBC1 # Leon Apostoupes strategos of Macedonia and Thrace in 880
	}
	918.1.1 = { # 922
		holder = 712 # Simeon captured Bizye
		liege = k_bulgaria
	}
	955.1.1 = { # 955
		holder = 145162 # Marianos Argyros, strategos of Macedonia and Thrace 
		liege = d_thrace
	}
	1010.1.1 = { # 1000/19
		holder = Xiphiasstrategosphilippopolis1000ABBC1 # Nikephoros Xiphias appointed strategos of Thrace 
	}
	1059.12.25 = {
		holder = 1732
	}
	1090.1.1 = { # Late 11th century
		holder = Serbliaspraitorthracemacedonialate11thcenturyABBC1 # Georgios Serblias praitor of Thrace and Macedonia in late 11th century
	}
	1143.4.8 = {
		holder = 215530 # Manuel Komnenos
	}
	1154.1.1 = { # 1154/81
		de_jure_liege = d_thrace_and_macedonia # Part of Theme of Thrace and Macedonia
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215500
	}
	1195.6.1 = {
		holder = 215503
	}
	1203.7.18 = {
		holder = 215507
	}
	1204.1.1 = { # 1204
		de_jure_liege = d_brysis # Part of Theme of Brysis
	}
	1204.1.28 = {
		holder = 125710
	}
	1204.5.16 = {
		liege = "e_latin_empire"
		government = feudal_government
	}
	1204.11.2 = { # 1205, after Battle of Adrianople, pulled earlier so he holds land
		holder = Cayeuxanseaucrusader1204ABBC1 # Anseau de Cayeux is appointed commander of the garrison at Bizye
	}
	1217.1.1 = {
		holder = Cayeuxanseaulatinempireregent1237ABBC1 # Giving it to Anseau de Cayeux just so he holds land
	}	
	1239.10.1 = {
		holder = Ionascumanchieftain1239ABBC1 # Giving it to Kotyan so he is in Latin Empire in 1239 start, his Cumans were located close to Constantinople
		government = nomad_government
	}
	1241.3.17 = {
		holder = 91068 # Back to Baudouin II de Courtenay
		government = feudal_government
	}
	1247.4.1 = { # 1247, after Tzurulon is taken
		liege = "d_thrace"
		holder = 125741 # Ioannes III Doukas Vatatzes takes Bizye
		government = administrative_government
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.1 = {
		holder = 465500
	}
}
b_bizye = { 
	1205.4.15 = { # 1205, after Battle of Adrianople
		holder = Cayeuxanseaucrusader1204ABBC1 # Anseau de Cayeux is appointed commander of the garrison at Bizye
	}
}

b_selymbria = { 
	# Latins allowed people to leave the city after taking Constantinople and the group Niketas Choniates, his family and Patriarch Ioannes Kamateros
	# was in went to Selymbria and stayed there for some time.
	1204.5.9 = { # 4th Crusade
		holder = Orleanscrusader1204ABBC1 # Jean Payen de Orléans given Athyra as a fief, which is located in modern day Büyükçekmece
	}
	#1206.2.1 = { # 2 February 1206
	#	holder = Saintemenehouldcommanderselymbria1206ABBC1 # Macaire de Sainte-Ménéhould, charged with holding Selymbria after the defeat in Battle of Rousion
	#}
	#1204.5.9 = { # 4th Crusade
	#	holder = Orleanscrusader1204ABBC1 # Giving it back to Jean Payen de Orléans again
	#}
	#1.1.1 = { # 1399
	#	holder = # Bryennios Leontares, Kephale of Selymbria
	#}
}

d_strymon = {
	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
					government = feudal_government
				}
			}
		}
	}
	700.1.1 = { # 
		effect = {
			set_capital_county = title:c_serres # Kavala is capital of Strymon theme
		}
	}
	745.1.1 = {
		holder = 145795
	}
	790.1.1 = {
		holder = 145796
	}
	#1.1.1 = { # 9th century, before mid
	#	holder = # Leon, basilikos spatharios and strategos of Strymon
	#}
	855.1.1 = {
		holder = 145185
	}
	#1.1.1 = { # 9th/10th century
	#	holder = # Symbatios, basilikos spatharios and strategos of Strymon
	#}
	926.1.1 = { # 926
		holder = Kladonstrategosstrymon926ABBC1 # Basileios Kladon, strategos of Strymon 
	}
	#1.1.1 = { # 10th century 
	#	holder = # A Krenites is strategos of Strymon
	#}
	#1.1.1 = { # Second third of 10th century
	#	holder = # Lykastos, strategos of Macedonia and Strymon in  as strategos of Macedonia
	#}
	#1.1.1 = { # 971-976
	#	holder = # Stephanos, strategos of Neos Strymon (Boleron, Serres) 
	#}
	1066.1.1 = {
		holder = 20512	#Devlitzenos Pleustes 20512
	}
	1079.1.1 = { # 1079
		holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	}
	1089.1.1 = {
		holder = 34586
	}
	1113.1.1 = {
		holder = 34587
	}
	1167.6.1 = {
		holder = 231059 # Alexios Komnenos, the protostrator and protosebastos
	}
	1185.9.12 = {
		holder = 215060
	}
	1186.1.1 = {
		holder = 34273
	}
	1202.1.1 = {
		holder = 34590
	}
	#emperors of Nicaea
	1204.5.16 = {
		holder = 0
		government = feudal_government
	}
	#restoration of the Byzantine Empire
	1261.8.15 = {
		holder = 465527
		government = administrative_government
	}
	1272.1.1 = {
		holder = 465521
	}
	1332.2.13 = {
		holder = 465530
	}

}


c_mosynopolis = {
	330.1.1 = {
		liege = "d_thessalonika"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	756.1.1 = {
		holder = 145815
	}
	802.1.1 = { #
		liege = "d_macedonia" # Mosynopolis is part of Theme of Macedonia 
		de_jure_liege = "d_macedonia"
	}
	855.1.1 = {
		holder = 145108
	}
	1047.1.1 = { # 1047
		de_jure_liege = d_boleron # Mosynopolis is part of Theme of Boleron
	}
	1066.1.1 = {
		liege = "d_strymon"
	}
	1066.1.1 = {
		holder = 20512
	}
	# Peritheorion is located in c_mosynopolis
	1078.1.1 = { #
		holder = Gymnosperitheriongarrisoncommander1078ABBC1 # A Gymnos was left as commander of garrison of Peritheorion in Thrace by usurper Nikephoros Basilakes
	}
	1090.1.1 = { # Late 11th century
		holder = Serbliaspraitorthracemacedonialate11thcenturyABBC1 # Georgios Serblias praitor of Thrace and Macedonia in late 11th century
	}
	1113.1.1 = {
		holder = 34587
	}
	1167.6.1 = {
		holder = 231059 # Alexios Komnenos, the protostrator and protosebastos
	}
	1185.1.1 = { # 1185
		holder = 211500 # Captured by Normans
	}
	1185.9.12 = {
		holder = 215060
	}
	1186.1.1 = {
		holder = 34273
	}
	1187.1.1 = {
		liege = "d_thessalonika"
	}
	1187.1.1 = {
		holder = 215018
	}
	1190.1.1 = {
		holder = 212501 # Captured by Emperor Frederick Barbarossa
	}
	1190.6.1 = {
		holder = 215018
	}
	1204.4.15 = {
		liege = 0
		holder = 215503 # From Adrianople Alexios III flees to Mosynopolis where he is captured by Bonifazio I
	}
	1204.7.1 = { # 1204, After May, before November 
		liege = "e_latin_empire"
		holder = 205523 # Mosynopolis surrenders to Emperor Baldwin
		government = feudal_government
	}
	1204.8.1 = {
		holder = 213523 # 
		government = feudal_government
	}
	1204.8.2 = {
		holder = Villehardouinmarshalromania1206ABBC1 # Geoffroy received Mosynopolis as reward for negotiating peace between Bonifazio of Montferrat and Emperor Baldwin of Hainaut
		liege = e_latin_empire # He should perhaps be a vassal of Bonifazio of Montferrat who gives him the fief but making him vassal of Latin Empire as he is Marshal of Latin Empire
	}
	1225.1.1 = { # 1225 or 1226
		holder = 215514 # Theodoros Doukas Komnenos
	}
	1230.1.1 = { # Early 1230s
		liege = "e_latin_empire" # Considering Serres is taken back by latins in Early 1230s, this area must also have been taken back
		holder = HainautsaroniushusbandABBC1 # Giving it to Baldwin de Hainaut who married Saronius' daughter so someone holds the title
	}
	1246.9.1 = {
		liege = "k_nikaea" # Considering Serres is taken back by Nikaeans in 1246, this area may also have been taken back
		holder = 125742
		government = administrative_government
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.24 = {
		holder = 465500
	}
	1329.1.1 = { # Late 1329/1330
		holder = SyrgiannistheodorafatherABBC1 # Syrgiannis Palaiologos is appointed governor of Thessalonika
	}
	1337.1.1 = {
		holder = 465530
	}
}

#b_traianopolis = {
#	1204.8.2 = {
#		holder = Villehardouinmarshalromania1206ABBC1 # Geoffroy Villehardouin is lord of Mosynopolis, Trainopolis and Makri
#	}
#}


c_serres = {
	330.1.1 = {
		liege = "d_thessalonika"
	}
	756.1.1 = {
		holder = 145815
	}
	855.1.1 = {
		holder = 145108
	}
	#1063.1.1 = { # 1062 https://pbw2016.kdl.kcl.ac.uk/person/107878/
	#	holder = # WIP: Michael Karseres, archon of Sklaboarchontia resided at the kastron of Serres
	#}
	#1063.1.1 = { # 1063
	#	holder = # WIP: Theodoros Dalassenos, strategos of Serres 
	#}
	1066.1.1 = {
		liege = "d_strymon"
	}
	1066.1.1 = {
		holder = 20512
	}
	1079.1.1 = { # 1079
		holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	}
	1089.1.1 = {
		holder = 34586
	}
	1113.1.1 = {
		holder = 34587
	}
	1167.6.1 = {
		holder = 231059 # Alexios Komnenos, the protostrator and protosebastos
	}
	1185.9.12 = {
		holder = 215060
	}
	1186.1.1 = {
		holder = 34273
	}
	1187.1.1 = {
		liege = "d_thessalonika"
	}
	1187.1.1 = {
		holder = 215018
	}
	1194.1.1 = { # until summer/autumn 1195
		holder = Aspietesdouxrserres1195ABBC1 # Alexios Aspietes, governor of Serres
	}
	1195.9.1 = {
		holder = 0
	}
	1204.8.1 = {
		holder = 213523 #Bonifazio I
		government = feudal_government
	}
	1204.8.2 = {
		holder = Colignyserres1205ABBC1 # Hugues de Coligny is possibly given it as a fief.
		liege = "k_thessalonika"
	}
	1205.7.1 = { # June 1205 or perhaps September 1205
		holder = 217502 # Kaloyan defeats the Crusaders in battle of Serres in 
		liege = "k_bulgaria" # After some negotiations city is surrendered to him
	}
	1206.12.1 = { # Winter 1206/7
		holder = 213523 # Bonifazio recaptures Serres
		liege = "d_thessalonika" # Serres is back in Latin hands 
	}
	# WIP: 1207 Bonifazio gives Serres to a vassal, couldn't find who
	1209.2.1 = {
		holder = 33264 # Berthold Katzenenlnbogen is appointed as Castellan of Serres after Lombard Rebellion
		liege = "d_thessalonika" 
	}
	1220.1.1 = { # c. 1220
		holder = 33256 # Berthold's nephew and heir Dieter comes to Latin Empire, perhaps to visit his uncle or to reclaim his inheritance
	}
	1221.12.1 = { # End of 1221 / Beginning of 1222
		holder = 215514 # Theodore I Komnenos Doukas takes Serres
		liege = "k_epirus"
		government = administrative_government
	}
	1230.1.1 = { # Early 1230s
		holder = 33256 # Taken back by the Latins, giving it to Dieter again
		liege = "e_latin_empire" # 
		government = feudal_government
	}
	1241.1.1 = { # Before 1246
		holder = 31165 # Taken by Bulgarians again
		liege = k_bulgaria
	}
	1241.1.2 = { # 1246
		holder = Melenikoncommanderserres1246ABBC1 # Held by a Bulgarian named Dragotas who had his home in Melenikon
	}
	1246.9.1 = { # 1246, after the death of Kaliman, before November, perhaps before October
		liege = "k_nikaea" # Dragotas surrenders Melnik to Nikaeans
		holder = 125715
		government = administrative_government
	}
	1246.11.15 = { # 1246 mid November/December
		holder = 465527 # Ioannes III Vatatzes leaves Michael Palaiologos, later emperor Michael VIII, to defend Serres, Melnik and he surrounding territory
		liege = d_thessalonika # and put under the commander of Megas Domestikos Andronikos Palaiologos
	}
	1254.1.1 = { # 1254
		holder = 34449 # Alexios Strategopoulos is based in Serres
	}
	#1258.8.18 = {
	#	holder = 125743 # WIP: control later
	#}
	#1261.7.25 = {
	#	holder = 465527 # WIP: control later
	#}
	#1275.1.1 = { # 1275
	#	holder = # Ioannes Doukas Komnenos, ruler of Thessaly, cedes Siderokastron and other castles to duchy of Athens as part of his daughter's dowry
	#	liege = "d_athens"
	#}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.24 = {
		holder = 465500
	}
	
	1337.1.1 = {
		holder = 465530
	}
	1345.9.25 = {
		holder = 0
		liege = "k_serbia" # Serbs take the city in 25 September 1345
	}

}

#b_kavala = { # Kavala was also part of theme of Smolenon
#	1.1.1 = { # 
#		holder = # 
#	}
#}

b_drama = {
	1206.1.1 = { # From before 1208
		holder = Blanvelcommandertzurulon1205ABBC1 # William of Bloville, possibly identical to commander of Tzurulon in 1205, holds a fief near Vigneri which is close to Drama
	}
}

b_chrysopolis = {
	620.1.1 = { # Until c. 675
		holder = Rhynchinoiking675ABBC1 # Perbundos, king of Rhynchinoi
	}
	676.1.1 = {
		holder = RhynchinoiABBC1 # Fictional
	}
	710.1.1 = {
		holder = RhynchinoiABBC2 # Fictional
	}
	765.1.1 = {
		holder = RhynchinoiABBC3 # Fictional
	}
	810.1.1 = {
		holder = VlachorhynchinoiABBC1 # Fictional
	}
	850.1.1 = {
		holder = VlachorhynchinoiABBC2 # Fictional
	}
}


d_aegean_islands = {
	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
					government = feudal_government
				}
			}
		}
	}
	# Theme Aigaiou Pelàgous is established by by 842/3 part of its territory was formerly under Theme Kibyrrhaioton
	665.1.1 = {
		holder = SisinnioskarabisinoiABBC1 # Strategos Karabisinoi 674/685 
	}
	775.1.1 = {
		holder = 145834 # Theophylaktos Rhangabe, Droungarios of the Dodekanesos c. 780
	}
	801.1.1 = {
		holder = 145930
	}
	842.1.1 = {
		holder = 145931
	}
	945.1.1 = { # 940s, after 944
		holder = Zephinezerstrategosaigaionpelagos945ABBC1 # Theodoros Zephinezer, strategos of Aigaon Pelagos
	}
	1025.1.1 = {
		holder = 20528
	}
	1040.1.1 = {
		holder = 20514
	}
	1097.1.1 = {
		holder = 70402
	}
	1100.1.1 = {
		holder = 70404
	}
	1115.1.1 = {
		holder = 232507
	}
	1130.1.1 = {
		holder = 232542
	}
	1146.1.2 = {
		holder = 215019
	}
	1167.1.1 = {
		holder = 232515 # Andronikos Kontostephanos, as megas doux
	}
	1194.1.1 = {
		holder = 34414
	}
	1204.5.16 = { # Collapse of Byzantine Empire
		liege = 0
		government = feudal_government
		de_jure_liege = "k_principality_achaia" # Making it de jure Hellas until I get a de jure Attica
	}
	1205.3.31 = { # Early 1205
		holder = 31421 # Marco Sanudo takes Naxos after 5 weeks of siege and he is back in Constantinople after April, before July
		government = feudal_government
	}
	1207.1.1 = { # 1207, 1209, 1210 or 1212
		liege = "e_latin_empire" # Marco Sanudo paid homage for the duchy to Emperor Henry of Hainaut
	}
	1227.1.1 = {
		holder = 31422
	}
	1248.1.1 = { # 1248
		liege = "k_principality_achaia" # suzerainty of Duchy of Naxos is nominally given to William Villehardouin Prince of Achaea
	}
	1261.7.25 = {
		liege = "k_venice"
	}
	1262.1.1 = {
		holder = 31423
	}
	#1267.5.27 = { # 27 May 1267
	#	liege = k_sicily # Treaty of Viterbo, Baldwin II surrenders his rights over Aegean Islands to Charles of Anjou, excepting Lesbos, Chios, Samos and Kos
	#}
	1303.1.1 = {
		holder = 31425
	}
	1323.1.1 = {
		holder = 31427
	}
	

}


c_naxos = {
	330.1.1 = {
		liege = "d_aegean_islands"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	761.1.1 = {
		holder = 145822
	}
	865.1.1 = {
		holder = 145189
	}
	945.1.1 = { # 940s, after 944
		holder = Zephinezerstrategosaigaionpelagos945ABBC1 # Theodoros Zephinezer, strategos of Aigaon Pelagos
	}
	1040.1.1 = {
		holder = 20514
	}
	1097.1.1 = {
		holder = 70402
	}
	1100.1.1 = {
		holder = 70404
	}
	1115.1.1 = {
		holder = 232507
	}
	1130.1.1 = {
		holder = 232542
	}
	1146.1.2 = {
		holder = 215019
	}
	1167.1.1 = {
		holder = 232515 # Andronikos Kontostephanos, as megas doux
	}
	1187.1.1 = {
		holder = 215020
	} 
	1205.3.31 = { # Early 1205
		holder = 31421 # Marco Sanudo takes Naxos after 5 weeks of siege and he is back in Constantinople after April, before July
		liege = "d_aegean_islands" # 
		government = feudal_government
		# liege = k_venice # 
	}
	1227.1.1 = {
		holder = 31422
	}
	1262.1.1 = {
		holder = 31423
	}
	1303.1.1 = {
		holder = 31425
	}
	1323.1.1 = {
		holder = 31427
	}
}

b_andros = { 
	1207.1.1 = { 
		holder = 170065 # Marino Dandalo lord of Andros
	}
	1239.1.1 = { # c. 1239
		holder = cisalpine0297 # Seized by Geremia Ghisi
	}

}

b_tinos = {
	1207.1.1 = { 
		holder = cisalpine0291 # Andrea Ghisi lord of Mykonos and Tinos
	}
	1277.3.19 = {	# Before 19 March 1277
		holder = cisalpine0289 # Bartholemow Ghisi lord of Tinos and Mykonos
	}
}


c_abydos = {
	867.1.1 = {	change_development_level = 8 }
	1066.1.1 = { change_development_level = 12 }
	1178.1.1 = { change_development_level = 14 }
	
	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
					government = feudal_government
				}
			}
		}
	}
	640.1.1 = { # 640/60
		de_jure_liege = d_opsikion # Abydos initially started as part of Opsikion when it was established
		liege = "d_opsikion"
	}
	#1.1.1 = { # 8th century 
	#	holder = # Theopistos paraphylax of Abydos
	#}
	775.1.1 = {
		holder = 145834 # Theophylaktos Rhangabe, Droungarios of the Dodekanesos c. 780
	}
	801.1.1 = {
		holder = 145930
	}
	#1.1.1 = { # 9th century 
	#	holder = # Meligalas imperial kommerkiarios and paraphylax of Abydos
	#}
	840.1.1 = { # By 842/3, establishment 
		de_jure_liege = d_aegean_islands # Abydos became part of Aegean theme when it was established
		liege = "d_aegean_islands"
	}
	842.1.1 = {
		holder = 145931
	}
	#1.1.1 = { # Second half of 9th century 
	#	holder = # WIP: Christophoros, Basilikos Protospatharios and strategos of Abydos or Kibyrrhaioton
	#}
	1004.1.1 = { # 1004
		de_jure_liege = "d_abydos" # Strategos of attested is mentioned for the first time
		liege = "d_abydos"
	}
	#1.1.1 = { # 1004, 1024/5 and 1033 
	#	holder = # WIP: Strategoi of Abydos are attested without naming 
	#}
	#1.1.1 = { # Sometime between Early 10th c. - 1204
	#	holder = # WIP: Theodoros, imperial klerikos and ek prosopou of Abydos, the man of the basileus
	#}
	1040.1.1 = {
		holder = 20524
	}
	1066.1.1 = { # Before 1081
		holder = KephalaskatepanoabydosABBC1 # Leon Kephalas, katepano of Abydos 
	}
	1077.1.1 = { # Sometime after battle of Manzikert
		liege = "k_rum" # Abydos is taken by Seljuks
		holder = 3046
	}
	1086.1.1 = { # 1086
		liege = "e_byzantium" # Abydos is recovered from Seljuks
		holder = 1742
	}
	1093.1.1 = { # 1092/3, possibly spring 1093
		liege = "d_ephese"
		holder = 34262 # Çaka Bey attacks Abydos
	}
	1094.1.1 = {
		holder = 34264
	}
	1095.1.1 = {
		liege = "d_aegean_islands"
		holder = 20514
	}
	1097.1.1 = {
		holder = 70402
	}
	1100.1.1 = {
		holder = 70404
	}
	1115.1.1 = {
		holder = 232507
	}
	1130.1.1 = {
		holder = 232542
	}
	1146.1.2 = {
		holder = 215019
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	1194.1.1 = {
		holder = 34414
	}
	1204.1.1 = {
		liege = "k_venice"
		holder = 213601 # Venetians seize Abydos in 1204, before Constantinople is taken
		government = feudal_government
	}
	# Emperor Baldwin granted the land between Abydos and Adramyttium to his brother Henry of Flanders
	1204.11.15 = { # Shortly after 11 November 1204
		liege = "e_latin_empire"
		holder = 205525 # Henry of Flanders leaves Constantinople in 11 November and takes Abydos
	}
	1207.1.1 = { # 1206/7
		liege = "k_nikaea"
		holder = 215674 # Abydos is seized by Nikae 
		government = administrative_government
	}
	1212.1.1 = { # 1212/3
		holder = 205525 # Abydos is reconquered by Latin Empire 
		liege = "e_latin_empire"
		government = feudal_government
	}
	1225.1.1 = { # Latins are defeated in Battle of Poimanenon late 1223 or early 1224, peace treaty in 1225
		holder = 125741 # Asia Minor possessions except eastern shore of the Bosporus and the city of Nicomedia and its surroundings is abandoned to Nikaea
		liege = "k_nikaea"
		government = administrative_government
	}
	1233.6.1 = { # 1233
		holder = 461742 # Latins under Emperor Jean de Brienne seized Pegai
		liege = "e_latin_empire"
		government = feudal_government
	}
	1235.5.1 = { # Spring 1235
		holder = 125741 # Emperor Ioannes III Vatatzes seized the last outposts of the empire in Asia Minor and Gallipoli
		liege = "k_nikaea"
		government = administrative_government
	}
	1258.1.1 = {
		holder = 34615
	}
	1262.1.1 = { # 1262/3
		holder = 31185 # Micho is given lands in Troas
	}
	1274.1.1 = {
		holder = 34618
	}
	1303.1.1 = {
		holder = 34620
	}
	1305.1.1 = { # 1305/6
		holder = Seljukmelikesgovernorberroia1280ABBC1 # Konstantinos Melikes, son of İzzeddin Keykâvus II, appointed governor of Pegai
	}
	1310.1.1 = {
		liege = "k_ottoman"
		holder = 34226
	}
	1330.1.1 = {
		holder = 34227
	}
}

b_pagaea = {
	1204.11.1 = { # Shortly after 1 November
		holder = Bracheuxlordskiza1205ABBC1 # Pierre de Bracheux and Payen d'Orleans depart from Constantinople and shortly after took Pagea
	}
	1207.1.1 = { # 1206/7
		holder = 215674 # Abydos is seized by Nikae 
	}
	1213.1.1 = { # 1209 or 1213/24, after death of Pierre de Bracheux
		holder = GrandgerinseigneurpegaiABBC1 # Henry Grand Gerin, succeded Peter Bracheux
	}
	1212.1.1 = { # 1212/3
		holder = 205525 # Abydos is reconquered by Latin Empire 
	}
	1225.1.1 = { # Latins are defeated in Battle of Poimanenon late 1223 or early 1224, peace treaty in 1225
		holder = 125741 #
	}
	1233.1.1 = { # 1233
		holder = GrandgerinseigneurpegaiABBC1 # Latins under Emperor Jean de Brienne seized Pegai
	}
	1235.5.1 = { # Spring 1235
		holder = 125741 # Emperor Ioannes III Vatatzes seized the last outposts of the empire in Asia Minor and Gallipoli
	}
}

#b_alexandriatroas = {
#	1222.1.1 = { Troas is taken by Ioannes III Doukas Vatatzes in 1221, it is a barony in game so just adding as a note
#		holder = 125741 # 
#	}
#}

c_lesbos = {
	330.1.1 = {
		liege = "d_aegean_islands"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	755.1.1 = {
		holder = 145820
	}
	860.1.1 = {
		holder = 145109
	}
	945.1.1 = { # 940s, after 944
		holder = Zephinezerstrategosaigaionpelagos945ABBC1 # Theodoros Zephinezer, strategos of Aigaon Pelagos
	}
	1060.1.1 = {
		holder = 1733
	}
	1070.1.1 = {
		holder = 20514
	}
	1090.1.1 = {
		liege = "d_ephese"
		holder = 34262
	}
	1092.1.1 = {
			holder = 34264
	}
	1093.1.1 = {
		liege = "d_aegean_islands"
	}
	1093.1.1 = {
		holder = 20514
	}
	1097.1.1 = {
			holder = 70402
	}
	1100.1.1 = {
			holder = 70404
	}
	1115.1.1 = {
			holder = 232507
	}
	1130.1.1 = {
			holder = 232542
	}
	1146.1.2 = {
			holder = 215019
	}
	1167.1.1 = {
		holder = 232515 # Andronikos Kontostephanos, as megas doux
	}
	1194.1.1 = {
			holder = 34414
	}
	1204.5.16 = {
		liege = "e_latin_empire"			
		holder = 205523
		government = feudal_government
	}
	1204.5.17 = { # From c. 1204
		holder = Navigajosomegaduxlemnos1204ABBC1 # Filocalo Navigajoso, ruler of Lemnos , giving it Lesbos because Lemnos is barony
	}
	1214.1.1 = { # 1214
		holder = Navigajosomegaduxlemnos1214ABBC1 # Leonardo Navigajoso, ruler of Lemnos
	}
	1260.1.1 = { # 1260
		holder = Navigajosomegaduxlemnos1260ABBC1 # Leonardo Navigajoso, ruler of Lemnos
	}
	#1261.7.25 = {
	#	liege = e_titular_latin_empire # Titular title so Latin Emperors have an empire post 1261
	#}
	#1205.6.1 = {
	#		holder = 205525
	#}
	#1216.6.11 = {
	#		holder = 205725
	#}
	#1219.1.1 = {
	#		holder = 205526
	#}
	#1221.3.25 = {
	#		holder = 91062
	#}
	#1222.1.1 = { # Added for history reasons but Andrea Ghisi continued to hold Mikonos so keeping it as part of his realm
	#	liege = "k_nikaea"
	#	holder = 125741 # Ioannes III Doukas Vatatzes takes Mytilene in 1221 during the reign of Robert de Courtenay
	#}
	#1225.1.1 = {
	#	holder = 215000
	#}
	#1261.1.1 = {
	#	holder = 34283
	#}
	#1279.1.1 = {
	#	holder = 34286
	#}

	1308.1.1 = {
		liege = "e_byzantium"
	}
	1308.1.1 = {
		holder = 465210
	}
}

b_lemnos = {
	1204.5.16 = { # From c. 1204
		holder = Navigajosomegaduxlemnos1204ABBC1 # Filocalo Navigajoso, ruler of Lemnos 
	}
	1214.1.1 = { # 1214
		holder = Navigajosomegaduxlemnos1214ABBC1 # Leonardo Navigajoso, ruler of Lemnos
	}
	1214.1.1 = { # 1260
		holder = Navigajosomegaduxlemnos1260ABBC1 # Leonardo Navigajoso, ruler of Lemnos
	}
}

b_skyros = {
	1207.1.1 = { 
		holder = cisalpine0297 # Geremia Ghisi, lord of Skopelos, Skiathos, Skyros
	}
	1239.1.1 = { # c. 1239
		holder = cisalpine0298 # Giving it to Geremia's younger daughter so he won't be holding two baronies when he sees 
	}
}

c_chios = {
	330.1.1 = {
		liege = "d_ephese"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	764.1.1 = {
		holder = 145833
	}
	865.1.1 = {
		holder = 145112
	}
	1000.1.1 = { # Sometime after 990
		holder = BakurianidzestrategossamosABBC1 # Bakur, strategos of Samos
		liege = e_byzantium
	}
	#1024.1.1 = { # c. 1024
	#	holder = # WIP: David of Ohrid, strategos of Samos
	#}
	1022.1.1 = { # 1026
		holder = Beriboesstrategoschios1026ABBC1 # Theodoros Beriboes, strategos of Chios
	}
	1027.1.1 = { # 1027
		holder = Theodorokanosstrategossamos1027ABBC1 # Georgios Totorakanos, Strategos of Samos  
	}
	1029.1.1 = { # 2nd quarter of 11th century, probably after 1028
		holder = TornikesstrategossamosABBC1 # Michael Tornikes, strategos of Samos 
	}
	1032.1.1 = { # 11th century
		holder = Karykesstrategoschios11thcenturyABBC1 # Leon Karykes, protospatharios tagmatophylax and strategos of Chios
	}
	1038.1.1 = { # 1030s or 1040s
		holder = HagiozacharitesstrategossamosABBC1 # Theophylaktos Hagiozacharites, strategos of Samos
	}
	1046.1.1 = { # 1050s and possibly bit earlier
		holder = Xylinitesstrategossamos1050ABBC1 # Niketas "Neos" Xylinites, Strategos of Samos
	}
	1060.1.1 = { # ca. 1060-65
		holder = Maurexdouxantioch1077ABBC1 # Maurex, strategos of Chios 
	}
	1065.1.1 = { # ca. 3rd quarter of 11th century 
		holder = AristenosstrategoschiosABBC1 # Ioannes Aristenos, strategos of Chios 
	}
	1070.1.1 = { # 1075
		liege = "Argyropoulosstrategossamos1075ABBC1" # Konstantinos Argyropoulos, Strategos of Samos 
	}
	1078.4.1 = { # April 1078-Autumn 1080
		holder = 41303 # Nikephoros Melissenos, (paternally Bourtzes) exiled to Kos
	}
	1081.1.1 = {
		liege = "e_byzantium"
	}
	1081.1.1 = { # 1089
		liege = "Charsianitesstrategossamos1089ABBC1" # Eusthatios Charsianites, Strategos of Samos 
	}
	1090.1.1 = {
		liege = "d_ephese"
		holder = 34262
	}
	1092.1.1 = {
		holder = 34264
	}
	1093.1.1 = {
		liege = "e_byzantium"
		holder = 20518
	}
	1095.1.1 = {
		liege = "d_ephese"
	}
	1108.1.1 = {
		holder = 215509
	}
	1150.1.1 = { # Before 1157
		holder = Pegonitespraktorsamos1157ABBC1 # Unnamed Pegonites, praktor of Samos
	}
	1160.1.1 = { # After 1150
		de_jure_liege = d_mylasa_and_melanoudion # Chios is part of Mylasa and Melanoudion after the disbandment of Cibyrrhaeots theme
		liege = d_mylasa_and_melanoudion # 
	}
	1170.1.1 = { # Until 1175
		holder = 215504 # Andronikos Doukas Angelos, possibly doux of Mylasa and Melanoudion
	}
	1175.1.1 = { # From 1175
		holder = Kantakouzenosdouxmylasa1175ABBC1 # Andronikos Kantakouzenos, doux of Mylasa and Melanoudion
	}
	1189.1.1 = { # 1189
		holder = 215001 # Basileios Vatatzes, possibly also doux of Mylasa and Melanoudion
	}
	1190.1.1 = { # 1190s, possibly 1190-1195 and c. 1200/1
		holder = 215517 # Michael I Komnenos Doukas, doux of Mylasa and Melanoudion
	}
	1195.1.1 = { # 
		holder = 0 #
	}
	1200.1.1 = { # 1190s, possibly 1190-1195 and c. 1200/1
		holder = 215517 # Michael I Komnenos Doukas, doux of Mylasa and Melanoudion
	}
	1202.1.1 = { # After 1200/1
		holder = 0 # Michael I Komnenos Doukas rebels but forced to flee to Seljuks
	}
	1204.5.16 = {
		liege = k_venice # Chios is given to Venice
		holder = 213601
		government = feudal_government
	}
	1205.6.21 = {
		holder = 32120 #Pietro Ziani
	}
	1225.1.1 = { # 1225
		liege = "k_nikaea" # Chios is taken back by Nikaeans
		holder = 215000
		government = administrative_government
	}
	1261.1.1 = {
		holder = 34283
	}
	1279.1.1 = {
		holder = 34286
	}
	1304.1.1 = {
		liege = "d_genoa"
	}
	1304.1.1 = {
		holder = 31453
	}
	1307.1.1 = {
		holder = 31460
	}
	1314.1.1 = {
		holder = 31463
	}
	1329.1.1 = {
		liege = "e_byzantium"
		holder = 465500
	}

}


c_rhodos = {
	867.1.1 = {	change_development_level = 8 }
	1066.1.1 = { change_development_level = 12 }
	1178.1.1 = { change_development_level = 14 }
	
	330.1.1 = {
		liege = "d_cibyrrhaeot"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	751.1.1 = {
		holder = 145834
	}
	780.1.1 = {
		holder = 70494
	}
	813.7.11 = {
		holder = 70493
	}
	865.1.1 = {
		holder = 145113
	}
	1060.1.1 = {
		holder = 90090
	}
	1078.1.1 = {
		holder = 232531
	}
	1090.1.1 = {
		liege = "d_ephese"
		holder = 34262
	}
	1092.1.1 = {
			holder = 34264
	}
	1093.1.1 = {
		liege = "d_cibyrrhaeot"
	}
	1093.1.1 = {
		holder = 232531
	}
	1136.1.1 = {
		holder = 34382
	}
	1156.3.31 = {
		holder = 34387
	}
	1160.1.1 = { # After 1150
		de_jure_liege = d_mylasa_and_melanoudion # Rhodes should be part of Mylasa and Melanoudion after the disbandment of Cibyrrhaeots theme
		liege = d_mylasa_and_melanoudion # 
	}
	1178.1.1 = {
		holder = 232515 # Andronikos Kontostephanos
	}
	1185.9.12 = { # Leo Gabalas acknowledges some form of Suzerainty by the Empire of Nicaea but remains virtually independent until his death in early 1240s
		holder = 215025 # Leo Gabalas Lord of Rhodes and Cyclades ca. 1204-1240
	}
	1204.5.16 = {
		liege = 0 # 
		government = feudal_government
	}
	1233.1.1 = {
		liege = "k_nikaea" # Emperor Vatatzes launches a succesful expedition against Rhodes in 1232/3
	}
	1234.8.1 = { # August 1234
		liege = "k_venice" # Leo Gabalas recognizes Doge of Venice as his lord 
	}
	1236.1.1 = { # 1235/6
		liege = "k_nikaea" # Leo Gabalas joins Nikaean attack on Constantinople and even fights against the Venetian fleet
	}
	1240.1.1 = { # Before 1248
		holder = 34393 # Leo Gabalas dies and title passes to his brother who is styled not caesar but master of Rhodes
	}
	1247.4.1 = { # Around the same time as Ioannes III Doukas Vatatzes taking Tzurulon and Bizye
		liege = "d_genoa" # Rhodes is taken by Genoese
	}
	1247.4.1 = {
		holder = 144539 
	}
	1250.1.1 = {
		liege = "k_nikaea"
	}
	1250.1.1 = {
		holder = 34393
	}
	1251.1.1 = {
		holder = 34279
	}
	1254.1.1 = { # 1254
		holder = Diogenesleroskalymnosdoux1254ABBC1 # Konstantinos Diogenes, doux of Leros and Kalymnos
		government = administrative_government
	}
	1261.8.15 = {
		liege = "e_byzantium"
	}
	1262.1.1 = {
		holder = 34394
	}
	1310.1.1 = {
		liege = "d_knights_hospitaler"
	}
	1310.1.1 = {
		holder = 147024
	}
	1319.6.18 = {
		holder = 478502
	}

}


d_thessalonika = {
	1178.1.1 = { change_development_level = 24 }

	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
					government = feudal_government
				}
			}
		}
		liege = "e_byzantium"
	}
	754.1.1 = {
		holder = 145814
	}
	855.1.1 = {
		holder = 145185
	}
	#862.1.1 = { # After 862
	#	holder = # WIP: Marinos, strategos of Thessalonika 
	#}
	#904.1.1 = { # 904
	#	holder = # Petronas, strategos of Thessalonika in 904, before being replaced by Leon Chitzilakes
	#}
	#904.1.1 = { # 904
	#	holder = # Leon Chitzilakes/Chatzilakes/Katzilakios, strategos of Thessalonika for a few months wounded in summer and then replaced
	#}
	#904.1.1 = { # Summer 904
	#	holder = # Niketas whose family name is not known, sent to help Leon Chitzilakes but took over his duties when Leon got wounded because his horse threw him off when he wanted to greet Niketas with a traditional hug
	#}
	#904.1.1 = {
	#	holder = PMBZ27342 # Michael strategos of Thessalonika sometime between 912-925
	#}
	940.1.1 = {
		holder = Katakalonstrategosthessalonica942ABBC1 # a member of the Katakalon family was strategos in 942
	}
	#1.1.1 = { # Before 965
	#holder = PMBZ2776 # Nikephoros Hexakionites/Exaconta, strategos of Thessalonika
	#}
	#970.1.1 = {
	#holder = # Pediasimos, dux of Thessalonika in 970
	#}
	#1.1.1 = { # long before 985-985 or after
	#holder = # Euphemianos, doux of Thessalonika in for a long time in 
	#}
	991.1.1 = {
		holder = 41534 # Gregorios Taronites, doux of Thessalonika from 991 until his death in battle in 995
	}
	995.1.1= {
		holder = Chaldosdouxthessalonika995ABBC1 # Ioannes Chaldos, doux of Thessalonika in 995, possibly holding Bukellarion, Armeniakon and Thessalonika together
	}
	#998.1.1= {
	#	holder = PMBZ28528 # Paulos Bobos, possibly goveror (strategos or doux?) of Thessalonika sometime between 998-1007
	#}
	999.1.1 = {
		holder = Arianitesdouxthessalonika999ABBC1 # David Arianites, doux of Thessalonika from 999/1000 possibly until 1014
	}
	1014.1.1 = {
		holder = Botaneiatesdouxthessalonica1014ABBC1 # Theophylaktos Botaneiates, doux of Thessalonika c. 1014
	}
	1015.1.1 = {
		holder = 20525 # Konstantinos Diogenes, appointed strategos of Thessalonika c. 1015 as successor of Theophylaktos Botaneiates
	}
	1023.1.1 = { # 1023-1024
		holder = Kabasilasdouxthessalonika1023ABBC1 # Nikephoros Kabasilas, doux of Thessalonika
	}
	1027.1.1 = {
		holder = 20525 # Konstantinos Diogenes strategos of Thessalonika 1027/9-1030
	}
	1041.1.1 = {
		holder = Diogeneskatapenothessalonica1040ABBC1 # Baasakios Diogenes, katepano of Thessalonika c. 1040
	}
	1050.1.1 = {
	holder = 1732
	}
	1061.10.1 = { # 1060-1062 or Ocotber 1061-February 1063
		holder = 1740 # Nikephoros Botaneiates, later emperor, strategos of Thessalonika 
	}
	1063.2.1 = { # 1063, possibly 1062-1067
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos Doux of Thessalonika in 
	}
	1079.1.1 = { # 1079
		holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	}
	1080.1.1 = {
		holder = 34437 # Nikolaos Palaiologos, strategos of Thessalonika 1080-1081
	}
	1081.1.1 = {
		holder = 41303 # Nikephoros Melissenos (paternally Bourtzes), 1081-1104
	}
	1109.1.1 = {
		holder = 34440 # Andronikos Doukas Palaiologos, 1109-1115/7
	}
	1138.1.1 = {
		holder = 34382 # Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, 1138-1154
	}
	1162.1.1 = {
		holder = 215035 # Ioannes Komnenos Kontostephanos, doux of Thessalonika in November 1162  
	}
	1178.10.1 = { # c. 1180, should be before February 1180 or After September 1180 if Ranieri Montferrato was given it as a pronoia
		holder = Pegonitesdouxthessaloniki1180ABBC1 # Alexios Pegonites, doux of Thessalonika 
	}
	1181.1.1 = { # c. 1181-1185
		holder = 34388 # David, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	1186.1.1 = { # 1186-1192
		holder = 34387 # Andronikos, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	#4th crusade
	1204.5.16 = { # Collapse of Byzantine Empire
		liege = 0
	}
	1204.8.1 = {
		liege = "e_latin_empire"
		government = feudal_government
	}
	1204.8.1 = {
		holder = 213523 #Bonifazio I
	}
	1207.9.4 = {
		holder = 31346 #Demetrio I
	}
	#conqued by Epirus
	1224.12.1 = { # December 1224
		holder = 215514
	}
	1230.3.9 = {
		holder = 215516 
		liege = "k_bulgaria" # Became a vassal of Bulgaria after Battle of Klokotnitsa, 9 March 1230
	}
	1237.1.1 = {
		holder = 125711
	}
	1244.1.1 = {
		holder = 125714
	}
	1246.1.1 = {
		liege = "k_nikaea"
		government = administrative_government
	}
	1246.1.1 = { # 1246
		holder = 465528 # Megas Domestikos Andronikos Palaiologos is appointed as governor of Thessalonika
	}
	1248.1.1 = { # 1248/52-After 3 November 1254
		holder = Philespraitorthessalonika1252ABBC1 # Theodoros Philes is appointed as praitor of Thessalonika after the death of Andronikos Palaiologos
	}
	1254.11.3 = { # After 3 November 1254-1257
		holder = 34452 # Georgios Akropolites is appointed as praitor of Thessalonika by Emperor Theodoros II Laskaris
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1270.1.1 = { # c. 1270
		holder = Kaballariosgovernor1270ABBC1 # Alexios Kaballarios governor in Thessaly or Thessalonica
	}
	1282.12.11 = {
		holder = 465521
	}
	1295.5.1 = {
	holder = 465501
	}
	#1316.1.1 = {
	#	holder = # Yaleas, Kephale of Thessalonika and logothete ton stratiotikou
	#}
	1320.10.12 = {
		holder = 465530
	}
	1324.1.1 = { # By 1325/6
		holder = 465601 # Ioannes Palaiologos, governor of Thessalonika
	}
	1328.1.1 = { # 1328
		holder = Choumnosgovernorthessalonika1328ABBC1 # Georgios Choumnos, governor of Thessalonika
	}
	1329.9.1 = { # Late 1329-1330
		holder = SyrgiannistheodorafatherABBC1 # Syrgiannis Palaiologos is appointed governor of Thessalonika
	}
}

c_thessalonika = {
	1178.1.1 = { change_development_level = 34 }

	330.1.1 = {
		liege = "d_thessalonika"
	}
	
	# Some Magister Militum Per Illyricum as I don't have Praetorian Praefects added
	397.1.1 = { # 397-399
		holder = 200291 # Alaric, Magister Militum Per Illyricum
	}
	399.1.1 = {
		holder = 0 # 
	}
	477.1.1 = { # 477-479
		holder = Edekomagistermilitumillyricum477ABBC1 # Hunulf, brother of Odoacer. Magister Militum Per Illyricum
	}
	479.1.1 = { # 479-481
		holder = Sabinianmagistermilitumperillyricum479ABBC1 # Sabinianus Magnus Magister Militum Per Illyricum
	}
	754.1.1 = {
		holder = 145814
	}
	#830.1.1 = { # Between 830-840
	#	holder = # WIP: Unnamed Archon of Thessalonica
	#}
	#850.1.1 = { # Sometime between 850-950
	#	holder = # Basileios, Basilikos Strator and Archon of Thessalonica 
	#}
	#885.1.1 = { # Late 9th or early 10th century
	#	holder = # Konstantinos Basilikos Strator and Archon of Thessalonica
	#}
	#925.1.1 = { # Second quarter of 10th century
	#	holder = # Konstantinos Basilikos Strator and Archon of Thessalonica in 
	#}
	855.1.1 = {
		holder = 145185
	}
	940.1.1 = { # In 942
		holder = Katakalonstrategosthessalonica942ABBC1 # a member of the Katakalon family was strategos
	}
	999.1.1 = {
		holder = Arianitesdouxthessalonika999ABBC1 # David Arianites, doux of Thessalonika from 999/1000 possibly until 1014
	}
	1014.1.1 = {
		holder = Botaneiatesdouxthessalonica1014ABBC1 # Theophylaktos Botaneiates, doux of Thessalonika c. 1014
	}
	1015.1.1 = {
		holder = 20525 # Konstantinos Diogenes, appointed strategos of Thessalonika c. 1015 as successor of Theophylaktos Botaneiates
	}
	1023.1.1 = { # 1023-1024
		holder = Kabasilasdouxthessalonika1023ABBC1 # Nikephoros Kabasilas, doux of Thessalonika
	}
	1027.1.1 = {
		holder = 20525 # Konstantinos Diogenes strategos of Thessalonika 1027/9-1030
	}
	1039.1.1 = {
		holder = Paphlagongovernorthessalonika1040ABBC1 # Konstantinos, nephew of Emperor Michael Paphlagonian, governor of Thessalonika in 1040
	}
	1041.1.1 = {
		holder = Diogeneskatapenothessalonica1040ABBC1 # Baasakios Diogenes, katepano of Thessalonika c. 1040
	}
	1050.1.1 = {
		holder = 1732
	}
	1061.10.1 = { # 1060-1062 or Ocotber 1061-February 1063
		holder = 1740 # Nikephoros Botaneiates, later emperor, strategos of Thessalonika 
	}
	1063.2.1 = { # 1063, possibly 1062-1067
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos Doux of Thessalonika in 
	}
	#1079.1.1 = { # 1079, disabled so his praktor can hold his titles as he also has other titles
	#	holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	#}
	1079.1.1 = { # 1079
		holder = Kontoleonpraktorthessalonike1079ABBC1 # Unnamed Kontostephanos, praktor of Thessalonike
	}
	1080.1.1 = {
		holder = 34437 # Nikolaos Palaiologos, strategos of Thessalonika 1080-1081
	}
	1081.1.1 = {
		holder = 41303 # Nikephoros Melissenos (paternally Bourtzes), 1081-1104
	}
	1109.1.1 = {
		holder = 34440 # Andronikos Doukas Palaiologos, 1109-1115/7
	}
	1138.1.1 = {
		holder = 34382 # Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, 1138-1154
	}
	1162.1.1 = { # November 1162  
		holder = 215035 # Ioannes Komnenos Kontostephanos, doux of Thessalonika 
	}
	1178.10.1 = { # c. 1180, should be before February 1180 or After September 1180 if Ranieri Montferrato was given it as a pronoia
		holder = Pegonitesdouxthessaloniki1180ABBC1 # Alexios Pegonites, doux of Thessalonika 
	}
	1180.2.1 = { # February 1180-September 1180
		holder = 213526 # Ranieri di Monferrato may have been given Thessalonika as a pronoia
	}
	1181.1.1 = { # c. 1181-1185
		holder = 34388 # David, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	1185.8.24 = { # 24 August 1185
		holder = 211500 # Sicilian Normans capture and sack Thessalonika
	}
	1186.1.1 = { # 1186-1192
		holder = 34387 # Andronikos, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	1204.7.1 = { # 1204, After May, before November 
		liege = "e_latin_empire"
		holder = 205523 # Thessalonika surrenders to Emperor Baldwin
		government = feudal_government
	}
	1204.7.2 = { Summer 1204
		holder = Monsgovernorthessalonika1204ABBC1 # Emperor Baldwin leaves Renier of Mons to garrison Thessalonika
	}
	1204.8.1 = {
		holder = 213523 #Bonifazio I
		liege = "d_thessalonika"
	}
	1207.9.4 = {
		holder = 31346 #Demetrio I
	}

	1224.12.1 = { # December 1224
		holder = 215514 # Theodoros Komnenos Angelos takes the city
		government = administrative_government
	}
	1230.3.9 = {
		holder = 215516
	}
	1231.1.1 = { # c. 1230
		holder = Pegonitesdouxthessaloniki1230ABBC1 # Alexios Pegonites, doux of Thessalonika 
	}
	1237.1.1 = {
		holder = 125711
	}
	1244.1.1 = {
		holder = 125714
	}
	1246.1.1 = { # 1246
		holder = 465528 # Megas Domestikos Andronikos Palaiologos is appointed as governor of Thessalonika
	}
	1248.1.1 = { # 1248/52-After 3 November 1254
		holder = Philespraitorthessalonika1252ABBC1 # Theodoros Philes is appointed as praitor of Thessalonika after the death of Andronikos Palaiologos
	}
	1254.11.3 = { # After 3 November 1254-1257
		holder = 34452 # Georgios Akropolites is appointed as praitor of Thessalonika by Emperor Theodoros II Laskaris
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1270.1.1 = { # c. 1270
		holder = Kaballariosgovernor1270ABBC1 # Alexios Kaballarios governor in Thessaly or Thessalonica
	}
	1282.12.11 = {
		holder = 465521
	}
	1295.5.1 = {
		holder = 465501
	}
	#1316.1.1 = {
	#	holder = # Yaleas, Kephale of Thessalonika and logothete ton stratiotikou
	#}
	1320.10.12 = {
		holder = 465530
	}
	1324.1.1 = { # By 1325/6
		holder = 465601 # Ioannes Palaiologos, governor of Thessalonika
	}
	1328.1.1 = { # 1328
		holder = Choumnosgovernorthessalonika1328ABBC1 # Georgios Choumnos, governor of Thessalonika
	}
	1329.9.1 = { # Late 1329-1330
		holder = SyrgiannistheodorafatherABBC1 # Syrgiannis Palaiologos is appointed governor of Thessalonika
	}

}


c_chalkidike = {
	867.1.1 = {	change_development_level = 8 }
	1066.1.1 = { change_development_level = 12 }
	1178.1.1 = { change_development_level = 14 }
	
	330.1.1 = {
		liege = "d_thessalonika"
	}
	756.1.1 = {
		holder = 145815
	}
	855.1.1 = {
		holder = 145108
	}	
	1079.1.1 = { # 1079
		holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	}
	1089.1.1 = {
		holder = 34586
	}
	1113.1.1 = {
		holder = 34587
	}
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1185.9.12 = {
		holder = 215060
	}
	1186.1.1 = {
		holder = 34273
	}
	1187.1.1 = {
		liege = "d_thessalonika"
	}
	1187.1.1 = {
		holder = 215018
	}
	1204.8.1 = {
		holder = 213523 #Bonifazio I
	}
	1204.9.1 = { # Exact date unknown
		holder = Bishopsamaria1170ABBC1 # Radulfus of Samaria, entrusted with care of Mount Athos
		government = theocracy_government
	}
	1213.1.1 = {
		holder = 31346 # Back to Demetrio, son of Bonifazio 
		government = feudal_government
	}
	1224.12.1 = { # December 1224
		holder = 215514 # Theodoros Komnenos Angelos takes Thessalonika
		government = administrative_government
	}
	1230.3.9 = {
		holder = 215516
	}
	1237.1.1 = {
		holder = 125711
	}
	1241.1.1 = { # Possibly c. 1241
		holder = 125742 # Nikaeans took regions around Chalkidike
		liege = k_nikaea
	}
	#1244.1.1 = {
	#	holder = 125714
	#}
	#1246.1.1 = {
	#	holder = 125742
	#}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1270.1.1 = { # c. 1270
		holder = Kaballariosgovernor1270ABBC1 # Alexios Kaballarios governor in Thessaly or Thessalonica
	}
	1282.12.11 = {
		holder = 465521
	}
	1328.5.24 = {
		holder = 465500
	}
	
	1337.1.1 = {
		holder = 465530
	}

}

b_langades = {
	1204.8.2 = { # 1213
		holder = Phrangopoulosdouxthessalonike1213ABBC1 # Georgios Phrangopoulos, doux in Latin Thessaloniki, giving him Langades
	}
	1207.9.5 = {
		holder = Phrangopoulosdouxthessalonike1213ABBC1 # 
	}
}

b_ierrisos = {
	1204.9.1 = { # Exact date unknown
		holder = Bishopsamaria1170ABBC1 # Radulfus of Samaria, entrusted with care of Mount Athos
	}
}

c_veria = {
	330.1.1 = {
		liege = "d_thessalonika"
	}
	600.1.1 = {
		holder = DregovichihatonABBC1
		government = feudal_government
	}
	615.1.1 = {
		holder = DregovichibalkanABBC1
	}
	665.1.1 = {
		holder = DregovichibalkanABBC2
	}
	689.1.1 = {
		holder = DregovichibalkanABBC3
	}
	724.1.1 = {
		holder = DregovichibalkanABBC4
	}
	754.1.1 = {
		holder = DregovichibalkanABBC5
	}
	784.1.1 = {
		holder = DregovichibalkanABBC6
	}
	806.1.1 = {
		holder = DregovichibalkanABBC7
	}
	836.1.1 = {
		holder = DregovichibalkanABBC8
	}
	940.1.1 = {
		holder = Katakalonstrategosthessalonica942ABBC1 # a member of the Katakalon family was strategos in 942
		government = administrative_government
	}
	999.1.1 = {
		holder = Arianitesdouxthessalonika999ABBC1 # David Arianites, doux of Thessalonika from 999/1000 possibly until 1014
	}
	1014.1.1 = {
		holder = Botaneiatesdouxthessalonica1014ABBC1 # Theophylaktos Botaneiates, doux of Thessalonika c. 1014
	}
	1015.1.1 = {
		holder = 20525 # Konstantinos Diogenes, appointed strategos of Thessalonika c. 1015 as successor of Theophylaktos Botaneiates
	}
	1023.1.1 = { # 1023-1024
		holder = Kabasilasdouxthessalonika1023ABBC1 # Nikephoros Kabasilas, doux of Thessalonika
	}
	1027.1.1 = {
		holder = 20525 # Konstantinos Diogenes strategos of Thessalonika 1027/9-1030
	}
	1041.1.1 = {
		holder = Diogeneskatapenothessalonica1040ABBC1 # Baasakios Diogenes, katepano of Thessalonika c. 1040
	}
	1050.1.1 = {
		holder = 1732
	}
	1061.10.1 = { # 1060-1062 or Ocotber 1061-February 1063
		holder = 1740 # Nikephoros Botaneiates, later emperor, strategos of Thessalonika 
	}
	1063.2.1 = { # 1063, possibly 1062-1067
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos Doux of Thessalonika in 
	}
	1079.1.1 = { # 1079
		holder = Kataphlorosstrategosthessalonikasmolenoiserres1079ABBC1 # Ioannes Kataphloron strategos and anagrapheus of Smolenoi, Thessalonike and Serres
	}
	1080.1.1 = {
		holder = 34437 # Nikolaos Palaiologos, strategos of Thessalonika 1080-1081
	}
	1085.1.1 = { # 1091
		holder = Maniakestourmachesmoglenia1091ABBC1 # Iosephos Maniakes, Tourmaches of Moglenia and commander of Pechenegs settled there
	}
	1109.1.1 = { # 1109-1115/7
		holder = 34440 # Andronikos Doukas Palaiologos
	}
	1117.1.1 = { # c. 1120, Bodena and Sthlanitza are located within c_veria
		holder = Sklerosdouxbotenasthlanitza1120ABBC1 # Michael Skleros doux of Bodena and Sthlanitza 
	}
	1138.1.1 = { # 1138-1154
		holder = 34382 # Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios
	}
	1162.1.1 = { # November 1162  
		holder = 215035 # Ioannes Komnenos Kontostephanos, doux of Thessalonika
	}
	1178.10.1 = { # c. 1180, should be before February 1180 or After September 1180 if Ranieri Montferrato was given it as a pronoia
		holder = Pegonitesdouxthessaloniki1180ABBC1 # Alexios Pegonites, doux of Thessalonika 
	}
	1181.1.1 = { # c. 1181-1185
		holder = 34388 # David, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	1186.1.1 = { # 1186-1192
		holder = 34387 # Andronikos, son Alexios Komnenos, son of Anna Komnene and Nikephoros Bryennios, doux of Thessalonika 
	}
	1197.1.1 = { # c. 1200
		holder = Bakurianidzedouxveria1200ABBC1 # Georgios Pakourianos, doux of Veria 
	}
	1204.8.1 = {
		holder = 213523 #Bonifazio I
		government = feudal_government
	}
	1204.8.2 = { # 
		holder = 31499 #Uberto di Briandate, his possessions are not identified
	}
	1205.7.1 = { # After May 1205
		holder = 217502 # Kaloyan captures Veria
		liege = "k_bulgaria"
	}
	1207.10.1 = { # After October 1207
		holder = 31346 #Demetrio I
		liege = "k_thessalonika" # Veria may have returned to Latin Empire after the death of Kaloyan
	}
	1209.1.1 = { # By 1209
		holder = 217507 # Strez's realm expanded to Veria in the South
	}
	1211.1.1 = { # From before 11 March 1217 
		holder = Dameberroia1217ABBC1 # Margarita Domina Berriae
	}
	1220.1.1 = { # By February 1220
		liege = "k_epirus"
		holder = 215514 # Theodore Komnenos Doukas captures Berroia
		government = administrative_government
	}
	1220.1.2 = { c. 1220
		holder = Pegonitesdouxberroia1220ABBC1 # Konstantinos Pegonites doux of Berroia
	}
	1226.1.2 = { # Exact date unknown
		holder = PlytosgovernordouxkrujeABBC1 # Ioannes Plytos, doux of Krujë, of Ohrid, and of Veroia
	}
	1230.3.9 = {
		holder = 215516
	}
	1237.1.1 = {
		holder = 125711
	}
	1244.1.1 = {
		holder = 125714
	}
	1246.1.1 = { # 1246-1248/52
		holder = 465528 # Megas Domestikos Andronikos Palaiologos is appointed as governor of Thessalonika
	}
	1248.1.1 = { # 1248/52-After 3 November 1254
		holder = Philespraitorthessalonika1252ABBC1 # Theodoros Philes is appointed as praitor of Thessalonika after the death of Andronikos Palaiologos
	}
	1254.11.3 = { # After 3 November 1254-1257
		holder = 34452 # Georgios Akropolites is appointed as praitor of Thessalonika by Emperor Theodoros II Laskaris
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1270.1.1 = { # c. 1270
		holder = Kaballariosgovernor1270ABBC1 # Alexios Kaballarios governor in Thessaly or Thessalonica
	}
	1280.1.1 = { # 1280s, exact date unknown
		holder = Seljukmelikesgovernorberroia1280ABBC1 # Konstantinos Melikes, son of İzzeddin Keykâvus II, governor of Berroia
	}
	1295.5.1 = {
		holder = 465501
	}
	1320.10.12 = {
		holder = 465530
	}
}

b_voden = { # Used for Kitros
	1204.8.1 = { # Bonifazio marches to Thessaly November 1204
		holder = Travalesbaronzetoun1209ABBC1 # Raineri Travale, initially given a fief within Bishopric of Kitros
	}
}

b_sthlanitza = { # Also used for Kitros to the south
	1204.8.1 = { #
		holder = Daunlordkitros1204ABBC1 # Wierich von Daun, given Kitros as a fief
	}
}

d_thessaly = {
	330.1.1 = {
		liege = "e_byzantium"
	}
	855.1.1 = {
		holder = 145185
	}
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1190.1.1 = { # From before 1195
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas, doux of Thessaly and Macedonia
	}
	1204.5.16 = { # Collapse of Byzantine Empire
		liege = 0
		government = feudal_government
	}
	1204.11.1 = { # November 1204
		liege = "e_latin_empire"
		holder = 213523 # Bonifazio of Montferrat marches into Thessaly and heads south, takes Boeotia and Attica without resistance
	}
	#1204.12.1 = {
	#	holder = 31211 #Othon I
	#}
	#1216.6.11 = {
	#	liege = 0
	#}
	1221.1.1 = {
		holder = 0 #
	}
	1239.1.1 = { # 1239-1241
		holder = 215516 # Manuel Komnenos Doukas, ruler of Thessaly
	}
	1239.1.1 = { # 1236/41
		liege = k_principality_achaia # Manuel Komnenos Doukas appears to have recognized the prince of Achaia William II of Villehardouin as suzerain
	}
	1241.1.1 = { # 1241
		holder = 125715 # Michael Komnenos Doukas, ruler of Thessaly as Despot of Epirus
		liege = k_epirus
	}
	1258.1.1 = { # 1258–1263
		holder = 125715 # Michael Komnenos Doukas, ruler of Thessaly as Despot of Epirus
	}
	1258.1.1 = { # 1258/63
		liege = k_principality_achaia  # Michael Komnenos Doukas, allied to Achaia, possibly also recognized their suzerainty
	}
	1263.1.1 = { #
		liege = k_epirus  #
	}
	1267.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly
		government = feudal_government
		liege = e_byzantium
	}
	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
	#}
	1303.1.1 = { # 1303-1318
		holder = 125736 # Thessalian magnates choose Guy II de la Roche, cousin of Ioannes II's father Konstantinos as regent and he establishes a protectorate 
	}
	1311.3.15 = {
		holder = 31225 #Roger
	}
	1312.1.1 = {
		liege = "k_trinacria"
	}
	1312.1.1 = {
		holder = 71753 #Manfredo
	}
	1317.11.19 = {
		holder = 461510 #Gugliemo
	}

}


c_thessalia = {
	330.1.1 = {
		liege = "d_thessalonika"
		government = administrative_government
		effect = {
			if = {
				limit = {
					exists = holder
					NOT = { has_dlc_feature = roads_to_power }
				}
				holder = {
					empty_treasury_when_abandoning_landed_life_effect = yes
					government = feudal_government
				}
			}
		}
	}
	473.1.1 = { # c. 473
		holder = 168775 #  Theoderic the Great captures Larissa
		liege = "k_ostrogoths"
	}
	476.1.1 = { # Before 476
		holder = 0 #  Theoderic and Ostrogoths settled to Novae in Moesia Inferior
		liege = "d_thessalonika"
	}
	751.1.1 = {
		holder = 145816
	}
	865.1.1 = {
		holder = 145186
	}
	986.1.1 = { # 986
		holder = 728 # Samuil captured Larissa 
	}
	#1.1.1 = { #
	#	holder = # WIP:  Μαγηρίνος Στρατηγός, strategos of Servia
	#}
	#980.1.1 = { # 980s
	#	holder = # WIP: Sevat Seneherim, strategos of Servia
	#}
	1001.1.1 = { # Possibly from 1001
		holder = Dermokaitesstrategosservia1001ABBC1 # Nikolaos Dermakaites, strategos of Servia
	}
	#1.1.1 = { #
	#	holder = # WIP: Μιχαήλ Αυξεντιώτης, strategos of Servia
	#}
	#1.1.1 = { #
	#	holder = Delphinasanagrapheus1071ABBC1 # WIP: Nikolitzas maybe strategos of Larissa
	#}
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215503
	}
	1187.1.1 = {
		holder = 215016
	}
	1190.1.1 = { # From before 1195
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas, doux of Thessaly and Macedonia
	}
	1200.1.1 = {
		holder = 215503
	}
	#1203.1.1 = {
	#	holder = 217502 # Servia is taken by Kaloyan c. 1203, although most of the baronies of the county is not taken so just adding as a note
	#	liege = "k_bulgaria"
	#}
	1204.11.1 = {
		liege = "e_latin_empire"
		holder = 213523 # November 1204, Bonifazio of Montferrat marches into Thessaly and heads south, takes Boeotia and Attica without resistance
		government = feudal_government
	}
	1204.11.2 = {
		holder = 34582 # Guglielmo de Larsa, William of Larissa
		liege = "d_thessalonika" 
	}
	#1204.12.1 = {
	#	holder = 31499 # Uberto di Briandate
	#}
	1209.1.1 = {
		holder = 205528 #Eustache van Vlaanderen #
	}
	1218.1.1 = { # 1218 /9
		liege = "d_epirus"
		holder = 215514 # Theodore Komnenos Doukas captures Platamon castle
		government = administrative_government
	}
	1224.1.1 = {
		liege = "d_thessalonika"
	}
	1230.3.9 = {
		holder = 215516
	}
	1237.1.1 = {
		holder = 125711
	}
	1239.1.1 = {
		holder = 215516
	}
	1241.1.1 = {
		liege = "d_epirus"
		holder = 125715
	}
	1260.1.1 = { # Shortly after Battle of Pelagonia
		holder = 125743 # Nikaeans take Thessalia
		liege = "k_nikaea"
		government = administrative_government
	}
	1260.3.1 = { # Spring 1260
		holder = 125726 # Nikephoros Komnenos Doukas recovers most of Thessalia except eastern parts
		liege = "k_epirus"
	}
	1267.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly
		government = feudal_government
		liege = d_thessaly
	}
	1289.1.1 = {
		holder = 125735
	}
	1303.1.1 = {
		holder = 125736
	}
	#1318.1.1 = { # 1318
	#	holder = # WIP:
	#}
	1318.1.1 = {
		liege = "d_thessalonika"
		holder = 465210
	}
	1320.1.1 = {
		holder = 465212
	}
}

b_platamon = { 
	1204.8.1 = { # Bonifazio marches to Thessaly November 1204
		holder = Pesceseigneurplatamon1204ABBC1 # Roland Pesce, given Platamon as a fief
	}
}



c_demetrias = {
	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
					government = feudal_government
				}
			}
		}
	}
	767.1.1 = {
		holder = 145805
	}
	865.1.1 = {
		holder = 145106
	}
	1060.1.1 = {
		holder = 20517
	}
	1073.1.1 = {
		holder = 34572
	}
	1108.1.1 = {
		holder = 34574
	}
	1127.1.1 = {
		holder = 34577
	}
	1150.1.1 = {
		holder = 34578
	}
	1176.1.1 = {
		holder = 215015
	}
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1190.1.1 = { # From before 1195
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas, doux of Thessaly and Macedonia
	}
	1204.8.1 = {
		liege = "d_thessalonika"
		holder = 213523 # Bonifazio 
		government = feudal_government
	}
	1204.8.1 = {
		liege = "d_thessalonika"
		holder = 33264 # Berthold Katzenenlnbogen is given Velestino as a fief by Bonifazio but it's a barony so giving him demetrias to make him playable
	}
	1209.1.1 = { # 1209 according to Filip van Tricht
		holder = 219515 # After the death of Bonifazio, his widow Margit of Hungary is given Halmyros
		liege = e_latin_empire # Not part of the Kingdom of Thessalonika 
	}
	1219.1.1 = {
		holder = 31360 #Bela
		liege = "d_thessalonika"
	}
	1224.1.1 = {
		liege = "d_athens"
	}
	1240.1.1 = {
		holder = 31362 #Nicolas II
	}
	# c. 1240 Demetrias came under rule of Manuel Komnenos Doukas but de facto ruled by a branch of Melissenos family
	# Halmyros is conquered by Michael II of Epirus in 1246
	1246.1.1 = {
		holder = Melissenosmid13thcenturyABBC1 # Giving it to a member of Melissenos family
		liege = "k_epirus"
		government = administrative_government
	}
	1260.1.1 = { # Shortly after Battle of Pelagonia
		holder = 125743 # Nikaeans take Thessalia
		liege = "k_nikaea"
		government = administrative_government
	}
	1261.8.15 = { #
		holder = 465527 #
		liege = "e_byzantium"
		government = administrative_government
	}
	1267.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly
		government = feudal_government
	}
}


b_velestino = {
	1204.11.2 = {
		holder = 33264 # Berthold Katzenenlnbogen is given Velestino as a fief by Bonifazio
	}
}

b_halmyros = {
	1204.8.2 = {
		holder = 215503 # Halmyros is assigned to former Emperor Alexios III by Bonifazio though Alexios attempts to Epirus in 1205 and sent to Montferrat
	}
	1205.6.1 = {
		holder = 34582 # It is later given to William of Larissa
	}
	1209.1.1 = { # 1209 according to Filip van Tricht
		holder = 219515 # After the death of Bonifazio, his widow Margit of Hungary is given Halmyros
	}
}

c_neopatras = {
	330.1.1 = {
		liege = "d_athens"
	}
	767.1.1 = {
		holder = 145805
	}
	865.1.1 = {
		holder = 145106
	}
	1060.1.1 = {
		holder = 20517
	}
	1073.1.1 = {
		holder = 34572
	}
	1108.1.1 = {
		holder = 34574
	}
	1127.1.1 = {
		holder = 34577
	}
	1150.1.1 = {
		holder = 34578
	}
	1176.1.1 = {
		holder = 215015
	}
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1190.1.1 = { # From before 1195
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas, doux of Thessaly and Macedonia
	}
	1204.11.1 = {
		liege = "d_thessalonika"
		holder = 34582
		government = feudal_government
	}
	1210.1.1 = { # 1209/10
		holder = Travalesbaronzetoun1209ABBC1 # Templars are evicted from Lamia and Ravennika, and cities are made Imperial domain under a bailiff, possibly Rainerio of Travale
		liege = "e_latin_empire"
	}
	1211.1.1 = {
		liege = "d_athens"
	}
	1224.1.1 = { # 1218/20 or shortly after 1223
		holder = 215515 # Konstantinos Komnenos Doukas captures Neopatras and Lamia
		liege = k_epirus
		government = administrative_government
	}
	1243.1.2 = {
		holder = 125715 #
	}
	1260.1.1 = { # Shortly after Battle of Pelagonia
		holder = 125743 # Nikaeans take Thessalia
		liege = "k_nikaea"
		government = administrative_government
	}
	1260.3.1 = { # Spring 1260
		holder = 125726 # Nikephoros Komnenos Doukas recovers most of Thessalia except eastern parts
		liege = "k_epirus"
	}
	1261.7.25 = {
		government = feudal_government
	}
	1267.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly, his capital is at Neopatras
		liege = d_thessaly
	}
	1275.1.1 = { # 1267/8
		holder = 73293 # Dowry of Helena Angelina Komnene for her marriage to William I de la Roche
		liege = d_athens
	}
}

b_zetouni = {
	1209.1.1 = { # From 1209/10
		holder = Travalesbaronzetoun1209ABBC1 # Rainer of Travaglia, given administration of Zetouni and Ravennika
	}
}

#b_gardiki = { # WIP:
#	1204.8.1 = { #
#		holder = # Abbon/Abbo de Fleurs, given possessions in bishopric of Gardiki
#	}
#}

#b_domokos = { # Moved to Thessaliotis county as I moved Umberto Biandrato somewhere else
#	1204.11.1 = { # Bonifazio marches to Thessaly November 1204
#		holder = BuffabarondomokosABBC1 # Amedeo Buffa, baron of Domokos
#		government = feudal_government
#	}
#}

c_thessaliotis = {
	330.1.1 = {
		liege = "d_thessalonika"
	}
	751.1.1 = {
		holder = 145816
	}
	865.1.1 = {
		holder = 145186
	}
	#1.1.1 = { #
	#	holder = # WIP:  Μαγηρίνος Στρατηγός, strategos of Servia
	#}
	#980.1.1 = { # 980s
	#	holder = # WIP: Sevat Seneherim, strategos of Servia
	#}
	1001.1.1 = { # Possibly from 1001
		holder = Dermokaitesstrategosservia1001ABBC1 # WIP: Nikolaos Dermakaites, strategos of Servia
	}
	#1.1.1 = { #
	#	holder = # WIP: Μιχαήλ Αυξεντιώτης, strategos of Servia
	#}
	
	1178.1.1 = {
		holder = 34589 # Konstantinos Kamytzes
	}
	1180.9.24 = {
		holder = 215531
	}
	1183.9.24 = {
		holder = 215529
	}
	1185.9.12 = {
		holder = 215503
	}
	1187.1.1 = {
		holder = 215016
	}
	1190.1.1 = { # From before 1195
		holder = Petraliphasdouxthessaly1195ABBC1 # Ioannes Petraliphas, doux of Thessaly and Macedonia
	}
	1200.1.1 = {
		holder = 215503
	}
	1204.8.1 = { # 1204 November
		holder = 213523 # Bonifazio marches to Thessaly
		government = feudal_government
		liege = k_thessalonika
	}
	1204.8.2 = { 
		holder = BuffabarondomokosABBC1 # Amadeo Buffa, actually Domokos but moved here because it is a county
	}
	1211.8.1 = {
		holder = 205528 #Eustache van Vlaanderen
		liege = e_latin_empire
	}
	1215.1.1 = {
		liege = "d_epirus"
		holder = 215514
		government = administrative_government
	}
	1224.1.1 = {
		liege = "d_thessalonika"
	}
	1230.3.9 = {
		holder = 215516
	}
	1237.1.1 = {
		holder = 125711
	}
	1239.1.1 = {
		holder = 215516
	}
	1241.1.1 = {
		liege = "d_epirus"
		holder = 125715
	}
	1260.1.1 = { # Shortly after Battle of Pelagonia
		holder = 125743 # Nikaeans take Thessalia
		liege = "k_nikaea"
		government = administrative_government
	}
	1260.3.1 = { # Spring 1260
		holder = 125726 # Nikephoros Komnenos Doukas recovers most of Thessalia except eastern parts
		liege = "k_epirus"
	}
	1267.1.1 = { # 1267/8
		holder = 125734 # Ioannes Doukas Komnenos Angelos, lord of Thessaly
		government = feudal_government
		liege = d_thessaly
	}
	1289.1.1 = {
		holder = 125735
	}
	1303.1.1 = {
		holder = 125736
	}
	1318.1.1 = {
		liege = "d_thessalonika"
		holder = 465210
	}
	1320.1.1 = {
		holder = 465212
	}
}

