# -*- ck2.history.characters -*-


#1230250 - 1230299
#Characters 2nd: 1231600 - 1231649

######################################
#vanilla Qarakhanids moved to file called like vanilla.

#SWMH Karluks

1230250 = {
	name="Khumar Beg" #"king of Shughnon and Badakhshan" according to al-Yaqubi
	dynasty=1000101781
	religion="sunni"
	culture="karluk"
	840.1.1={
		birth="840.1.1"
	}
	890.1.1={
		death="890.1.1"
	}
}
1230251 = {
	name="Mutlu" #name fictional
	female=yes
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3004
	1004.1.2={
		birth="1004.1.2"
	}
	1020.1.2={ #?
		add_spouse=144127
	}
	1053.1.2={ #?
		death="1053.1.2"
	}
}
1230252 = {
	name="Toghan Tegin"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=194383
	880.1.2={
		birth="880.1.2"
	}
	940.1.2={
		death="940.1.2"
	}
}

1230253 = {
	name="Ozar" #chief of Almaliq, Pulad, and possibly Balasaghun later
	dynasty=1000101791
	religion="sunni"
	culture="karluk"
	#father=1230296
	1163.1.2={
		birth = yes
	}
	1217.1.1={
		death={ #murdered by the Naiman Kuchlug while on a hunt
			death_reason=death_murder
			killer=188914
		}
	}
}

1230254 = {
	name="Musa Bughra"
	dynasty=101864
	religion="tengri_pagan"
	culture="karluk"
	father=188853
	927.1.2={
		birth="927.1.2"
	}
	932.1.2={
		religion="sunni"
	}
	958.1.2={
		death="958.1.2"
	}
}

1230255 = {
	name="Siqnaq Tegin"
	dynasty=1000101791
	religion="sunni"
	culture="karluk"
	father=1230253
	1188.1.2={
		birth = yes
	}
	1217.1.2={ #Jochi's daughter
		add_spouse = 217341
	}
	1250.1.2={
		death = yes
	}
}

1230259 = {
	name="Baytash"   #Son of Satuq, in 960 converted the Qarluqs to Islam
	dynasty=101864
	religion="tengri_pagan"
	culture="karluk"
	father=188853
	933.1.2={
		birth="933.1.2"
	}
	988.1.2={
		death="988.1.2"
	}
}


#Chigil leaders

#1230256 = {
#	name="Tutuq"  #perhaps lived earlier in the 8th century, but is the only character available, so I moved him 100 years later.
#	dynasty=1042186
#	religion="tengri_pagan"
#	culture="karluk"
#	832.1.2={
#		birth="832.1.2"
#	}
#	870.1.2={
#		death="870.1.2"
#	}
#}

#Tukhs chieftan
1230257 = {
	name="Yinal"
	dynasty=1000101798
	religion="tengri_pagan"
	culture="karluk"
	842.1.2={
		birth="842.1.2"
	}
	880.1.2={
		death="880.1.2"
	}
}
#Yaghma chieftan
#1230258 = {
#	name="Tutuq"
#	dynasty=1000101790
#	religion="tengri_pagan"
#	culture="karluk"
#	842.1.2={
#		birth="842.1.2"
#	}
#	880.1.2={
#		death="880.1.2"
#	}
#}

#Simjurids
1230260 = {
	name="Simjur" #Abu Imrn
	dynasty=1000101780
	religion="sunni"
	culture="karluk"
	880.1.1={
		birth="880.1.1"
	}
	937.1.1={
		death="937.1.1"
	}
}
1230261 = {
	name="Ibrhm" #Abu Eshq
	dynasty=1000101780
	religion="sunni"
	culture="turkmen"
  father=1230260
	905.1.1={
		birth="905.1.1"
	}
	936.8.1={
		add_claim=c_kerman
	}
	948.1.1={
		death="948.1.1"
	}
}
1230262 = {
	name="Muhammad" #Abu'l-Hasan
	dynasty=1000101780
	stewardship=7 # Seems like Khorasan was flourishing under their rule
	religion="sunni"
	culture="turkmen"
	trait="zealous" # Was described as pious and just by Abu Sa'd Abd-al-Karim Samani	
	trait="just" # Was described as pious and just by Abu Sa'd Abd-al-Karim Samani
	trait="ambitious" # Had ambitions to rule Khorasan on his own
	father=1230261
	930.1.1={
		birth="930.1.1"
	}
	989.1.1={
		death="989.1.1"
	}
}
1230263 = {
	name="Ibrhm" #Abu 'Al
	dynasty=1000101780
	stewardship=7 # Seems like Khorasan was flourishing under their rule	
	religion="sunni"
	culture="turkmen"
	trait="ambitious" # Had ambitions to rule Khorasan on his own	
	father=1230262
	955.1.1={
		birth="955.1.1"
	}
	996.1.1={
		death={
			death_reason=death_execution
			killer=144125
		}
	}
}

#SWMH Qarakhanids
1230264 = {
	name="Nasr Ilek"
	# AKA: NasrTegin, conqueror of Samarqand, Bukhara and Ferghana
	dynasty=101864
	martial=6
	diplomacy=7
	intrigue=4
	stewardship=4
	religion="sunni"
	culture="karluk"
	trait="skilled_tactician"
	trait="brave"
	father=3000
	973.1.2={
		birth = yes
	}
	999.5.5={
		effect = {
			c_1230621 = {
				imprison = ROOT
			}
		}
	}
	1012.1.2={
		death = yes
	}
}
1230265 = {
	name="Muhammad Ilek"
	# AKA: Muhammad, governor in Akhsikath
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3000
	980.1.2={
		birth = yes
	}
	1025.1.2={
		death = yes
	}
}
1230266 = {
	name="Hasan Bughra"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=188854
	958.1.2={
		birth = yes
	}
	992.8.8={
		death = yes
	}
}
1230267 = {
	name="'Abbs"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3012
	1019.1.2={
		birth = yes
	}
	1040.1.2={
		death = yes
	}
}
1230268 = {
	name="Muhammad Toghan"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230266
	980.1.2={
		birth = yes
	}
	1038.1.2={
		death = yes
	}
}
1230269 = {
	name="'Abd al-Mu'min"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230285 #originaly I (wrongly?) supposed him to be son of 144107 Hasan b.Sulayman b.Yusuf Kadir 
	1053.1.1={
		birth = yes
	}
	1105.1.1={
		death = yes
	}
}
1230270 = {
	name="'Ali"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230269
	1075.1.1={
		birth="1075.1.1"
	}
	1120.1.1={
		death="1120.1.1"
	}
}
1230271 = {
	name="Hasan"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230270
	1095.1.1={
		birth="1095.1.1"
	}
	1140.1.1={
		death="1140.1.1"
	}
}
1230272 = {
	name="'Ali"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230271
	1112.1.1={
		birth = yes
	}
	1158.1.1={
		death = yes
	}
}
1230273 = {
	name="Mas'd"  #1164 Nakhsheb, Tirmidh, Chaghaniyn
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230271
	1115.1.1={
		birth="1115.1.1"
	}
	1171.1.1={
		death="1171.1.1"
	}
}
1230274 = {
	name="Husayn"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230271
	1118.1.1={
		birth="1118.1.1"
	}
	1167.1.1={
		death="1167.1.1"
	}
}
1230275 = {
	name="Muhammad"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230272
	1140.1.1={
		birth="1140.1.1"
	}
	1192.1.1={
		death="1192.1.1"
	}
}
1230276 = {
	name="Mahmd"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230274
	1138.1.1={
		birth="1138.1.1"
	}
	1189.1.1={
		death="1189.1.1"
	}
}
1230277 = {
	name="Ibrahm"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230274
	trait="poet"
	1141.1.1={
		birth=yes
	}
	1195.1.1={
		death=yes
	}
}
1230278 = {
	name="Ahmad" #Qadir Khan
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230277
	1162.1.1={
		birth=yes
	}
	1211.1.1={
		death=yes
	}
}
1230279 = {
	name="Mahmd"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230278
	1185.1.1={
		birth=yes
	}
	1231.1.1={ #?
		death=yes
	}
}
1230280 = {
	name="'Uthmn"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230277
	trait="poet"
	1169.1.1={
		birth = yes
	}
	1212.1.1={
		death = {
			death_reason=death_execution
			killer=93052
		}
	}
}
1230281 = {
	name="Muhammad" #fictional
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230279
	1208.1.1={
		birth="1208.1.1"
	}
	1266.1.1={ #Karakhanid authority over Uzkend recognized by Mongke
		death="1266.1.1"
	}
}
1230282 = {
	name="Muhammad"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230273
	1135.1.1={
		birth = yes
	}
	1171.1.1={
		death = yes
	}
}
# More Karakhanids
1230283 = {
	name="Hrn"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=144107
	1050.1.1={
		birth = yes
	}
	1102.1.1={
		death = yes
	}
}
1230284 = {
	name="Ya'qb"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3008
	1029.1.1={
		birth = yes
	}
	1108.1.1={
		death = yes
	}
}
1230285 = {
	name="Hasan" #fantasy - a connection between Ali Tegin and Ferghanian branch
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3010
	1025.1.1={
		birth = yes
	}
	1080.1.1={
		death = yes
	}
}
1230286 = {
	name="Khurtegin" #ruler of Uzgend in Ibn Khurradadbih's time (880s)
	dynasty=1000101782
	religion="tengri_pagan"
	culture="karluk" #clearly of some Turkic origin
	836.1.1={ #?
		birth = yes
	}
	889.1.1={ #?
		death = yes
	}
}
1230287 = {
	name="Sunqurtegin" #S.k.r.tegin
	dynasty=1000101782
	religion="tengri_pagan"
	culture="karluk"
	father=1230286 #?
	865.1.1={ #?
		birth = yes
	}
	915.1.1={ #?
		death = yes
	}
}
1230288 = {
	name="Husayn" #AKA Chaghri Tegin, ruler of Lower Barskhan (near Balasaghun) and later Isfijab
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=144103
	1020.1.1={ #?
		birth = yes
	}
	1079.1.1={ #?
		death = yes
	}
}

#SWMH Karluks - chieftans of remaining nomads
#eastern branch

1230289 = {
	name="Begluk"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=1230252
	927.1.2={
		birth = yes
	}
	980.1.2={
		death = yes
	}
}

#1230290 used above

1230291 = {
	name="Bazir"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=1230289
	961.1.2={
		birth = yes
	}
	1020.10.10={
		death = yes
	}
}
1230292 = {
	name="Uzluk"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=1230291
	993.1.2={
		birth = yes
	}
	1050.1.2={
		death = yes
	}
}
1230293 = {
	name="Yinal"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=1230292
	1030.1.2={
		birth = yes
	}
	1084.1.2={
		death = yes
	}
}
1230294 = {
	name="Toghril"
	dynasty=1042185
	religion="tengri_pagan"
	culture="karluk"
	father=1230293
	1062.1.2={
		birth = yes
	}
	1117.1.2={
		death = yes
	}
}
1230295 = {
	name="Togli"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230294
	1095.1.2={
		birth = yes
	}
	1120.1.1={
		religion="sunni"
	}
	1150.1.2={
		death = yes
	}
}
1230296 = {
	name="Satuq"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230295
	1128.1.2={
		birth = yes
	}
	1183.1.2={
		death = yes
	}
}
1230297 = {
	name="Toghan"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230296
	1160.1.2={
		birth = yes
	}
	1225.1.2={
		death = yes
	}
}
1230298 = {
	name="Tamghach"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230297
	1193.1.2={
		birth = yes
	}
	1258.1.2={
		death = yes
	}
}
1230299 = {
	name="Bilge"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230298
	1230.1.2={
		birth = yes
	}
	1297.1.2={
		death = yes
	}
}

#western branch - all placeholders

1231600 = {
	name="Bilge"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1230291
	995.1.2={
		birth = yes
	}
	1059.1.2={
		death = yes
	}
}
1231601 = {
	name="Boghra"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231600
	1029.1.2={
		birth = yes
	}
	1084.1.2={
		death = yes
	}
}
1231602 = {
	name="Togli"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231601
	1063.1.2={
		birth = yes
	}
	1118.1.2={
		death = yes
	}
}
1231603 = {
	name="Begluk"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231602
	1092.1.2={
		birth = yes
	}
	1149.1.2={
		death = yes
	}
}
1231604 = {
	name="Tolun"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231603
	1120.1.2={
		birth = yes
	}
	1178.1.2={
		death = yes
	}
}
1231605 = {
	name="Saru"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231604
	1152.1.2={
		birth = yes
	}
	1208.1.2={
		death = yes
	}
}
1231606 = {
	name="Kubasar"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231605
	1185.1.2={
		birth = yes
	}
	1244.1.2={
		death = yes
	}
}
1231607 = {
	name="Itlar"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231606
	1219.1.2={
		birth = yes
	}
	1272.1.2={
		death = yes
	}
}
1231608 = {
	name="Etrek"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231607
	1254.1.2={
		birth = yes
	}
	1305.1.2={
		death = yes
	}
}
1231609 = {
	name="Kutan"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231608
	1289.1.2={
		birth = yes
	}
	1345.1.2={
		death = yes
	}
}
1231610 = {
	name="Kaml al-Dn" #1130-1141 Mavarannahr
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=144118
	1122.1.1={
		birth=yes
	}
	1160.1.1={
		death=yes
	}
} #still free for Karakhanids

1231611 = {
	name="Muhammad"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3014
	1041.1.1={
		birth="1041.1.1"
	}
	1090.1.1={
		death="1090.1.1"
	}
}
1231612 = {
	name="Yaqub"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=144102
	1025.1.1={
		birth="1025.1.1"
	}
	1092.1.1={
		death="1092.1.1"
	}
}
1231613 = {
	name="Masud"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1231611
	1068.1.1={
		birth="1068.1.1"
	}
	1097.1.1={
		death="1097.1.1"
	}
}
1231614 = {
	name="Mahmd" #1130-1141
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3014
	1046.1.1={
		birth="1046.1.1"
	}
	1099.1.1={
		death="1099.1.1"
	}
}
1231615 = {
	name="Yusuf Tegin"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3010
	1005.1.1={
		birth = yes
	}
	1042.1.2={
		death = yes
	}
}
1231616 = {
	name = "Mahmud" #al-Kashgari
	dynasty = 101864
	diplomacy = 6
	stewardship = 5
	learning = 7
	religion = "sunni"
	culture = "karluk"
	trait = "scholarly_theologian"
	trait = "proud"
	trait = "zealous"
	trait = "erudite"
	father = 1230288
	1038.1.1 = { #later estimate by Peter Golden
		birth = yes
	}
	1074.1.1 = {
		employer = 3084
	}
	1075.1.1 = {
		employer = 3086
	}
	1094.1.1 = {
		employer = 3088
	}
	1102.1.1 = {
		death = yes
	}
}
1231617 = {
	name="Yinal" #or Inal Tegin, a recorded ruler of Barskhan in the middle years of the 11th century
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1231632
	1034.1.1={
		birth = yes
	}
	1078.1.1={ #extant coins from 1076
		death = yes
	}
}
1231618 = {
	name="zlem" # name fictional; mother of Ibrahim b. Muhammad Bughra Khan
	female=yes
	#dynasty=101864
	religion="sunni"
	culture="karluk" #?
	1010.1.1={ #?
		birth = yes
	}
	1065.1.1={ #?
		death = yes
	}
}
1231619 = {
	name="Taj al-Dn" #ruler of Otar under Qara Khitai
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230282 #fictional relation
	1160.1.1={
		birth=yes
	}
	1212.1.1={
		death={
			death_reason=death_execution
			killer=93052
		}
	}
}
1231620 = {
	name="Toghril"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1231617
	1055.1.1={
		birth = yes
	}
	1105.1.1={ #alive as late as in the 1090s
		death = yes
	}
}
1231621 = {
	name="Abu'l-Qasim" #Abu'l-Qasim Simjuri, last recorded Simjuri ruler of Qohistan. Formed a last ditch alliance with Fa'iq Khassa and Bektuzun, to stem the rise of the Ghaznavids, but was defeated near Merv, after which he lost his demesne
	dynasty=1000101780
	religion="sunni"
	culture="turkmen"
	father=1230262 # unknown connection with the rest of the family tree
	958.1.1={
		birth=yes
	}
	1004.1.1={ #? Sent to Ghazna as a prisoner ca. 1002
		death=yes
	}
}
1231622 = {
	name="Arslan Tegin"
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3010
	1007.1.1={
		birth = yes
	}
	1042.1.2={
		death = yes
	}
}
1231623 = {
	name="Arslan"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231604 #family association fictional
	1160.1.2={
		birth = yes
	}
	1210.1.2={
		death = yes
	}
}

1231624 = {
	name="Arslan"
	dynasty=1042185
	religion="sunni"
	culture="karluk"
	father=1231623
	1182.1.2={
		birth = yes
	}
	1239.1.2={
		death = yes
	}
}
1231625 = {
	name="Inaltegin" #name fictional
	dynasty=1000101791
	religion="sunni"
	culture="karluk"
	father=1230255
	mother=217341 #?
	1219.1.1={
		birth = yes
	}
	1272.1.1={
		death = yes
	}
}
1231626 = {
	name="Ozar" #name fictional
	dynasty=1000101791
	religion="sunni"
	culture="karluk"
	father=1231625
	1250.1.1={
		birth = yes
	}
	1305.1.1={
		death = yes
	}
}
1231627 = {
	name="Husayn" #b. Muhammad b. Arslan Khan Ali, attested in coins from 1013-1028
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230265
	1000.1.2={ #?
		birth = yes
	}
	1035.1.2={ #?
		death = yes
	}
}
1231628 = {
	name="Ahmad" #b. Muhammad b. Arslan Khan Ali, attested in coins from 1018-1020
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230265
	1002.1.2={ #?
		birth = yes
	}
	1041.1.2={ #?
		death = yes
	}
}
1231629 = {
	name="Yusuf" #b. Muhammad b. Arslan Khan Ali, attested in coins from 1022-1024
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230265
	1005.1.2={ #?
		birth = yes
	}
	1042.1.2={ #?
		death = yes
	}
}
1231630 = {
	name="Abd-al-Rahman" #b. Muhammad b. Arslan Khan Ali, attested in coins from 1011-1019
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230265
	1008.1.2={ #?
		birth = yes
	}
	1042.1.2={ #?
		death = yes
	}
}
1231631 = {
	name="Kilij-Arslan" #or Qylych Arslan, ruled Otrar for 40 years according to the Nasab Nama (1250s)
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1230288
	1040.1.1={ #?
		birth = yes
	}
	1105.1.1={ #?
		death = yes
	}
}
1231632 = {
	name="Nasr" # AKA Arslan Tegin (possibly Toghan Tegin later), ruled in Upper Barskhan, Uch Turpan, and later Balasaghun
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=3008
	1015.1.1={ #?
		birth = yes
	}
	1065.1.1={ #?
		death = yes
	}
}
1231633 = {
	name="Malik" #b. S.k.r.tegin, governor of Uzgend and later (entire?) Ferghana
	dynasty=1000101779
	religion="sunni"
	culture="karluk"
	father=1230287
	895.1.1={ #?
		birth = yes
		culture="turkmen"
	}
	954.1.1={ #or after?
		death = yes
	}
}
1231634 = {
	name="Husayn" # succeeded Jibra'il in Balasaghun
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=144109 #possibly
	1080.1.1={ #?
		birth = yes
	}
	1128.1.1={ #before 1128
		death = yes
	}
}
1231635 = {
	name="Sulayman" # succeeded Husayn in Balasaghun; minted coins 1128-1132
	dynasty=101864
	religion="sunni"
	culture="karluk"
	father=1231634
	1105.1.1={ #?
		birth = yes
	}
	1145.1.1={ #?
		death = yes
	}
}
#last free ID 1231649
