﻿k_nikaea = {
	1178.1.1 = { change_development_level = 24 }
	
	
	# Using this also for Proconsuls of Asia as it mostly corresponds to it
	152.1.1 = { # 152-153
		holder = Trocmiproconsulasia152ABBC1 # Gaius Iulius Severus, proconsul of Asia
		liege = h_roman_empire
	}
	365.1.1 = { # 365-366
		holder = 180613 # Hormazd, from Sassanid dynasty, proconsul of Asia
		liege = e_byzantium
	}
	366.1.1 = { # 
		holder = 0 #
	}
	1204.4.13 = { # Early hours of 13 April 1204
		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 = 125716 # Konstantinos Laskaris, along with his brother and a crowd of refugees, fled the capital to Asian side of Bosporus 
	}
	1205.3.20 = {
		holder = 215674 # 
	}
	1221.12.2 = { # From December 1221
		holder = 125741 # Ioannes Batatzes
	}
	1254.11.3 = {
		holder = 125742
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		liege = e_byzantium
	}
	1261.12.25 = { # 25 December 1261
		holder = 0 # Junior Emperor Ioannes IV Laskaris is blinded by Senior Emperor Michael Palaiologos 
	}
}

d_opsikion = {
	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
				}
			}
		}
	}
	#1.1.1 = { # 704/11
	#	holder = # Barasbakourios, perhaps a Mihranid, Komes of Opsikion
	#}
	768.1.1 = {
		holder = MouselekomesofopsikionABBC1
	}
	#1.1.1 = { # Late 8th/Early 9th century
	#	holder = # Sisinnios, patrikios, protospatharios and Komes of Opsikion
	#}
	813.1.1 = { # c. 813-c. 820
		holder = PterotoskomesopsikionABBC1 # Gregorios Pterotos komes of Opsikion, perhaps identical to Gregorios Komes of Opsikion
	}
	820.12.27 = { # Certainly before Thomas the Slav's revolt but may or may not be before Michael II became emperor
		holder = KatakalonkomesopsikionABBC1 # Katakylas, nephew of Emperor Michael II, Komes of Opsikion during Thomas Slav's revolt
	}		
	855.1.1 = { # Before Summer 866
		holder = PeganeskomesopsikionABBC1 # Georgios Peganes, revolted in summer 866 along with Symbatios, strategos of Thrakesion
	}
	866.9.1 = { # Sometime after Georgios Peganes, perhaps immediately after
		holder = GuberkomesopsikionABBC1 # Member of the Guber family, Komes of Opsikion 
	}
	#1010.1.1 = { # First half of 10th century
	#	holder = # Theophilos, imperial spatharios and strategos of Opsikion
	#}
	1010.1.1 = { # Before 1025
		holder = Dzodzikidzekomesopsikion1025ABBC1 # Theudatos Tzotzikios, Strategos of Opsikion 
	}
	1055.1.1 = { # Before 1063
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos, strategos of Opsikion 
	}
	1063.1.1 = {
		holder = 20527
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	1204.4.13 = {
		liege = "k_nikaea"
		holder = 125716 # 
	}
	1205.3.20 = {
		holder = 215674
	}
	1222.8.2 = {
		holder = 125741
	}
	1254.11.3 = {
		holder = 125742
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1261.7.25 = {
		liege = "e_byzantium"
	}
	1282.12.11 = {
		holder = 465521
	}
	#The Ottomans arrive
	1310.1.1 = {
		liege = "k_ottoman"
	}
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}
}

c_nikaea = {
	867.1.1 = { change_development_level = 10 }
	1066.1.1 = { change_development_level = 15 }
	1178.1.1 = { change_development_level = 18 }
	
	330.1.1 = {
		liege = "d_opsikion"
	}
	500.1.1 = { # Should be late 400s, early 500s
		holder = VerinabisshopcyzicusABBC1 # Caesar Bassiliscianus, bishop of Cyzicus
		government = theocracy_government
	}
	#1.1.1 = { # 704/11
	#	holder = # Barasbakourios, Komes of Opsikion
	#}	
	768.1.1 = {
		holder = MouselekomesofopsikionABBC1
		government = administrative_government
	}
	813.1.1 = { # c. 813-c. 820
		holder = PterotoskomesopsikionABBC1 # Gregorios Pterotos komes of Opsikion, perhaps identical to Gregorios Komes of Opsikion
	}
	820.12.27 = { # Certainly before Thomas the Slav's revolt but may or may not be before Michael II became emperor
		holder = KatakalonkomesopsikionABBC1 # Katakylas, nephew of Emperor Michael II, Komes of Opsikion during Thomas Slav's revolt
	}	
	855.1.1 = { # Before Summer 866-until Winter of 866-867
		holder = PeganeskomesopsikionABBC1 # Georgios Peganes, revolted in summer 866 along with Symbatios, strategos of Thrakesion
	}
	866.9.1 = { # Sometime after Georgios Peganes, perhaps immediately after
		holder = GuberkomesopsikionABBC1 # Member of the Guber family, Komes of Opsikion 
	}
	1010.1.1 = { # Before 1025
		holder = Dzodzikidzekomesopsikion1025ABBC1 # Theudatos Tzotzikios, Strategos (Komes?) of Opsikion 
	}
	1055.1.1 = { # Before 1063
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos, strategos of Opsikion 
	}
	1060.1.1 = {
		holder = 20527
	}
	1081.2.1 = { # February 1081
		holder = 41303 # Nikephoros Melissenos' troops capture Nikaea and he is declared Emperor, he garrisons it with Turkish troops
		liege = 0
	}
	1081.4.8 = { # 1081
		holder = 3046 # Nikephoros Melissenos submits to Alexios Komnenos but the towns he had occupied and garrisoned with Turkish soldiers remain in their hands
		liege = k_rum
	}
	1097.6.19 = { # 19 June 1097 or later
		holder = Boutoumitesdouxnikaea1097ABBC1 # Manuel Boutoumites, appointed doux of Nikaea after it was taken back
		liege = e_byzantium
	}
	1112.1.1 = { # 1113 or before
		holder = 34586 # Eusthatios Kamytzes, doux of Nikaea
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	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 = 125716 # 
	}
	1205.3.20 = {
		holder = 215674
	}
	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
	}
	#The Ottomans
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}

}

#b_kyzikos = {
#	1204.11.15 = { # 11 November/6 December 1204
#		holder = Bracheuxlordskiza1205ABBC1 # Peter Bracheux and Payen of Orleans took Kyzikos
#	}
#	1222.1.1 = { # 1221
#		holder = # Kyzikos is taken by Ioannes III Doukas Vatatzes, it is a barony in game with no holding so just adding as a note
#	}
#}

#b_lopadion = {
#	1204.12.13 = { # 6/13 December 1204
#		holder = # Lopadion is surrendered to Latins
#	}
#	1213.1.1 = { #  By 1213
#		holder = # In Nikaean hands
#	}
#	1220.1.1 = { # Possibly in 1220
#		holder = # Latins briefly capture it again
#	}
#}

c_mysia = {
	330.1.1 = {
		liege = "d_opsikion"
	}
	# Gothograikoi are possibly settled in second half of 7th century
	650.1.1 = {
		holder = GothograikoiABBC1
	}
	665.1.1 = {
		holder = GothograikoiABBC2
	}
	710.1.1 = {
		holder = GothograikoiABBC3
	}
	755.1.1 = {
		holder = GothograikoiABBC4
	}
	800.1.1 = {
		holder = GothograikoiABBC5
	}
	840.1.1 = {
		holder = GothograikoiABBC6
	}
	865.1.1 = {
		holder = GothograikoiABBC8
	}
	905.1.1 = {
		holder = GothograikoiABBC9
	}
	1010.1.1 = { # Before 1025
		holder = Dzodzikidzekomesopsikion1025ABBC1 # Theudatos Tzotzikios, Strategos (Komes?) of Opsikion 
	}
	1055.1.1 = { # Before 1063
		holder = Dalassenosdouxthessalonika1063ABBC1 # Theodoros Dalassenos, strategos of Opsikion 
	}
	1060.1.1 = {
		holder = 20527
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	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 = 125716 # 
	}
	1205.3.20 = {
		holder = 215674
	}
	1211.10.15 = { # Battle of Rhycandus, 15 October 1211
		liege = "e_latin_empire" 
		holder = 205525 # After the Battle Emperor Henry marches unopposed as far south as Nymphaion, modern day Kemalpaşa in İzmir
	}
	# December 1214, Treaty of Nymphaeum, Latin Empire gets most of Mysia up to the village of Kalamos (modern Gelenbe) which was to be uninhabited
	# and mark the boundary between the two states
	#1216.6.11 = {
	#	holder = 205725 #Pierre I de Courtenay
	#}
	1216.6.11 = {
		holder = 205526 #Yolande van Vlaanderen (regent)
	}
	1219.8.1 = {
		holder = 91062 # Emperor Robert Courtenay
	}
	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
	}
	1254.11.3 = {
		holder = 125742
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1282.12.11 = {
		holder = 465521
	}
	#The Ottomans
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}

}

#b_poimanenon = {
#	1204.12.13 = { # 6/13 December 1204
#		holder = # Lopadion is surrendered to Latins
#	}
#}

c_prusa = {
	330.1.1 = {
		liege = "d_opsikion"
		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
				}
			}
		}
	}
	754.1.1 = {
		holder = 145828
	}
	855.1.1 = {
		holder = 145192
	}
	1060.1.1 = {
		holder = 2052701
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	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
	}
	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
	}
	#The Ottomans
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}

}


c_phrygia = {
	330.1.1 = {
		liege = "d_opsikion"
	}
	754.1.1 = {
		holder = 145828
	}
	855.1.1 = {
		holder = 145192
	}
	1060.1.1 = {
		holder = 2052701
	}
	1178.1.1 = {
		holder = doukas_3 # John Doukas, the megas hetaireiarches
	}
	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
	}
	1222.8.2 = {
		holder = 125741
	}
	1242.1.1={ # 1241/2, after death of Cuman chieftain Jonas
		holder = SyrgiannesABBC1 # Cumans with Saronius are settled along the Meander valley, east of Philadelphia, Phrygia and parts of Asia Minor close to Constantinople
	}
	#1258.8.18={
	#	holder=125743
	#}
	#1261.7.25={
	#	holder=465527
	#}
	1282.12.11 = {
		holder = 465521
	}
	#The Ottomans
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}
}

d_ephese = {
	867.1.1 = {	change_development_level = 7 }
	1066.1.1 = { change_development_level = 11 }
	1178.1.1 = { change_development_level = 16 }
	
	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
				}
			}
		}
	}
	750.1.1 = {
		holder = 145830
	}
	793.1.1 = {
		holder = 145831 # WIP: Actually I should remove all holders of d_ephese
	}
	796.1.1 = { # c. 797
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia 
	}
	819.1.1 = { # Shortly after 819
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia 
	}	
	840.1.1 = { # 841
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia 
	}
	855.1.1 = { # From c. 855
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia 
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = { # Perhaps appointed after 26 May 866
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866 
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	1060.1.1 = {
		holder = 42003
	}
	1070.1.1 = {
		holder = 20518
	}
	1081.1.1 = {
		liege = "k_rum"
		holder = 34262
	}
	1092.1.1 = {
		holder = 34264
	}
	1095.1.1 = {
		liege = "e_byzantium"
		holder = 20518
	}
	#1098.1.1 = { # 1098
	#	holder = # Unnamed Petzeas, doux of Ephesos
	#}
	1108.1.1 = {
		holder = 215509
	}
	1166.1.16 = {
		holder = 215526
	}
	1168.1.1 = {
		holder = 125753 # Ioannes Batatzes
	}
	1180.1.2 = {
		holder = 34276
	}
	1199.1.1 = {
		holder = 34277
	}
	1202.1.1 = {
		holder = 215000
	}
	1204.4.15 = {
		holder = 0
	}
	1206.1.1={
		liege = "k_nikaea" #
	}
	1261.1.1 = {
		holder = 34283
	}
	1261.7.25 = {
		liege = "e_byzantium"
	}
	1279.1.1 = {
		holder = 34286
	}
	1308.1.1 = {
		liege = "k_saruhan"
		holder = 71871
	}
	1310.1.1 = {
		holder = 71870
	}
	

}

c_ionia = {
	330.1.1={
		liege="d_ephese"
	}
	750.1.1={
		holder=145830
	}
	792.1.1={
		holder=145831
	}
	796.1.1 = { # c. 797
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia 
	}
	819.1.1 = {
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia shortly after 819
	}	
	840.1.1 = { # 841
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia 
	}
	855.1.1 = { # from c. 855
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia 
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = { # Perhaps appointed after 26 May 
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	1060.1.1 = {
		holder=42003
	}
	1097.6.17 = { # 17 June 1097
		liege = e_byzantium # Smyrna is retaken
	}
	1098.1.1 = { # 1098
		holder= Kaspaxdouxsymrna1098ABBC1 # A Kaspax is made doux of Symrna when it is retaken 
	}
	1099.1.1 = {
		holder= Exazenoshyaleasdouxsmyrna1099ABBC1 # Nikephoros Hyaleas Exazenos, made doux of Smyrna to replace Kaspax who was murdered
	}
	1118.1.1 = {
		de_jure_liege = d_mylasa_and_melanoudion # 
		liege = d_mylasa_and_melanoudion # 
	}
	1127.1.1 = { # 1127 or 1143
		holder = Xerosanagrephusmylasamelanoudion1127ABBC1 # Michael Xeros Sebastos and anagrapheus of theme of Mylasa and Melanoudion, giving in absence of a known doux/strategos
	}
	#1127.1.1 = { # Possibly 1128-1143
	#	holder = # Theodoros Pepanos doux and anagrapheus of 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
	}
	1203.1.1={ # 1204
		holder = 215038 # Sabas Asidenos, a local magnate in Sampson(Priene) Ionia 
	}
	1204.4.15={
		liege = 0 # Sabas Asidenos took advantage of the power vacuum created by the fall of Constantinople to seize Sampson and the lower valley of the Meander
	}
	1206.1.1={ # Late 1205 or early 1206 
		liege = "k_nikaea" # In Sabas is forced to recognize suzerainty of Nikaea
	}
	1210.1.1 = { # until sometime in 1211
		holder = Tzykesdouxmelanudion1211ABBC1 # Ioannes Tzykis, doux of Mylasa and Melanoudion
	}
	1211.6.1 = { # From 1211
		holder = Gabrasdouxmylasamelanoudion1211ABBC1 # Ioannikios Gabras, doux of Mylasa and Melanoudion
	}
	1213.3.1={ # Exact date unknown, possibly shortly after the beginning of 1213
		holder = 31421 # Marco Sanudo also took Smyrna, but had to surrender after he was captured in a sea battle against the emperor, likely Theodoros Laskaris.
		liege = "d_aegean_islands"
	}
	1214.1.1={ # Exact date unknown
		holder = Gabrasdouxmylasamelanoudion1211ABBC1 # Marco was captured in a sea battle against the emperor, likely Theodoros Laskaris and surrendered Smyrna as his ransom
		liege = d_mylasa_and_melanoudion # 
	}
	# Sabas is last mentioned in 1216, presumably died shortly after
	1256.1.1 = { # 1259
		holder = Kalothetosdouxthrakesionmelanoudion1259ABBC1 # Theodotos Kalothetos, uncle of Michael Palaiologos, doux Thrakesion and of Melanoudion
	}
	1262.1.1 = { # 1262
		holder = Selagitesdouxmelanoudion1262ABBC1 # Ioannes Selagites, doux of Melanoudion
	}
	1272.1.1={ # c. 1280
		holder = Libadariosmegaschartoularios1280ABBC1 # Unnamed Libadarios, Megas Chartoularios and strategos of Tralles 
	}
	1308.1.1={
		liege="k_aydin"
		holder=71889
	}
	1334.1.1={
		holder=476200
	}

}


c_aeolis = {
	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
					change_government = feudal_government
				}
			}
		}
	}
	762.1.1={
		holder=145832
	}
	855.1.1={
		holder=145195
	}
	1060.1.1={
		holder=42003
	}
	#1098.1.1 = { # 1098
	#	holder = # Unnamed Petzeas, doux of Ephesos
	#}
	1162.1.1 = {
		de_jure_liege = "d_neokastra" # Parts of the county is part of Neokastra, at least before Latin Empire
	}
	1168.1.1 = {
		holder = 125753 # Ioannes Batatzes
	}
	1180.1.2={
		holder=34276
	}
	1199.1.1={
		holder=34277
	}
	1202.1.1 ={
		holder=215000
	}
	1204.12.17 ={ # Shortly after 13 December 1204
		holder = 205525 #  Henry of Flanders capture Adramyttium
		liege = "e_latin_empire"
	}
	1204.12.20 ={
		holder = 205883 # Giving it to Etienne du Perche
	}
	1205.9.1 ={ # 1205, After 19 March
		holder = 215674 # Adramyttium is recovered by the Empire of Nicaea
		liege = "k_nikaea" # 
	}
	1211.10.15 = { # Battle of Rhycandus, 15 October 1211
		liege = "e_latin_empire" 
		holder = 205525 # After the Battle Emperor Henry marches unopposed as far south as Nymphaion, modern day Kemalpaşa in İzmir
	}
	1216.6.11 = {
		holder = 205526 #Empress Yolande van Vlaanderen
	}
	1219.9.2 = {
		holder = 91062 #Robert de Courtenay
	}
	#1214.12.1 = { # Treaty of Nymphaeum, December 1214
	#liege = "k_nikaea" 
	#holder = 215674 # Village of Kalamos (modern Gelenbe) which was to be uninhabited mark the boundary between the two states
	#}
	1224.1.1 = { # 1224
		liege = "k_nikaea" 
		holder = 215674 # Adramyttium recaptured by Nikaean Empire
	}
	1261.1.1={
		holder=34283
	}
	1279.1.1={
		holder=34286
	}
	1304.1.1 = { # 1304
		holder = Nestongoscommandernyssa1284ABBC1 # Konstantinos Doukas Nestongos kephale and doux of Neokastron
	}
	#To Saruhan
	1308.1.1={
		holder=71871
	}
	1310.1.1={
		holder=71870
	}

}

# Source for doux of Thracesia in 12th and 13th century is mainly "The Provincial Aristocracy in Byzantine Asia Minor 1081-1261"

d_thracesia = {
	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
				}
			}
		}
	}
	660.1.1 = {
		effect = {
			set_capital_county = title:c_chonae # Capital of Thracesia is Chonae
		}
	}
	755.1.1 = {
		holder = 145841
	}
	792.7.20 = {
		holder = 145842
	}
	796.1.1 = { # c. 797
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia 
	}
	819.1.1 = { # Shortly after 819
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia
	}	
	840.1.1 = { # 841
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia
	}
	855.1.1 = { # From c. 855
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia 
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = { # Perhaps appointed after 26 May 
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	890.1.1 = { # After 29 August 886, Not long before his date 
		holder = 41316 # Nikephoros Phokas, strategos of Thracesia
	}
	1029.1.1 = { # 1029
		holder = 20525 # Konstantinos Diogenes, appointed as strategos of Thracesia to limit his power
	}
	#1060.1.1 = {
	#	holder = 20526
	#}
	# WIP: Theodoros proedros, strategos of the Thrakesioi and domestikos ton scholon of east, perhaps identical to Theodoros proedros
	# who became domestikos of the Schools of the East in 1054 and probably kept it until 1057 
	#1.1.1 = {
	#	holder = # 
	#}
	1062.1.1 = { # Early 1060s-1081
		holder = Aaroniosstrategosthrakesia1065ABBC1 # Andronikos Aaronios, strategos of Thrakesia
	}
	1077.1.1 = {
		holder = 0
	}
	#1100.1.1 = { # 11th/12th century
	#	holder =  # Epiphanios chartoularios of Hagia Sophia domestikos of the imperial sekreta and "sole governor" of the Thrakesion, possibly identical to Epiphanios Kamateros
	#}
	1150.1.1 = { # Sometime in 12th century, maybe towards the end
		effect = {
			set_capital_county = title:c_lydia # Philadelphia is made capital of Thracesia theme
		}
	}
	1152.1.1 = { # by 1158
		holder = Gifardosdouxthrakesion1158ABBC1 # Alexios Gifardos doux of Thrakesion 
	}
	1167.1.1 = { # 1167
		holder = kontostephanos_1 # An Alexios Kontostephanos was doux of Thrakesion
	}
	1176.1.1 = { # 1176-1182
		holder = 125753 # Ioannes Komnenos Batatzes, doux of Thrakesion 
	}
	1190.1.1={ # c. 1193 or 1190
		holder = 215001 # Basileios Vatatzes, doux of Thracesia 
	}
	1193.1.1={ # late 12th/early 13th century, possibly before Empire of Nikaea
		holder = DryonitesdouxthrakesionABBC1 # Andronikos Dryonites, doux of Thrakesion in 
	}
	1196.1.1 = { # Sometime during the reign of Alexios III Angelos (1195-1203)
		holder = GifardosdouxthrakesionalexiosIIIangelosABBC1 # Alexios Gifardos doux (of Thrakesion?)
	}
	#1202.1.1 = { # Shortly before 1204
	#	holder =  # An Alexios Kontostephanos, not identical to doux of 1167, may have been doux of Thrakesion 
	#}
	1203.12.1={ # 
		holder = 215031 #
		liege = 0 # Philadelphia probably was no longer under Byzantine control since late 1203 as it is absent from Partitio Romaniae 
		government = feudal_government
	}
	1205.8.1={ # After March 1205, between Summer 1205 and Spring 1206 
		liege = "k_nikaea" # Philadelphia becomes subject of Nikaea after Mangaphas is defeated by Henry of Flanders in Battle of Adramyttium
		government = administrative_government
	}
	1210.1.1 = { # c. 1211
		holder = Laskarishegemonthrakesion1211ABBC1 # Georgios Laskaris, brother of Theodoros I Laskaris may have been doux of Thrakesion 
	}
	1213.1.1 = { # 1213
		holder = Chrysomellesdouxthrakesion1213ABBC1 # Basil Chrysomalles, first known doux of Thracesia after 1204
	}
	1214.1.1 = { # Perhaps 1214
		holder = Karatzesphokasmegasdoux1210ABBC1 # Theodotos Phokas may have been doux of Thrakesion
	}
	1223.1.1 = { # 1226
		holder = Kadianosdouxthrakesion1226ABBC1 # Michael Kadianos pansebastos sebastos, doux of Thrakesion
	}
	1227.1.1 = { # 1227
		holder = Kraterosdouxthrakesion1227ABBC1 # Alexios Krateros, may have been doux of Thrakesion 
	}
	1228.1.1 = { # 1228
		holder = Kyriakoutzikosdouxthrakesion1228ABBC1 # Kyriakoutzikos doux of Thrakesion in 
	}
	1230.4.1 = { # April 1230-April 1231
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 #Ioannes Doukas Kourtikes, son-in-law of Ioannes III Vatatzes, doux of Thrakesion 
	}
	1231.4.1 = { # 
		holder = 0 #
	}
	1231.4.1 = { # June 1235-January 1236, pulled earlier
		holder = 34278 # Ioannes Angelos, doux of Thrakesion 
	}
	1236.1.1 = { # 1236
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 # Ioannes Doukas Kourtikes, doux of Thrakesion again 
	}
	1237.1.1 = { # 1237
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, of Latin origin, doux of Thrakesion 
	}
	1239.1.1 = {
		holder = Hikanatosdouxthrakesion1239ABBC1 # Theodoros Hikanots, doux of Thracesia sometime within 13th century 
	}
	1240.3.1 = { # March 1240-May 1240
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, doux of Thrakesion again
	}
	1241.1.1 = { # June 1241
		holder = Kamytzesdouxthracesia1241ABBC1 # Georgios Kammytzoboukes, doux of Thracesia
	}
	1245.3.1 = { # March 1245-January 1247, perhaps 1244-1249, perhaps also in 1239
		holder = 34416 # Ioannes Komnenos Kantakouzenos Angelos doux of Thrakesion 
	}
	1249.1.1 = { # Before August 1249
		holder = Laskarisdouxthrakesion1249ABBC1 # Konstantinos Laskaris doux of Thrakesion 
	}
	1250.1.1 = { # 1250 
		holder = Kantakouzenosdouxthrakesion1250ABBC1 # Manuel Kantakouzenos, may have been doux of Thracesia
	}
	1253.8.1 = { # August 1253
		holder = Kopidesdouxthrakesion1253ABBC1 # Agaron Kopidis / Agalon Kopides, may have been doux of Thracesia 
	}
	1256.1.1 = { # 1256
		holder = Makrenosdouxthrakesion1256ABBC1 # Georgios Makrenos, doux of Thrakesion, later doux of Lembos
	}
	1258.1.1 = { # 1258
		holder = TornikesdouxthrakesionABBC1258 # Ioannes Tornikios, doux of Thracesia 
	}
	1259.1.1 = { # 1259
		holder = Kalothetosdouxthrakesionmelanoudion1259ABBC1 # Pansebastos sebastos Theodotos Kalothetos, uncle of Michael Palaiologos, doux Thrakesion and of Melanoudion
	}
	1260.1.1 = { # 1260
		holder = Krybitziotesdouxthrakesion1260ABBC1 # Pansebastos sebastos Theodoros Krybitziotes, doux of Thrakesion
	}
	1261.1.1 = { # 1261-July 1262 or before
		holder = Syropoulosdouxthrakesion1261ABBC1 # Ioannes Syropoulos, possibly doux of Thrakesion
	}
	1261.8.15 = {
		liege = "e_byzantium"
	}
	1300.1.1 = {
		liege = "k_germiyan"
		holder = 71867
	}
	1327.1.1 = {
		holder = 71868
	}
}

c_lydia = {
	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_thracesia"
	}
	755.1.1={
		holder=145841
	}
	792.7.20={
		holder=145842
	}
	796.1.1 = { # c. 797
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia 
	}
	819.1.1 = { # Shortly after 819
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia
	}	
	840.1.1 = { # 841
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia 
	}
	855.1.1 = { # c. 855
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia from 
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = { # After he murdered his father-in-law in 21 April 866, perhaps appointed after 26 May 
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia 
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	890.1.1 = { # After 29 August 886, not long before his death 
		holder = 41316 # Nikephoros Phokas, strategos of Thracesia
	}
	1029.1.1 = { # 1029
		holder = 20525 # Konstantinos Diogenes, appointed as strategos of Thracesia to limit his power
	}
	1030.1.1 = { # 11th century, maybe early/mid
		holder = Kataphlorosekprospouthrakesionkaballarikoi11thcenturyABBC1 # Niketas ho tou Kataphloron ek prosopou of Thrakesion for the kaballarikoi
	}
	#1062.1.1 = { # Early 1060s-1081 
	#	holder = Aaroniosstrategosthrakesia1065ABBC1 # Andronikos Aaronios, strategos of Thrakesia
	#}
	1098.1.1 = { # 1098, should be months before June
		de_jure_liege = "d_philadelphia" # Philadelphia and Sardis are recovered by Megas Doux Ioannes Doukas and made a seperate theme
		liege = e_byzantium
	}
	1098.1.1 = { # 1098, should be months before June
		holder = Kekaumenosstrategosphiladelphia1098ABBC1 # Michael Kekaumenos is made the first commander of Sardis and Philadelphia
	}
	1109.1.1 = { # 1109-1110
		holder = 34348 # Eumathios Philokales had Philadelphia as his center of operation against the Turks
	}
	1111.1.1={ # Sometime before 1118
		holder = 144076 # Konstantinos Gabras was strategos of Philadelphia 
	}
	1150.1.1 = { # 12th century, maybe towards the end
		de_jure_liege = "d_thracesia" # Philadelphia and is incorporated back into theme of Thracesia and made its capital
		liege = d_thracesia
	}
	1152.1.1 = { # By 1158
		holder = Gifardosdouxthrakesion1158ABBC1 # Alexios Gifardos doux of Thrakesion 
	}
	1176.1.1 = { # 1176-1182
		holder = 125753 # Ioannes Komnenos Batatzes, doux of Thrakesion 
	}
	1177.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 = d_ephese
	}
	1187.1.1={
		holder = 215031 # Theodoros Mangaphas, already ruling Philadelphia c. 1188
	}
	1190.1.1={
		holder = 215001 # Basileios Vatatzes, doux of Thracesia until 1193, possibly from 1190
	}
	1193.1.1={ # late 12th/early 13th century, possibly before Empire of Nikaea
		holder = DryonitesdouxthrakesionABBC1 # Andronikos Dryonites, doux of Thrakesion in 
	}
	1196.1.1 = { # Sometime during the reign of Alexios III Angelos (1195-1203)
		holder = GifardosdouxthrakesionalexiosIIIangelosABBC1 # Alexios Gifardos doux (of Thrakesion?) 
	}
	#1202.1.1 = { # Shortly before 1204
	#	holder =  # An Alexios Kontostephanos, not identical to doux of 1167, may have been doux of Thrakesion 
	#}
	1203.12.1={ # Theodoros Mangaphas founds an independent state in Philadelphia shortly after fall of Constantinople
		holder = 215031 # But possibly it was already no longer under Byzantine control since late 1203 as it is absent from  Partitio Romaniae 
		liege = "d_thracesia"
	}
	1210.1.1 = { # c. 1211
		holder = Laskarishegemonthrakesion1211ABBC1 # Georgios Laskaris, brother of Theodoros I Laskaris may have been doux of Thrakesion 
	}
	1213.1.1 = { # 1213
		holder = Chrysomellesdouxthrakesion1213ABBC1 # Basil Chrysomalles, first known doux of Thracesia after 1204
	}
	1214.1.1 = { # Perhaps 1214
		holder = Karatzesphokasmegasdoux1210ABBC1 # Theodotos Phokas may have been doux of Thrakesion
	}
	1223.1.1 = { # 1226
		holder = Kadianosdouxthrakesion1226ABBC1 #  Michael Kadianos pansebastos sebastos, doux of Thrakesion
	}
	1227.1.1 = { # 1227
		holder = Kraterosdouxthrakesion1227ABBC1 # Alexios Krateros, may have been doux of Thrakesion 
	}
	1228.1.1 = { # 1228
		holder = Kyriakoutzikosdouxthrakesion1228ABBC1 # Kyriakoutzikos doux of Thrakesion 
	}
	1230.4.1 = { # April 1230-April 1231
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 #Ioannes Doukas Kourtikes, son-in-law of Ioannes III Vatatzes, doux of Thrakesion 
	}
	1235.6.1 = { # June 1235-January 1236
		holder = 34278 # Ioannes Angelos, doux of Thrakesion 
	}
	1236.1.1 = { # 1236
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 # Ioannes Doukas Kourtikes, doux of Thrakesion again 
	}
	1237.1.1 = { # 1237
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, of Latin origin, doux of Thrakesion
	}
	1239.1.1 = { #
		holder = Hikanatosdouxthrakesion1239ABBC1 # Theodoros Hikanotos, doux of Thracesia sometime within 13th century 
	}
	1240.3.1 = { March 1240-May 1240 
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, doux of Thrakesion again 
	}
	1241.6.1 = { # June 1241
		holder = Kamytzesdouxthracesia1241ABBC1 # Georgios Kammytzoboukes, doux of Thracesia 
	}
	1245.3.1 = { # March 1245-January 1247, Perhaps 1244-1249
		holder = 34416 # Ioannes Komnenos Kantakouzenos Angelos doux of Thrakesion 
	}
	1247.1.1 = { # by August 1249
		holder = Laskarisdouxthrakesion1249ABBC1 # Konstantinos Laskaris doux of Thrakesion 
	}
	1250.1.1 = { # 1250
		holder = Kantakouzenosdouxthrakesion1250ABBC1 # Manuel Kantakouzenos, may have been doux of Thracesia 
	}
	1253.8.1 = { # August 1253
		holder = Kopidesdouxthrakesion1253ABBC1 # Agaron Kopidis / Agalon Kopides, may have been doux of Thracesia 
	}
	1256.1.1 = { # 1256
		holder = Makrenosdouxthrakesion1256ABBC1 # Georgios Makrenos, doux of Thrakesion, later doux of Lembos
	}
	1258.1.1 = { #1258
		holder = TornikesdouxthrakesionABBC1258 # Ioannes Tornikios, doux of Thracesia 
	}
	1259.1.1 = { # 1259
		holder = Kalothetosdouxthrakesionmelanoudion1259ABBC1 # Theodotos Kalothetos, uncle of Michael Palaiologos, doux Thrakesion and of Melanoudion
	}
	1260.1.1 = { # 1260
		holder = Krybitziotesdouxthrakesion1260ABBC1 # Pansebastos sebastos Theodoros Krybitziotes, doux of Thrakesion
	}
	1261.1.1 = { # 1261-July 1262 or before
		holder = Syropoulosdouxthrakesion1261ABBC1 # Ioannes Syropoulos, possibly doux of Thrakesion
	}
	1280.1.1 = { # 1284
		holder = Nestongoscommandernyssa1284ABBC1 # Konstantinos Doukas Nestongos commander of Nyssa in Lydia
	}
	
	1314.1.1={
		liege=0
		holder=93530
	}
	1334.1.1={
		holder=93531
	}
	

}


c_thyatira = {
	330.1.1={
		liege="d_thracesia"
	}
	755.1.1={
		holder=145841
	}
	792.7.20={
		holder=145842
	}
	796.1.1 = {
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia c. 797
	}
	819.1.1 = {
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia shortly after 819
	}	
	840.1.1 = {
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia in 841
	}
	855.1.1 = {
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia from c. 855
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = {
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866, perhaps appointed after 26 May 
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios' defeat is not known, giving to Michael III
	}
	890.1.1 = { # After 29 August 886, not long before his death 
		holder = 41316 # Nikephoros Phokas, strategos of Thracesia
	}
	1029.1.1 = {
		holder = 20525 # Konstantinos Diogenes, appointed as strategos of Thracesia in 1029 to limit his power
	}
	1062.1.1 = { # Early 1060s-1081
		holder = Aaroniosstrategosthrakesia1065ABBC1 # Andronikos Aaronios, strategos of Thrakesia
	}
	1162.1.1 = {
		de_jure_liege = "d_neokastra" # Parts of the county is part of Neokastra, at least during the Nikaean Empire
	}
	1177.1.1 = {
		holder = 215001 # Basileios, serving under his father
	}
	1192.1.1={
		holder=225002
	}
	1196.1.1={
		holder=225004
	}
	1204.5.16={ # Theodoros Mangaphas controls most if not all of the theme of the Thracesia
		holder = 215031 #
	}
	1211.10.15 = { # Battle of Rhycandus, 15 October 1211
	liege = "e_latin_empire" 
	holder = 205525 # After the Battle Emperor Henry marches unopposed as far south as Nymphaion, modern day Kemalpaşa in İzmir
	}
	1214.12.1 = { # Treaty of Nymphaeum, December 1214
	liege = "k_nikaea" 
	holder = 215674 # Village of Kalamos (modern Gelenbe) which was to be uninhabited mark the boundary between the two states
	}
	1220.1.1 = {
		holder = 215672
	}
	1222.8.2={
		holder=125741
	}
	1254.11.3={
		holder=125742
	}
	1258.8.18={
		holder=125743
	}
	1261.7.25={
		holder=465527
	}
	1304.1.1 = { # 1304
		holder = Nestongoscommandernyssa1284ABBC1 # Konstantinos Doukas Nestongos kephale and doux of Neokastron
	}
	1314.1.1={
		liege=0
		holder=93530
	}
	1334.1.1={
		holder=93531
	}
}

c_hadrianeia = {
	330.1.1={
		liege="d_thracesia"
	}
	755.1.1={
		holder=145841
	}
	792.7.20={
		holder=145842
	}
	796.1.1 = {
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia c. 797
	}
	819.1.1 = {
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia shortly after 819
	}	
	840.1.1 = {
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia in 841
	}
	855.1.1 = {
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia from c. 855
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = {
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866, perhaps appointed after 26 May 
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	890.1.1 = { # After 29 August 886, not long before his death 
		holder = 41316 # Nikephoros Phokas, strategos of Thracesia
	}
	1029.1.1 = {
		holder = 20525 # Konstantinos Diogenes, appointed as strategos of Thracesia in 1029 to limit his power
	}
	1062.1.1 = { # Early 1060s-1081
		holder = Aaroniosstrategosthrakesia1065ABBC1 # Andronikos Aaronios, strategos of Thrakesia
	}
	1168.1.1 = {
		holder = 125753 # Ioannes Batatzes
	}
	1177.1.1 = {
		holder = 215001 # Basileios, serving under his father
	}
	1192.1.1={
		holder=225002
	}
	1196.1.1={
		holder=225004
	}
	1204.5.16={
		liege="k_nikaea"
		holder=125716
	}
	1204.5.16={ # Theodoros Mangaphas controls most if not all of the theme of the Thracesia
		holder = 215031 #
	}
	1210.1.1 = { # c. 1211
		holder = Laskarishegemonthrakesion1211ABBC1 # Georgios Laskaris, brother of Theodoros I Laskaris may have been doux of Thrakesion 
	}
	1211.10.15 = { # Battle of Rhycandus, 15 October 1211
	liege = "e_latin_empire" 
	holder = 205525 # After the Battle Emperor Henry marches unopposed as far south as Nymphaion, modern day Kemalpaşa in İzmir
	}
	1214.12.1 = { # Treaty of Nymphaeum, December 1214
	liege = "k_nikaea" 
	holder = Karatzesphokasmegasdoux1210ABBC1 # Village of Kalamos (modern Gelenbe) which was to be uninhabited mark the boundary between the two states
	}
	1223.1.1 = { # 1226
		holder = Kadianosdouxthrakesion1226ABBC1 # Michael Kadianos pansebastos sebastos, doux of Thrakesion
	}
	1227.1.1 = { # 1227
		holder = Kraterosdouxthrakesion1227ABBC1 # Alexios Krateros, may have been doux of Thrakesion 
	}
	1228.1.1 = { # 1228
		holder = Kyriakoutzikosdouxthrakesion1228ABBC1 # Kyriakoutzikos doux of Thrakesion in 
	}
	1230.4.1 = { # April 1230-April 1231
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 #Ioannes Doukas Kourtikes, son-in-law of Ioannes III Vatatzes, doux of Thrakesion 
	}
	1235.6.1 = { # June 1235-January 1236
		holder = 34278 # Ioannes Angelos, doux of Thrakesion 
	}
	1236.1.1 = { # 1236
		holder = Kourtikesdoukasdouxthrakesion1233ABBC1 # Ioannes Doukas Kourtikes, doux of Thrakesion again 
	}
	1237.1.1 = { # 1237
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, of Latin origin, doux of Thrakesion 
	}
	1239.1.1 = {
		holder = Hikanatosdouxthrakesion1239ABBC1 # Theodoros Hikanots, doux of Thracesia sometime within 13th century 
	}
	1240.3.1 = { # March 1240-May 1240
		holder = Kontophredouxthrakesion1237ABBC1 # Manuel Kontophre, doux of Thrakesion again
	}
	1241.1.1 = { # June 1241
		holder = Kamytzesdouxthracesia1241ABBC1 # Georgios Kammytzoboukes, doux of Thracesia
	}
	1242.1.1={ # 1241/2, after death of Cuman chieftain Jonas
		holder = SyrgiannesABBC1 # Cumans with Saronius are settled along the Meander valley, east of Philadelphia, Phrygia and parts of Asia Minor close to Constantinople
	}
	#1258.8.18={
	#	holder=125743
	#}
	#1261.7.25={
	#	holder=465527
	#}
	1282.12.11={
		holder=465521
	}
	1314.1.1={
		liege=0
		holder=93530
	}
	1334.1.1={
		holder=93531
	}
}

c_chonae = {
	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_thracesia"
		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
				}
			}
		}
	}
	755.1.1 = {
		holder = 145841
	}
	792.7.20 = {
		holder = 145842
	}
	796.1.1 = {
		holder = 145860 # Bardanes Tourkos, strategos of Thracesia c. 797
	}
	819.1.1 = {
		holder = Armeniosstrategosthracesia823ABBC1 # Bardas/Vardan, kinsman of Emperor Leo V. He was assigned strategos of Thracesia shortly after 819
	}	
	840.1.1 = {
		holder = 145190 # Konstantinos Kontomytes strategos of Thracesia in 841
	}
	855.1.1 = {
		holder = MamikoniancaesarpetronasABBC1 # Caesar Petronas, strategos of Thracesia from c. 855
	}
	#847.1.1 = {
	#	holder = 145116
	#}
	866.5.27 = {
		holder = Sabbatiosstrategosthrakesion866ABBC1 # Symbatios the Armenian, made strategos of Thracesia after he murdered his father-in-law in 21 April 866, perhaps appointed after 26 May 
	}
	867.1.1 = {
		holder = 70490 # Holder after Symbatios is defeated is not known, giving to Michael III
	}
	890.1.1 = { # After 29 August 886, not long before his death 
		holder = 41316 # Nikephoros Phokas, strategos of Thracesia
	}
	1066.1.1 = {
		holder = 20489
	}
	#1118.1.1 = { # b_mylasa Moved Mylasa to Ionia
	#	de_jure_liege = d_mylasa_and_melanoudion # 
	#	liege = d_mylasa_and_melanoudion # 
	#}
	1152.1.1 = { # by 1158
		holder = Gifardosdouxthrakesion1158ABBC1 #Alexios Gifardos doux of Thrakesion 
	}
	1167.1.1 = { # 1167
		holder = kontostephanos_1 # An Alexios Kontostephanos was doux of Thrakesion
	}
	1176.1.1 = { # 1176-1182
		holder = 125753 # Ioannes Komnenos Batatzes, doux of Thrakesion 
	}
	1190.1.1={ # c. 1193 or 1190
		holder = 215001 # Basileios Vatatzes, doux of Thracesia 
	}
	1193.1.1={ # late 12th/early 13th century, possibly before Empire of Nikaea
		holder = DryonitesdouxthrakesionABBC1 # Andronikos Dryonites, doux of Thrakesion in 
	}
	1196.1.1 = { # Sometime during the reign of Alexios III Angelos (1195-1203)
		holder = GifardosdouxthrakesionalexiosIIIangelosABBC1 # Alexios Gifardos doux (of Thrakesion?)
	}
	#1202.1.1 = { # Shortly before 1204
	#	holder =  # An Alexios Kontostephanos, not identical to doux of 1167, may have been doux of Thrakesion 
	#}
	1204.5.16 = {
		liege = 0 # 
		holder = Kontostephanosdouxcrete1197ABBC1 # Nikephoros Kontostephanos, briefly independent in Upper Meander
	}
	1206.2.1 = { # February/March 1206
		holder = 232518 # Manuel Maurozomes, with the backing of his son-in-law Kaykhusraw carves out a realm in Chonaea and Laodecia
		liege = "k_rum" # And becomes his vassal
	}
	1230.1.1 = { 
		holder = KomnenosmaurozomesABBC1 # So he holds a title
	}
	1252.1.1 = {
		holder = KomnenosmaurozomesABBC2 # So he holds a title
	}
	1268.1.1 = {
		holder = KomnenosmaurozomesABBC3 # So he holds a title
	}
	1314.1.1 = {
		liege = 0
		holder = 93530
	}
	1334.1.1 = {
		holder = 93531
	}
}

d_optimatoi = {
	867.1.1 = {	change_development_level = 7 }
	1066.1.1 = { change_development_level = 11 }
	1178.1.1 = { change_development_level = 16 }
	
	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
				}
			}
		}
	}
	752.1.1={
		holder=145827
	}
	855.1.1={
		holder=145191
	}
	1018.1.1 = { # Mid 11th century
		holder = Kataphlorosstrategosoptimatoi11thcenturymidABBC1 # Gregoras Kataphloron, sebastophoros, strategos and krites of the Optimatoi
	}
	1060.1.1= {
		holder=1746
	}
	1065.1.1 = { # 3rd quarter of 11th century 
		holder = TaronitesdouxoptimatonABBC1 # Gregorios Taronites, magistros vestarches krites and doux of Optimaton
	}
	1178.1.1 = {
		holder = 180997 # Konstantinos Macrodoukas
	}
	1190.1.2 = {
		holder=215674
	}
	1204.5.16 = {
		holder = 0
		liege = 0
	}
	#1206.2.1 = { # This is possibly after Battle of Rusion, 31 January 1206
	#	liege = "e_latin_empire"
	#	holder = 33073 # Thierry de Loos is invested by the Latin government with the city and region of Nicomedia as a fief, with the title duke
	#	government = feudal_government
	#}
	#1207.6.2 = {
	#	liege = "k_nikaea"
	#	holder = 215674 # Thierry de Loos is captured and released as part of a truce which included Nicomedia to be surrendered to Nikaean Emperor Theodoros Laskaris
	#	government = administrative_government
	#}
	#1214.12.31={
	#	holder=0 # Destroying because the duchy is held in part by Latins and in part by Nikaeans
	#}
	1235.6.1 = {
		holder = 125741 # Creating the duchy again as it is now fully under Nikaeans
		liege = "k_nikaea"
		government = administrative_government
	}
	1254.11.3={
		holder=125742
	}
	1258.8.18={
		holder=125743
	}
	1261.7.25={
		liege = "e_byzantium"
		holder=465527
	}
	1282.12.11={
		holder=465521
	}
	#The Ottomans arrive
	
	1310.1.1={
		holder=0
	}
}


c_bithynia = {

	100.1.1 = { # 100/1
		holder = Trocmiiuliusbassusgovernorbithynia100ABBC1 # Gaius Iulius Bassus Trocmi, governor of Bithynia and Pontus
	}
	#283.1.1 = { # 283
	#	holder = # WIP: Diocletian makes it his capital
	#}
	330.1.1 = {
		liege = "d_optimatoi"
	}
	752.1.1 = {
		holder = 145827
	}
	855.1.1 = {
		holder = 145191
	}
	1018.1.1 = { # Mid 11th century
		holder = Kataphlorosstrategosoptimatoi11thcenturymidABBC1 # Gregoras Kataphloron, sebastophoros, strategos and krites of the Optimatoi
	}
	1060.1.1 = {
		holder = 1746
	}
	1065.1.1 = { # 3rd quarter of 11th century
		holder = TaronitesdouxoptimatonABBC1 # Gregorios Taronites, doux of Optimaton
	}
	1073.1.1 = { # 1073/5
		liege = 0
		holder = 34220 # Roussel de Bailleul proceeded with his army to the Chrysopolis
	}
	1076.1.1 = {
		liege = "d_optimatoi"
	}
	1178.1.1 = {
		holder = 180997 # Konstantinos Macrodoukas
	}
	1190.1.2 = {
		holder = 215674
	}
	1203.6.23 = { # 23 June 1203
		holder = 215507 # Crusaders land and take Chalcedon and Scutari
	}
	1204.12.1 = { # December 1204
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # Baldwin sends an army under the command of Macaire de Sainte-Menehould and Nicomedia is taken 
		liege = "e_latin_empire" #
		government = feudal_government
	}
	1206.2.1 = { # 1206
		liege = "d_nikomedia"
		holder = 33073 # Thierry de Loos is invested by the Latin government with the city and region of Nicomedia as a fief, with the title duke
	}
	1207.6.1 = { # By summer 1207 
		liege = "k_nikaea" 
		holder = 215674 # Nicomedia is surrendered to Theodoros Laskaris as part of a treaty to release Thierry de Loos and other prisoners
		government = administrative_government
	}
	# Theodore Laskaris attacks Heraclea Pontica in 1208, David Komnenos sends a deputation which reaches Latin Emperor Henry in September 1208
	# Henry led his troops across the Sea of Marmara and occupied Nicomedia, it is still in Latin Possession during Treaty of Nymphaeum, December 1214
	1208.9.1 = {
		liege = "e_latin_empire" 
		holder = 205525 # 
		government = feudal_government
	}
	1208.9.2 = { # December 1204
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # Giving it to Macaire de Sainte-Ménéhould again so he is playable
	}
	#1216.6.11 = {
	#	holder = 205526 #
	#}
	#1219.9.2 = {
	#	holder = 91062 #Robert de Courtenay
	#}
	# Nicomedia and Asian side of the Bosporus was kept by the Latins after battle of Poimanenon
	1224.2.1 = {
		holder = 91062 #Robert de Courtenay giving it to Latin Emperors with Macaire's death
	}
	1228.1.30 = {
		holder = 91068 # Baudouin II de Courtenay giving it to Latin Emperors with Macaire's death
	}
	1229.4.9 = { # 9 April 1229
		holder = 461742 # Giving it to Latin Emperors with Macaire's death
	}
	Shortly after Early 1235 Emperor Ioannes III Vatatzes is said to have seized the last outposts of the Latin Empire in Asia Minor and Gallipoli,
	however Considering Ioannes III Vatatzes takes Latin castles north of Nicomedia in early 1241, Latins must've regained some territory or these
	were never captured by the Nikaeans
	#1235.6.1 = { # 
	#	holder = 125741 # 
	#	liege = "k_nikaea"
	#	government = administrative_government
	#}
	#
	#1240.6.1 = { #
	#	holder = 91068 # 
	#	liege = "e_latin_empire"
	#	government = feudal_government
	#}
	1241.3.1 = { # Early 1241, before Battle of Constantinople in May/June 1241
		holder = 125741 # Ioannes III Vatatzes captures Dakibyza and Niketiatou north of Nicomedia 
		liege = "k_nikaea"
		government = administrative_government
	}
	1253.9.1 = { # Autumn 1253/4 until he flees to Seljuks in 1256
		holder = 465527 # Michael, later emperor Michael VIII, holds a command in Bithynia
	}
	1256.1.1 = {
		holder = 125742
	}
	1258.8.18 = {
		holder = 125743
	}
	1261.7.25 = {
		holder = 465527
	}
	1261.12.25 = { # 25 December 1261
		holder = 125743 # Ioannes IV is exiled to a fortress in Bithynia after his blinding
	}
	1282.12.11 = { #
		holder = 465521
	}
	#The Ottomans arrive
	
	1310.1.1 = {
		holder = 71841
	}
	
	1337.1.1 = { # 1337
		holder = 476500 # Came under Ottoman rule
	}

}


b_chelai = { # Macaire de Sainte-Ménéhould
	1204.12.1={
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # Macaire de Sainte-Ménéhould,  was granted Charax as a fief, Charax falls within barony of Chalcedon or Chelai in the game
	}
	1206.2.1 = {
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # So he keeps his title
	}
	1207.6.1 = {
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # So he keeps his title
	}
	1208.9.1 = {
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # So he keeps his title
	}
	1216.6.11 = {
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # So he keeps his title
	}
	1219.9.2 = {
		holder = Saintemenehouldcommanderselymbria1206ABBC1 # So he keeps his title
	}
}

b_nikomedia = {
	1206.2.1 = {
		holder = 33073 # Thierry de Loos is invested by the Latin government with the city and region of Nicomedia as a fief, with the title duke
	}
}

c_tarsos = {
	330.1.1 = {
		liege = "d_optimatoi"
	}
	752.1.1 = {
		holder = 145827
	}
	855.1.1 = {
		holder = 145191
	}
	1018.1.1 = { # Mid 11th century
		holder = Kataphlorosstrategosoptimatoi11thcenturymidABBC1 # Gregoras Kataphloron, sebastophoros, strategos and krites of the Optimatoi
	}
	1060.1.1 = {
		holder = 1746
	}
	1065.1.1 = { # 3rd quarter of 11th century
		holder = TaronitesdouxoptimatonABBC1 # Gregorios Taronites, doux of Optimaton
	}
	1178.1.1 = {
		holder = 180997 # Konstantinos Macrodoukas
	}
	1190.1.2 = {
		holder = 215674
	}
	1205.1.1= {
		holder = 215520 # David Komnenos takes possibly also holds Tarsos c. 1205 
		liege = "d_paphlagonia" #
		government = feudal_government
	}
	1214.12.31 = { # With David no longer a Latin Empire vassal, Theodoros Laskaris quickly annexes all of David's lands west of Sinope by end of 1214
	holder = 215674
	liege = k_nikaea
	government = administrative_government
	}
	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
	}
	#The Ottomans arrive
	
	1310.1.1 = {
		holder = 71841
	}
	1332.1.1 = {
		holder = 476500
	}
	

}


d_bucellaria = {
	753.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
				}
			}
		}
		holder=145839
	}
	#1.1.1={ # 767-771
	#	holder = # Manes, strategos of the Boukellarioi
	#}
	#1.1.1={ # Mid 8th century
	#	holder = # Georgios, strategos of the Boukellarioi
	#}
	#1.1.1={ # 777-782
	#	holder = # Tatzates strategos of the Boukellarioi
	#}
	#1.1.1={ # 8th century
	#	holder = # Chrysocheres, strategos of the Boukellarioi
	#}
	#1.1.1={ # 791-792
	#	holder = # Nikephoros patrikios, strategos of the Boukellarioi
	#}
	#1.1.1={ # 8th/9th century
	#	holder = # Bardanes basilikos protospatharios, strategos of the Boukellarioi
	#}
	#1.1.1={ # 8th/9th century
	#	holder = # Ioannes, basilikos protospatharios, strategos of the Boukellarioi
	#}
	#1.1.1={ # 837-838
	#	holder = # Theodoros Krateros, strategos of Boukellarioi
	#}
	#1.1.1={ # First half of 9th century
	#	holder = # Leon, strategos of Boukellarioi
	#}
	#1.1.1={ # 9th Century
	#	holder = # WIP: Nikephoros basilikos protospatharios and strategos of the Boukellarioi
	#}
	855.1.1={ # 863
		holder= NasrstrategosboukellarionABBC1 # Basileios Nasar strategos or stratelates of Bukellarion in 
	}
	875.1.1={
		holder= BayanstrategosboukellarionABBC1 # A member of Bayan family was strategos of Bukellarion in second half of 9th century
	}
	#1.1.1={ # 9th/10th Century
	#	holder = # Andronikos strategos of the Boukellarioi
	#}
	#1.1.1={ # 9th/10th Century
	#	holder = # Leon strategos of the Boukellarioi
	#}
	#1.1.1={ # 904-914
	#	holder = # Pagkratoukas, strategos of the Boukellarioi
	#}
	#1.1.1={ # First half of 10th century
	#	holder = # Eudokimos Basilikos protospatharios strategos of the Boukellarioi
	#}
	995.1.1= { # Possibly in 995 
		holder= Chaldosdouxthessalonika995ABBC1 # Ioannes Chaldos, doux of Bukellarion, holding Bukellarion, Armeniakon and Thessalonika together
	}
	1020.1.1= { # 1020/7-1028 at latest
		holder= 70380 # Presian Kometopoulos
	}
	1028.1.1= { # Sometime between 1020-1055
		holder= HagiozacharitesstrategosboukellarionABBC1 # Theodoros Hagiozacharites, strategos of Bukellarion
	}
	1055.1.1= { # Sometime between 1050-1070
		holder= Iasitesdouxarmeniakon1065ABBC1 # Leon Iasites, strategos of Boukellarion
	}
	1060.1.1= {
		holder= 1742
	}
	1076.1.1= { # 1076/7
		holder= Maurexdouxantioch1077ABBC1 # Maurex doux of Bukellarion 
	}
	
	#Seljuks
	1077.1.1= {
		holder = 0
	}
	1086.1.1 = {
		de_jure_liege = k_rum # Most if not all of it is under Sultanate of Rum control for most of the period afterwards so moving de jure under it
		liege = k_rum # 
	}
	1086.6.4 = { # 4 June 1086
		holder = 41701
	}
	1107.7.13 = { # 13 July 1107
		holder = 144011
	}
	1116.10.1= { # 1116 Autumn, after battle of Poimanenon
		holder = 7299 # Rükneddin Mesud I captures and murders his brother 
	}
	1155.4.1= {
		holder = 225000
	}
	1192.1.1= {
		holder = 225002 # Ghiyāth ad-Dīn Kaykhusraw ibn Kilij Arslān
	}
	1196.1.1= { # 1197-1204
		holder = 225004 # Rukn ad-Din al-Qāhir Suleyman Shah ben Qilij Arslan (Süleyman Şah II)
	}
	1204.6.1= {
		holder = 34187 # Kılıç Arslān, son of Süleyman Şah II, reigns for 8 months or perhaps only a month after his father's death
	}
	1205.1.1= { # 1205
		holder = 0 # Destroying it with part of it being held by Trebizond
	}
	1211.6.17= { # Kaykhusraw dies in battle, probably 17 June 1211
		holder = 34188 # Izz ud-Din Kaykaus ibn Kaykhusraw
	}
	1220.1.1= {
		holder = 34189 # Alā' ad-Dīn Kay-qubād ibn Kay-xusraw
	}
	1237.5.31 = { # 31 May 1237
		holder = 34190 # Ghiyath al-Din Kaykhusraw ibn Kayqubād
	}
	1243.6.6= { # After 6 June 1243
		liege = "e_ilkhanate" # Mongol vassal after losing the Battle of Kösedağ
	}
	1246.1.1= {
		holder = 34191 # Alā' ad-Dīn Kay-qubād ibn Kay-xusraw
	}
	1261.12.1= { # Winter 1261/ Summer 1262
		holder = 34192 # Rukn ad-Dīn Qilij Arslān ibn Kaykhusraw (Kılıç Arslan IV)
	}
	1265.1.1= { # 1265/6-1284
		holder = 34194 # Ghiyāth ad-Dīn Kaykhusraw bin Qilij Arslān (Keyhüsrev III)
	}
	1284.1.1= { # 1284-1297, 1303-1307/8
		holder = 34195 # Ghiyath al-Din Kaykhusraw ibn Kayqubād
	}
	1303.1.1= { # 1284-1297, 1303-1307/8
		holder = 34195 # Ghiyath al-Din Kaykhusraw ibn Kayqubād
	}
	1308.1.1= { #
		holder = 0 # 
	}
}

c_honorias = {
	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_bucellaria"
	}
	753.1.1={
		holder=145839
	}
	855.1.1={ # 863
		holder= NasrstrategosboukellarionABBC1 # Basileios Nasar strategos or stratelates of Bukellarion
	}
	875.1.1={ # Second half of 9th century
		holder= BayanstrategosboukellarionABBC1 # A member of Bayan family was strategos of Bukellarion 
	}
	995.1.1= { # Possibly in 995
		holder= Chaldosdouxthessalonika995ABBC1 # Ioannes Chaldos, doux of Bukellarion, holding Bukellarion, Armeniakon and Thessalonika together
	}
	1020.1.1= { # 1020/7-1028 at latest
		holder= 70380 # Presian Kometopoulos
	}
	1028.1.1= { # Sometime between 1020-1055
		holder= HagiozacharitesstrategosboukellarionABBC1 # Theodoros Hagiozacharites, strategos of Bukellarion 
	}
	1055.1.1= { # Sometime between 1050-1070
		holder= Iasitesdouxarmeniakon1065ABBC1 # Leon Iasites, strategos of Boukellarion 
	}
	1060.1.1= {
		holder= 1742
	}
	1076.1.1= { # 1076/7
		holder= Maurexdouxantioch1077ABBC1 # Maurex doux of Bukellarion 
	}
	#Seljuks
	1077.1.1 = {
		holder = 3046
	}
	1178.1.1 = {
		holder = 34182 # Masud
		liege = k_rum
	}
	1192.1.1= {
		holder = 225002
	}
	1196.1.1= {
		holder = 225004
	}
	1205.1.1= {
		holder = 215520 # David Komnenos takes Heraclea Pontica c. 1205 
		liege = "d_paphlagonia" # And made it capital of his domain, called Paphlagonia
		government = feudal_government
	}
	1214.12.31 = { #  By end of 1214
		holder = 215674 # With David no longer a Latin Empire vassal, Theodoros Laskaris quickly annexes all of David's lands west of Sinope
		liege = k_nikaea
		government = administrative_government
	}
	1221.12.2= {
		holder= 125741 #
	}
	1254.11.3= {
		holder = 125742
	}
	1258.8.1= {
		holder = 125743
	}
	1261.12.25 = {
		holder = 465527
	}
	#Ottomans # No! Genoese buy the city from Byantines after Paphlagonia is conquered in 1360 and hold it until Ottomans conquer it in 1453
	#1266.1.1= {
	#	holder=71840
	#}
	#1281.1.1= {
	#	holder=476501
	#}
	#1299.1.1= {
	#	liege="k_ottoman"
	#}
	#1321.1.1= {
	#	liege="d_paphlagonia"
	#}
	#1324.1.1= {
	#	holder=476500
	#}
	#1336.12.01={
	#	holder=71846
	#}
	1360.1.1= {
		liege = "k_genoa"
	}

}


c_galatia = {
	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_paphlagonia"
	}
	533.4.1 = {
		holder = 168805 # After his surrender in March 533, Gelimer was given large estates in Galatia
	}
	753.1.1 = {
		holder = 145839
	}
	855.1.1={
		holder= NasrstrategosboukellarionABBC1 # Basileios Nasar strategos or stratelates of Bukellarion in 863
	}
	875.1.1={
		holder= BayanstrategosboukellarionABBC1 # A member of Bayan family was strategos of Bukellarion in second half of 9th century
	}
	995.1.1= {
		holder= Chaldosdouxthessalonika995ABBC1 # Ioannes Chaldos, doux of Bukellarion, possibly in 995 holding Bukellarion, Armeniakon and Thessalonika together
	}
	1020.1.1= { # 1020/7-1028 at latest
		holder= 70380 # Presian Kometopoulos
	}
	1028.1.1= {
		holder= HagiozacharitesstrategosboukellarionABBC1 # Theodoros Hagiozacharites, strategos of Bukellarion sometime between 1020-1055
	}
	1055.1.1= {
		holder= Iasitesdouxarmeniakon1065ABBC1 # Leon Iasites, strategos of Boukellarion sometime between 1050-1070
	}
	1060.1.1= {
		holder= 1742
	}
	1073.1.1 = { # 1073
		liege = 0
		holder = 34220 # Roussel de Bailleul conquers territory in Galatia and Lycaonia and sets his capital in Ancyra
	}
	1076.1.1= { # 1076/7
		liege = "d_bucellaria"
		holder= Maurexdouxantioch1077ABBC1 # Maurex doux of Bukellarion 
	}
	#Seljuks
	1077.1.1 = {
		holder = 3046
	}
	1155.4.1 = {
		holder = 34212 # Shahanshah
		liege = k_rum
	}
	1174.1.1 = { # Actually 1185/6
		holder = 34182 # Masud
	}
	1204.1.1 = { # 1204
		holder = 225004 # Süleyman II marches on his brother Muhiddin Mesud and takes Ankara
	}
	1204.6.1= {
		holder = 34187
	}
	1205.1.1 = {
		holder = 225002
	}
	1211.1.1 = {
		holder = 34188
	}
	1220.1.1 = {
		holder = 71861
	}
	1221.1.1 = {
		holder = 34189
	}
	1237.5.31 = { # 31 May 1237
		holder = 34190
	}
	1246.1.1 = {
		holder = 34191
	}
	1248.1.1 = {
		holder = 34192
	}
	1249.1.1 = {
		holder = 34193
	}
	1257.1.1 = {
		holder = 34192
	}
	1266.1.1 = {
		holder = 71840
	}
	#Ottomans
	1281.1.1 = {
		holder = 476501
	}
	1299.1.1 = {
		liege = "k_ottoman"
	}
	1321.1.1 = {
		liege = "d_paphlagonia"
	}
	1324.1.1 = {
		holder = 476500
	}

}


c_hadrianopolis = {
	330.1.1={
		liege="d_bucellaria"
	}
	753.1.1={
		holder=145839
	}
	855.1.1={
		holder= NasrstrategosboukellarionABBC1 # Basileios Nasar strategos or stratelates of Bukellarion in 863
	}
	875.1.1={
		holder= BayanstrategosboukellarionABBC1 # A member of Bayan family was strategos of Bukellarion in second half of 9th century
	}
	995.1.1= {
		holder= Chaldosdouxthessalonika995ABBC1 # Ioannes Chaldos, doux of Bukellarion, possibly in 995 holding Bukellarion, Armeniakon and Thessalonika together
	}
	1020.1.1= { # 1020/7-1028 at latest
		holder= 70380 # Presian Kometopoulos
	}
	1028.1.1= {
		holder= HagiozacharitesstrategosboukellarionABBC1 # Theodoros Hagiozacharites, strategos of Bukellarion sometime between 1020-1055
	}
	1055.1.1= {
		holder= Iasitesdouxarmeniakon1065ABBC1 # Leon Iasites, strategos of Boukellarion sometime between 1050-1070
	}
	1060.1.1= {
		holder= 1742
	}
	1076.1.1= {
		holder= Maurexdouxantioch1077ABBC1 # Maurex doux of Bukellarion 1076/7
	}
	#Seljuks
	1077.1.1= {
		holder = 3046
	}
	1178.1.1 = {
		holder = 34182 # Masud
		liege = k_rum
	}
	1185.1.1= { # 1185/6
		holder = 34182 # Muhiddin Mesud recceived Ankara, Çankırı, Kastamonu and Eskişehir from his father Kılıç Arslan II
		liege = "k_rum"
	}
	1204.1.1 = { # 1204
		holder = 225004 # Süleyman II marches on his brother Muhiddin Mesud
	}
	1204.6.1= {
		holder = 34187
	}
	1205.1.1= {
		holder=225002
	}
	1211.1.1= {
		holder=34188
	}
	1220.1.1 = {
		holder = 71861
	}
	1221.1.1= {
		holder=34189
	}
	1237.5.31 = { # 31 May 1237
		holder=34190
	}
	1246.1.1= {
		holder=34191
	}
	1248.1.1= {
		holder=34192
	}
	1249.1.1= {
		holder=34193
	}
	1257.1.1= {
		holder=34192
	}
	1266.1.1= {
		holder=71840
	}
	#Ottomans
	1281.1.1= {
		holder=476501
	}
	1299.1.1= {
		liege="k_ottoman"
	}
	1321.1.1= {
		liege="d_paphlagonia"
	}
	1324.1.1= {
		holder=476500
	}
	1336.12.01={
		holder=71846
	}

}

# The village Tamışlar in present day Karabük possibly gets its name from Tames/Tamış the Uze/Pecheneg commander of Byzantine mercenaries who 
# defected to Seljuks in Battle of Manzikert.

b_iuliopolis = {
	1060.1.1={
		holder = Tamespechenegmercenarycommander1071ABBC1
	}
}