188783 = {
	name = "Qutlugh" # or Guli Peilo
	dynasty = 1042190 # Yaghlakar
	religion = "tengri_pagan"
	culture = "uyghur"
	700.1.1 = {
		birth = yes
	}
	747.1.1 = {
		death = yes
	}
}

188784 = {
	name = "Bayanchur" # or Moyanchur
	dynasty = 1042190 # Yaghlakar
	religion = "tengri_pagan"
	culture = "uyghur"
	father = 188783
	727.1.1 = {
		birth = yes
	}
	759.6.1 = {
		death = yes
	}
}

188785 = {
	name = "Tengri_BO_gU_"
	dynasty = 1042190 # Yaghlakar
	religion = "tengri_pagan"
	culture = "uyghur"
	father = 188784
	745.1.1 = {
		birth = yes
	}
	762.1.1 = {
		religion = manichean
	}
	779.1.1 = {
		death = yes
	}
}

194352 = {
	name = "BO_nek" # Fictional son
	dynasty = 1042190 # Yaghlakar
	religion = manichean
	culture = "uyghur"
	father = 188785
	765.1.1 = {
		birth = yes
	}
	779.1.1 = {
		death = yes
	}
}

188786 = {
	name = "Alp-Qutlugh"
	dynasty = 1042190 # Yaghlakar
	religion = "tengri_pagan"
	culture = "uyghur"
	father = 188783
	725.1.1 = {
		birth = yes
	}
	762.1.1 = {
		religion = manichean
	}
	789.1.1 = {
		death = yes
	}
}

188787 = {
	name = "Tolossu"
	dynasty = 1042190 # Yaghlakar
	religion = "tengri_pagan"
	culture = "uyghur"
	father = 188786
	749.1.1 = {
		birth = yes
	}
	762.1.1 = {
		religion = manichean
	}
	790.1.1 = {
		death = yes
	}
}

188788 = {
	name = "Qutlugh"
	dynasty = 1042190 # Yaghlakar
	religion = "manichean"
	culture = "uyghur"
	father = 188787
	768.1.1 = {
		birth = yes
	}
	795.1.1 = {
		death = yes
	}
}
194191 = {
	name = "Qutlugh"
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	758.1.1 = {
		birth = yes
	}
	808.1.1 = {
		death = yes
	}
}

217100 = {
	name = "C_or" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	712.4.9 = {
		birth = yes
	}
	731.7.3 = {
		add_spouse = 217118
	}
	747.2.19 = {
		death = yes
	}
}
217101 = {
	name = "U_ge" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	father = 217100
	mother = 217118
	739.6.12 = {
		birth = yes
	}
	782.1.30 = {
		death = yes
	}
}
194353 = {
	name = "Sotan" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	father = 217101
	756.6.12 = {
		birth = yes
	}
	782.1.30 = {
		death = yes
	}
}
217102 = {
	name = "Samur" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	father = 217100
	mother = 217118
	female = yes
	741.3.14 = {
		birth = yes
	}
	787.11.15 = {
		death = yes
	}
}
217103 = {
	name = "KO_nC_ek" #fictional
	dynasty = 1051103 # Ugurlu
	religion = "manichean"
	culture = "uyghur"
	725.8.15 = {
		birth = yes
	}
	740.3.15 = {
		add_spouse = 217116
	}
	757.10.13 = {
		death = yes
	}
}
217104 = {
	name = "Bilge" #fictional
	dynasty = 1051103 # Ugurlu
	religion = "manichean"
	culture = "uyghur"
	father = 217103
	mother = 217116
	741.12.24 = {
		birth = yes
	}
	785.9.30 = {
		death = yes
	}
}
217105 = {
	name = "O_zgul" #fictional
	dynasty = 1051103 # Ugurlu
	religion = "manichean"
	culture = "uyghur"
	father = 217103
	mother = 217116
	female = yes
	743.3.19 = {
		birth = yes
	}
	789.7.15 = {
		death = yes
	}
}
217106 = {
	name = "Togli" #fictional
	dynasty = 1051101 # Alptekin
	religion = "manichean"
	culture = "uyghur"
	721.4.3 = {
		birth = yes
	}
	741.11.30 = {
		add_spouse = 217114
	}
	762.2.8 = {
		death = yes
	}
}
217107 = {
	name = "U_ge" #fictional
	dynasty = 1051101 # Alptekin
	religion = "manichean"
	culture = "uyghur"
	father = 217106
	mother = 217114
	743.10.21 = {
		birth = yes
	}
	791.4.26 = {
		death = yes
	}
}
217108 = {
	name = "GulC_iC_ek" #fictional
	dynasty = 1051101 # Alptekin
	religion = "manichean"
	culture = "uyghur"
	father = 217106
	mother = 217114
	female = yes
	739.6.30 = {
		birth = yes
	}
	782.12.10 = {
		death = yes
	}
}
217109 = {
	name = "Itlar" #fictional
	dynasty = 1051102 # Akhun
	religion = "manichean"
	culture = "uyghur"
	715.11.10 = {
		birth = yes
	}
	737.4.2 = {
		add_spouse = 217112
	}
	749.7.2 = {
		death = yes
	}
}
217110 = {
	name = "Kozel" #fictional
	dynasty = 1051102 # Akhun
	religion = "manichean"
	culture = "uyghur"
	father = 217109
	mother = 217112
	741.8.1 = {
		birth = yes
	}
	786.1.21 = {
		death = yes
	}
}
194354 = {
	name = "Ituk" #fictional
	dynasty = 1051102 # Akhun
	religion = "manichean"
	culture = "uyghur"
	father = 217110
	758.8.1 = {
		birth = yes
	}
	786.1.21 = {
		death = yes
	}
}
217111 = {
	name = "Yeldem" #fictional
	dynasty = 1051102 # Akhun
	religion = "manichean"
	culture = "uyghur"
	father = 217109
	mother = 217112
	female = yes
	745.7.7 = {
		birth = yes
	}
	794.11.9 = {
		death = yes
	}
}
217112 = {
	name = "Ayten" #fictional
	religion = "manichean"
	culture = "uyghur"
	female = yes
	719.7.12 = {
		birth = yes
	}
	756.3.19 = {
		death = yes
	}
}
217113 = {
	name = "Bonyak" #fictional
	dynasty = 1051102 # Akhun
	religion = "manichean"
	culture = "uyghur"
	father = 217109
	mother = 217112
	744.5.18 = {
		birth = yes
	}
	787.5.5 = {
		death = yes
	}
}
217114 = {
	name = "Songul" #fictional
	religion = "manichean"
	culture = "uyghur"
	female = yes
	725.3.7 = {
		birth = yes
	}
	771.3.27 = {
		death = yes
	}
}
217115 = {
	name = "Mutlu" #fictional
	dynasty = 1051101 # Alptekin
	religion = "manichean"
	culture = "uyghur"
	father = 217106
	mother = 217114
	female = yes
	746.6.15 = {
		birth = yes
	}
	795.3.30 = {
		death = yes
	}
}
217116 = {
	name = "KO_nC_ek" #fictional
	religion = "manichean"
	culture = "uyghur"
	female = yes
	724.2.25 = {
		birth = yes
	}
	769.11.28 = {
		death = yes
	}
}
217117 = {
	name = "Bilge" #fictional
	dynasty = 1051103 # Ugurlu
	religion = "manichean"
	culture = "uyghur"
	father = 217103
	mother = 217116
	748.4.23 = {
		birth = yes
	}
	772.2.19 = {
		death = yes
	}
}
217118 = {
	name = "C_iltanesi" #fictional
	religion = "manichean"
	culture = "uyghur"
	female = yes
	714.2.8 = {
		birth = yes
	}
	756.5.24 = {
		death = yes
	}
}
217119 = {
	name = "Kutan" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	father = 217100
	mother = 217118
	742.8.21 = {
		birth = yes
	}
	785.3.2 = {
		death = yes
	}
}
217120 = {
	name = "Uzluk" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	father = 217100
	mother = 217118
	744.3.15 = {
		birth = yes
	}
	781.8.10 = {
		death = yes
	}
}
217121 = {
	name = "Ipekel" #fictional
	dynasty = 1051100 # Uzun
	religion = "manichean"
	culture = "uyghur"
	female = yes
	father = 217100
	mother = 217118
	745.8.19 = {
		birth = yes
	}
	796.4.18 = {
		death = yes
	}
}
217122 = {
	name = "Gzi" #fictional
	dynasty = 1051104 # Üzümcü
	religion = "manichean"
	culture = "uyghur"
	819.7.12 = {
		birth = yes
	}
	840.4.1 = {
		add_spouse = 217124
	}
	865.12.2 = {
		death = yes
	}
}
217123 = {
	name = "Uzluk" #fictional
	dynasty = 1051104 # Üzümcü
	religion = "vajrayana"
	culture = "uyghur"
	father = 217122
	mother = 217124
	847.11.7 = {
		birth = yes
	}
	893.6.7 = {
		death = yes
	}
}
217124 = {
	name = "Dilek" #fictional
	religion = "manichean"
	culture = "uyghur"
	female = yes
	824.3.26 = {
		birth = yes
	}
	867.5.3 = {
		death = yes
	}
}
217125 = {
	name = "BozC_in" #fictional
	dynasty = 1051104 # Üzümcü
	religion = "vajrayana"
	culture = "uyghur"
	father = 217122
	mother = 217124
	female = yes
	849.3.1 = {
		birth = yes
	}
	895.5.22 = {
		death = yes
	}
}
217126 = {
	name = "Sotan" #fictional
	dynasty = 1051104 # Üzümcü
	religion = "vajrayana"
	culture = "uyghur"
	father = 217122
	mother = 217124
	trait = generous
	852.2.4 = {
		birth = yes
	}
	886.3.28 = {
		death = yes
	}
}
217186 = {
	name = "Kozel" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217123
	873.6.9 = {
		birth = yes
	}
	946.3.7 = {
		death = yes
	}
}
217187 = {
	name = "Kubasar" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217186
	917.4.12 = {
		birth = yes
	}
	994.8.24 = {
		death = yes
	}
}
217188 = {
	name = "Asalup" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217187
	961.7.10 = {
		birth = yes
	}
	1021.9.13 = {
		death = yes
	}
}
217189 = {
	name = "Blush" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217188
	1006.11.11 = {
		birth = yes
	}
	1059.4.10 = {
		death = yes
	}
}
217190 = {
	name = "Begluk" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217189
	1034.6.5 = {
		birth = yes
	}
	1097.4.15 = {
		death = yes
	}
}
217191 = {
	name = "Ipek" # fictional
	dynasty = 1051104 # Üzümcü
	religion = vajrayana
	culture = uyghur
	father = 217189
	female = yes
	1037.12.17 = {
		birth = yes
	}
	1111.11.11 = {
		death = yes
	}
}
217228 = {
	name = TO_rtogul # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	1080.4.17 = {
		birth = yes
	}
	1127.7.4 = {
		death = yes
	}
}
217229 = {
	name = Gzi # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217228
	1099.12.10 = {
		birth = yes
	}
	1162.5.17 = {
		death = yes
	}
}
217230 = {
	name = Kotyan # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217229
	1128.5.13 = {
		birth = yes
	}
	1149.4.7 = {
		add_spouse = 217231
	}
	1184.10.4 = {
		death = yes
	}
}
217231 = {
	name = Ayasun # fictional
	religion = vajrayana
	culture = uyghur
	female = yes
	1132.4.9 = {
		birth = yes
	}
	1198.3.12 = {
		death = yes
	}
}
217232 = {
	name = Ituk # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217230
	mother = 217231
	1152.11.7 = {
		birth = yes
	}
	1181.4.11 = {
		add_spouse = 217233
	}
	1192.6.10 = {
		death = yes
	}
}
217233 = {
	name = Umay # fictional
	religion = vajrayana
	culture = uyghur
	female = yes
	1160.4.3 = {
		birth = yes
	}
	1207.5.10 = {
		death = yes
	}
}
217234 = {
	name = Barchuq
	dynasty = 1051121 # Müjde # fictional dynasty
	religion = vajrayana
	culture = uyghur
	father = 217232
	mother = 217233
	1184.6.9 = {
		birth = yes
	}
	1211.3.10 = {
		add_spouse = 217227 # Altun Begi
	}
	1237.5.9 = {
		death = yes
	}
}
217235 = {
	name = Gunes # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217232
	mother = 217233
	1182.7.15 = {
		birth = yes
	}
	1224.3.6 = {
		death = yes
	}
}
217244 = {
	name = TO_mU_r # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217234
	mother = 217227
	1214.6.8 = {
		birth = yes
	}
	1253.7.16 = {
		death = yes
	}
}
217245 = {
	name = Irge # fictional
	dynasty = 1051121 # Müjde
	religion = vajrayana
	culture = uyghur
	father = 217234
	mother = 217227
	female = yes
	1216.3.14 = {
		birth = yes
	}
	1251.7.6 = {
		death = yes
	}
}
217250 = {
	name  = MA_nglik # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	1195.5.10 = {
		birth = yes
	}
	1243.11.15 = {
		death = yes
	}
}
217251 = {
	name = Kuntuvdi # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217250
	1220.4.17 = {
		birth = yes
	}
	1278.5.9 = {
		death = yes
	}
}
217252 = {
	name = Itlar # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217251
	1244.12.22 = {
		birth = yes
	}
	1271.3.9 = {
		add_spouse = 217254
	}
	1291.5.7 = {
		death = yes
	}
}
217253 = {
	name = O_zmish # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217252
	mother = 217254
	1278.10.3 = {
		birth = yes
	}
	1301.5.3 = {
		add_spouse = 217256
	}
	1339.5.3 = {
		death = yes
	}
}
217254 = {
	name = Barchuq # fictional
	religion = vajrayana
	culture = uyghur
	female = yes
	1259.4.12 = {
		birth = yes
	}
	1310.4.8 = {
		death = yes
	}
}
217255 = {
	name = O_zlem # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217252
	mother = 217254
	female = yes
	1275.4.10 = {
		birth = yes
	}
	1313.5.9 = {
		death = yes
	}
}
217256 = {
	name = Mala # fictional
	religion = vajrayana
	culture = uyghur
	female = yes
	1279.4.19 = {
		birth = yes
	}
	1338.2.9 = {
		death = yes
	}
}
217257 = {
	name = Adigh # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217253
	mother = 217256
	1304.6.15 = {
		birth = yes
	}
	1349.9.22 = {
		death = yes
	}
}
217258 = {
	name = Ayten # fictional
	dynasty = 1051123 # Tapmish
	religion = vajrayana
	culture = uyghur
	father = 217253
	mother = 217256
	female = yes
	1306.3.11 = {
		birth = yes
	}
	1339.2.12 = {
		death = yes
	}
}
166757 = {
	name = "Bagha"
	dynasty = 1040062 # Kulug
	religion = "manichean"
	culture = "uyghur"
	806.1.1 = {
		birth = yes
	}
	846.1.1 = {
		death = yes
	}
}#minister who betrayed the Uyghur Empire to the Kyrgyz in 840
166758 = {
	name = "Paoi"
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	father = 194191
	778.1.1 = {
		birth = yes
	}
	821.1.1 = {
		death = yes
	}
}
166759 = {
	name = "KU_chlU_g" #Chungte
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	father = 166758
	795.1.1 = {
		birth = yes
	}
	824.1.1 = {
		death = yes
	}
}
166760 = {
	name = "Qasar"
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	father = 166758
	798.1.1 = {
		birth = yes
	}
	832.1.1 = {
		death = yes
	}
}
166761 = {
	name = "Hu"
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	father = 166759
	811.1.1 = {
		birth = yes
	}
	839.1.1 = {
		death = yes
	}
}
166762 = {
	name = "KO_l"
	dynasty = 1040063 # Hosa
	religion = "manichean"
	culture = "uyghur"
	762.1.1 = {
		birth = yes
	}
	819.1.1 = {
		death = yes
	}
}
166763 = {
	name = "KU_rebir" #Usurper of Uyghur Empire
	dynasty = 1040063 # Hosa
	religion = "manichean"
	culture = "uyghur"
	father = 166762
	789.1.1 = {
		birth = yes
	}
	840.1.1 = {
		death = yes
	}
}
166764 = {
	name = "OrmI_zt"
	dynasty = 1040063 # Hosa
	religion = "manichean"
	culture = "uyghur"
	father = 166762
	794.1.1 = {
		birth = yes
	}
	846.1.1 = {
		death = yes
	}
}
166765 = {
	name = "O_ge"
	dynasty = 1045083 # Ediz
	religion = "manichean"
	culture = "uyghur"
	father = 166758
	802.1.1 = {
		birth = yes
	}
	847.1.1 = {
		death = yes
	}
}


##Uyghur Kingdom of Qocho
#166774 = {
#	name = "Kutan"
#	dynasty = 1045083 # Ediz
#	religion = "manichean"
#	culture = "uyghur"
#	father = 166761
#	827.1.1 = {
#		birth = yes
#	}
#	848.1.1 = {
#		dynasty = 1040065 # Idiqut
#	}
#	873.1.1 = {
#		death = yes
#	}
#}
#166775 = {
#	name = "BorC_"
#	dynasty = 1045083 # Ediz
#	religion = "manichean"
#	culture = "uyghur"
#	father = 166761
#	830.1.1 = {
#		birth = yes
#	}
#	848.1.1 = {
#		dynasty = 1040065 # Idiqut
#	}
#	860.1.1 = {
#		religion = "nestorian"
#	}
#	878.1.1 = {
#		death = yes
#	}
#}
#166776 = {
#	name = "Arslan"
#	dynasty = 1045083 # Ediz
#	religion = "manichean"
#	culture = "uyghur"
#	father = 166774
#	845.1.1 = {
#		birth = yes
#	}
#	848.1.1 = {
#		dynasty = 1040065 # Idiqut
#	}
#	865.1.1 = {
#		religion = "vajrayana"
#	}
#	896.1.1 = {
#		death = yes
#	}
#}
#166777 = {
#	name = "Tugor"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166776
#	872.1.1 = {
#		birth = yes
#	}
#	916.1.1 = {
#		death = yes
#	}
#}
#166778 = {
#	name = "KO_nC_ek"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166777
#	894.1.1 = {
#		birth = yes
#	}
#	957.1.1 = {
#		death = yes
#	}
#}
#166779 = {
#	name = "Etrek"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166778
#	920.1.1 = {
#		birth = yes
#	}
#	988.1.1 = {
#		death = yes
#	}
#}
#166780 = {
#	name = "Koza"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166779
#	953.1.1 = {
#		birth = yes
#	}
#	1010.1.1 = {
#		death = yes
#	}
#}
#166781 = {
#	name = "Uzluk"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166780
#	983.1.1 = {
#		birth = yes
#	}
#	1054.1.1 = {
#		death = yes
#	}
#}
#166782 = {
#	name = "Uzluk"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166781
#	1014.1.1 = {
#		birth = yes
#	}
#	1064.1.1 = {
#		death = yes
#	}
#}
#166783 = {
#	name = "Asalup"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166782
#	1039.1.1 = {
#		birth = yes
#	}
#	1080.1.1 = {
#		death = yes
#	}
#}
#166784 = {
#	name = "TO_rtogul"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166783
#	1060.1.1 = {
#		birth = yes
#	}
#	1105.1.1 = {
#		death = yes
#	}
#}
#194400 = {
#	name = "Peksen"
#	female = yes
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166783
#	1056.1.1 = {
#		birth = yes
#	}
#	1105.1.1 = {
#		death = yes
#	}
#}
#166785 = {
#	name = "Itlar"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166784
#	1087.1.1 = {
#		birth = yes
#	}
#	1132.1.1 = {
#		death = yes
#	}
#}
#166786 = {
#	name = "C_ilbu"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166785
#	1113.1.1 = {
#		birth = yes
#	}
#	1165.1.1 = {
#		death = yes
#	}
#}
#166787 = {
#	name = "U_ge"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166786
#	1144.1.1 = {
#		birth = yes
#	}
#	1189.1.1 = {
#		death = yes
#	}
#}
#166788 = {
#	name = "Atrak"
#	dynasty = 1040065 # Idiqut
#	religion = "vajrayana"
#	culture = "uyghur"
#	father = 166787
#	1167.1.1 = {
#		birth = yes
#	}
#	1206.1.1 = {
#		death = yes
#	}
#}
166789 = {
	name = "Barchuq"
	dynasty = 1040065 # Idiqut (changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 302984
	1190.1.1 = {
		birth = yes
	}
	1235.1.1 = {
		death = yes
	}
}
166790 = {
	name = "Qusmayin"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166789
	1210.1.1 = {
		birth = yes
	}
	1245.1.1 = {
		death = yes
	}
}
166791 = {
	name = "Salun"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166789
	1213.1.1 = {
		birth = yes
	}
	1255.1.1 = {
		death = yes
	}
}
166792 = {
	name = "Oghrunzh"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166790
	1230.1.1 = {
		birth = yes
	}
	1265.1.1 = {
		death = yes
	}
}
166793 = {
	name = "Mamuraq"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166790
	1232.1.1 = {
		birth = yes
	}
	1266.1.1 = {
		death = yes
	}
}
166794 = {
	name = "Qozhighar"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166790
	1235.1.1 = {
		birth = yes
	}
	1276.1.1 = {
		death = yes
	}
}


#Uyghur Kingdom of Qocho redux
#Below, those not explicitly marked as fictional are historical
#However, their specifics (DOB, family ties...) are mostly made up, as we only know when they ruled (if even that...)
302970 = {
	name = "Pangtele"    #Panteqin, Real Founder of Anxi Uyghur
	dynasty = 1045083 #Ediz
	religion = manichean
	culture = uyghur
	817.7.18 = {
		birth = yes
	}
	843.1.1 = {
		dynasty = 1040065 #Bilgä
	}
	864.10.1 = {
		death = yes
	}
}
302971 = {
	name = "Peksen"	#fictional wife of Pangtele
	female = yes
	religion = manichean
	culture = uyghur
	822.2.16 = {
		birth = yes
	}
	899.12.24 = {
		death = yes
	}
}
302972 = {
	name = "Bokut"	#Real Founder of Qocho Uyghur
	dynasty = 1040065 #Bilgä
	religion = manichean
	culture = uyghur
	father = 302970
	mother = 302971
	839.6.5 = {
		birth=yes
	}
	865.1.1 = {
		add_spouse=bodpa0246 #fictional to connect with General Baönhrom Barhé
	}
	874.12.13 = {
		death=yes
	}
}
302973 = {
	name = "BorC_"	#fictional brother of Bokut
	dynasty = 1040065 #Bilgä
	religion = manichean
	culture = uyghur
	father = 302970
	mother = 302971
	837.8.30 = {
		birth = yes
	}
	892.7.1 = {
		death = yes
	}
}
302974 = {
	name = "Irge"	#fictional sister of Bokut
	female = yes
	dynasty = 1040065 #Bilgä
	religion = manichean
	culture = uyghur
	father = 302970
	mother = 302971
	841.1.17 = {
		birth = yes
	}
	915.3.28 = {
		death = yes
	}
}





302975 = {
	name = "Ilig"  
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = uyghur0087 #fictional to connect gaps
	928.7.5 = {
		birth = yes
	}
	981.8.15 = {
		death = yes
	}
}
302976 = {
	name = "Arslan"	#Ilig's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302975
	951.4.17 = {
		birth = yes
	}
	996.11.3 = {
		death = yes
	}
}
302977 = {
	name = "BU_gU_"	#Bügü, Arslan's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302975
	956.1.12 = {
		birth = yes
	}
	1007.10.29 = {
		death = yes
	}
}
302978 = {
	name = "Alp_Arslan"	#Alp Arslan, Bügü's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302977
	979.4.30 = {
		birth = yes
	}
	1024.5.20 = {
		death = yes
	}
}
302979 = {
	name = "KU_l"	#Kül, Alp Arslan's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302978
	1001.2.15 = {
		birth = yes
	}
	1068.7.11 = {
		death = yes
	}
}
302980 = {
	name = "U_ge"	#fictional
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302979
	1022.9.27 = {
		birth = yes
	}
	1061.1.6 = {
		death = yes
	}
}
302981 = {
	name = "BU_gU_"	#Bügü, Kül's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302980
	1045.1.13 = {
		birth = yes
	}
	1123.10.14 = {
		death = yes
	}
}
302982 = {
	name = "Bilge"	#Bügü's successor
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302981
	1070.9.21 = {
		birth = yes
	}
	1130.5.17 = {
		death = yes
	}
}
302983 = {
	name = "Kutan"	#fictional Qocho king, during history hole
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = uyghur0089 #fictional to connect gaps
	1144.3.11 = {
		birth = yes
	}
	1193.8.8 = {
		death = yes
	}
}
302984 = {
	name = "Yur_Temur"	#Qocho king in 1193, after history hole
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302983
	1167.3.11 = {
		birth = yes
	}
	1208.12.14 = {
		death = yes
	}
}
#
302985 = {
	name = "Adigh"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = manichean
	culture = uyghur
	835.2.15 = {
		birth = yes
	}
	879.1.23 = {
		death = yes
	}
}
302986 = {
	name = "Atrak"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = manichean
	culture = uyghur
	father = 302985
	857.7.12 = {
		birth = yes
	}
	908.10.24 = {
		death = yes
	}
}
302987 = {
	name = "MA_nglik"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	1030.4.3 = {
		birth = yes
	}
	1049.1.23 = {
		add_spouse = 302988
	}
	1082.8.13 = {
		death = yes
	}
}
302988 = {
	name = "Yildiz"	#fictional
	female = yes
	religion = vajrayana
	culture = uyghur
	1033.1.16 = {
		birth = yes
	}
	1102.12.9 = {
		death = yes
	}
}
302989 = {
	name = "Qutlugh"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302987
	mother = 302988
	1052.10.24 = {
		birth = yes
	}
	1102.7.15 = {
		death = yes
	}
}
302990 = {
	name = "Sirma"	#fictional
	female = yes
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302987
	mother = 302988
	1053.1.28 = {
		birth = yes
	}
	1109.6.14 = {
		death = yes
	}
}
302991 = {
	name = "KO_nC_ek"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302989
	1078.12.15 = {
		birth = yes
	}
	1139.4.5 = {
		death = yes
	}
}
302992 = {
	name = "Sokal"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302991
	1100.11.27 = {
		birth = yes
	}
	1149.3.16 = {
		death = yes
	}
}
302993 = {
	name = "Qutlugh"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302992
	1126.8.9 = {
		birth = yes
	}
	1191.2.14 = {
		death = yes
	}
}
302994 = {
	name = "Barchuq"	#fictional
	dynasty = 2001134	#Urulchiq
	religion = vajrayana
	culture = uyghur
	father = 302993
	1147.3.19 = {
		birth = yes
	}
	1197.2.20 = {
		death = yes
	}
}
#
302995 = {
	name = "SirC_an"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	845.3.1 = {
		birth = yes
	}
	903.5.19 = {
		death = yes
	}
}
302996 = {
	name = "C_ilbu"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	1017.2.20 = {
		birth = yes
	}
	1064.1.29 = {
		death = yes
	}
}
302997 = {
	name = "Sotan"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 302996
	1043.4.18 = {
		birth = yes
	}
	1094.11.4 = {
		death = yes
	}
}
302998 = {
	name = "Tugor"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 302996
	1045.12.17 = {
		birth = yes
	}
	1097.4.9 = {
		death = yes
	}
}
302999 = {
	name = "Uzluk"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 302997
	1067.1.13 = {
		birth = yes
	}
	1126.10.22 = {
		death = yes
	}
}
303000 = {
	name = "Buqa"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 302999
	1096.9.10 = {
		birth = yes
	}
	1144.7.5 = {
		death = yes
	}
}
303001 = {
	name = "Ilig"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 303000
	1121.8.8 = {
		birth = yes
	}
	1172.3.29 = {
		death = yes
	}
}
303002 = {
	name = "Uzluk"	#fictional
	dynasty = 2001133	#Altaigaas
	religion = vajrayana
	culture = uyghur
	father = 303001
	1143.5.1 = {
		birth = yes
	}
	1196.8.26 = {
		death = yes
	}
}
#
303003 = {
	name = "C_or"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	852.6.18 = {
		birth = yes
	}
	904.9.15 = {
		death = yes
	}
}
303004 = {
	name = "Kubasar"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	1045.11.8 = {
		birth = yes
	}
	1093.4.13 = {
		death = yes
	}
}
303005 = {
	name = "KU_l"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	father = 303004
	1069.2.25 = {
		birth = yes
	}
	1120.6.16 = {
		death = yes
	}
}
303006 = {
	name = "Adigh"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	father = 303005
	1094.10.29 = {
		birth = yes
	}
	1144.2.11 = {
		death = yes
	}
}
303007 = {
	name = "SevenC_"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	father = 303006
	1122.1.30 = {
		birth = yes
	}
	1168.9.26 = {
		death = yes
	}
}
303008 = {
	name = "Kubasar"	#fictional
	dynasty = 2001135	#Bögün
	religion = vajrayana
	culture = uyghur
	father = 303007
	1149.4.18 = {
		birth = yes
	}
	1209.7.10 = {
		death = yes
	}
}


#Qocho Governor of Kumul/Hami - fictional placeholders
uyghur0001 = {
	name="Sugr"
	dynasty=2003122 #Xungul
	religion="nestorian"
	culture="uyghur"
	840.1.1={
		birth=yes
	}
	900.1.1={
		death=yes
	}
}

uyghur0002 = {
	name="Bachman"
	dynasty=2003122 #Xungul
	religion="nestorian"
	culture="uyghur"
	father= uyghur0001
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

uyghur0003 = {
	name="Qosqar"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0002
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

uyghur0004 = {
	name="Uzluk"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0003
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

uyghur0005 = {
	name="Kotyan"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0004
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

uyghur0006 = {
	name="Begluk"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0005
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

uyghur0007 = {
	name="Senggi"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0006
	960.1.1={
		birth=yes
	}
	1020.1.1={
		death=yes
	}
}

uyghur0008 = {
	name="Pulad"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0007
	980.1.1={
		birth=yes
	}
	1040.1.1={
		death=yes
	}
}

uyghur0009 = {
	name="Arslan"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0008
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}

uyghur0010 = {
	name="Etrek"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0009
	1020.1.1={
		birth=yes
	}
	1080.1.1={
		death=yes
	}
}

uyghur0011 = {
	name="Itlar"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0010
	1040.1.1={
		birth=yes
	}
	1100.1.1={
		death=yes
	}
}

uyghur0012 = {
	name="SirC_an"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0011
	1060.1.1={
		birth=yes
	}
	1120.1.1={
		death=yes
	}
}

#Aksu vassals - fictional placeholders
uyghur0013 = {
	name = "Kubasar"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	880.1.1 = {
		birth = yes
	}
	899.1.1 = {
		add_spouse = tocharian0002
	}
	940.1.1 = {
		death = yes
	}
}

uyghur0014 = {
	name = "Ayasun"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0013
	mother = tocharian0002
	900.1.1 = {
		birth = yes
	}
	960.1.1 = {
		death = yes
	}
}

uyghur0015 = {
	name = "C_ilbu"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0014
	920.1.1 = {
		birth = yes
	}
	980.1.1 = {
		death = yes
	}
}

uyghur0016 = {
	name = "Barchuq"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0015
	940.1.1 = {
		birth = yes
	}
	1000.1.1 = {
		death = yes
	}
}

uyghur0017 = {
	name = "Itlar"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0016
	960.1.1 = {
		birth = yes
	}
	1020.1.1 = {
		death = yes
	}
}

uyghur0018 = {
	name = "TO_rtogul"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0017
	980.1.1 = {
		birth = yes
	}
	1040.1.1 = {
		death = yes
	}
}

uyghur0019 = {
	name = "MA_nglik"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0018
	1000.1.1 = {
		birth = yes
	}
	1060.1.1 = {
		death = yes
	}
}

uyghur0020 = {
	name = "Ilig"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0019
	1020.1.1 = {
		birth = yes
	}
	1080.1.1 = {
		death = yes
	}
}

uyghur0021 = {
	name = "Arslan"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0020
	1040.1.1 = {
		birth = yes
	}
	1100.1.1 = {
		death = yes
	}
}

uyghur0022 = {
	name = "Kuntuvdi"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0021
	1060.1.1 = {
		birth = yes
	}
	1120.1.1 = {
		death = yes
	}
}

uyghur0023 = {
	name = "Kutan"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0022
	1080.1.1 = {
		birth = yes
	}
	1140.1.1 = {
		death = yes
	}
}

uyghur0024 = {
	name = "Adigh"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0023
	1100.1.1 = {
		birth = yes
	}
	1160.1.1 = {
		death = yes
	}
}

uyghur0025 = {
	name = "Atrak"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0024
	1120.1.1 = {
		birth = yes
	}
	1180.1.1 = {
		death = yes
	}
}

uyghur0026 = {
	name = "BO_nek"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0025
	1140.1.1 = {
		birth = yes
	}
	1200.1.1 = {
		death = yes
	}
}

uyghur0027 = {
	name = "Alp"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0026
	1160.1.1 = {
		birth = yes
	}
	1220.1.1 = {
		death = yes
	}
}

uyghur0028 = {
	name = "C_or"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0027
	1180.1.1 = {
		birth = yes
	}
	1240.1.1 = {
		death = yes
	}
}

uyghur0029 = {
	name = "Tolossu"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0028
	1200.1.1 = {
		birth = yes
	}
	1260.1.1 = {
		death = yes
	}
}

uyghur0030 = {
	name = "KO_nC_ek"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0029
	1220.1.1 = {
		birth = yes
	}
	1280.1.1 = {
		death = yes
	}
}

uyghur0031 = {
	name = "Bilge"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0030
	1240.1.1 = {
		birth = yes
	}
	1300.1.1 = {
		death = yes
	}
}

uyghur0032 = {
	name = "Sotan"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0031
	1260.1.1 = {
		birth = yes
	}
	1320.1.1 = {
		death = yes
	}
}

uyghur0033 = {
	name = "Togli"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0032
	1280.1.1 = {
		birth = yes
	}
	1340.1.1 = {
		death = yes
	}
}

uyghur0034 = {
	name = "Samur"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0033
	1300.1.1 = {
		birth = yes
	}
	1360.1.1 = {
		death = yes
	}
}

uyghur0035 = {
	name = "TO_mU_r"
	dynasty = 2003126
	religion = "mahayana"
	culture = "uyghur"
	father = uyghur0034
	1320.1.1 = {
		birth = yes
	}
	1380.1.1 = {
		death = yes
	}
}

#Karashar vassals - fictional placeholders
uyghur0036 = {
	name="Gunes"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	840.1.1={
		birth=yes
	}
	859.1.1={
		add_spouse=sogdian0004
	}
	900.1.1={
		death=yes
	}
}

uyghur0037 = {
	name="O_zmish"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0036
	mother=sogdian0004
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

uyghur0038 = {
	name="Paoi"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0037
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

uyghur0039 = {
	name="Qasar"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0038
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

uyghur0040 = {
	name="KU_rebir"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0039
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

uyghur0041 = {
	name="BorC_"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0040
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

uyghur0042 = {
	name="Etrek"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0041
	960.1.1={
		birth=yes
	}
	1020.1.1={
		death=yes
	}
}

uyghur0043 = {
	name="Tugor"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0042
	980.1.1={
		birth=yes
	}
	1040.1.1={
		death=yes
	}
}

uyghur0044 = {
	name="O_ge"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0043
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}

uyghur0045 = {
	name="Peksen"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0044
	1020.1.1={
		birth=yes
	}
	1080.1.1={
		death=yes
	}
}

uyghur0046 = {
	name="Uzluk"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0045
	1040.1.1={
		birth=yes
	}
	1100.1.1={
		death=yes
	}
}

uyghur0047 = {
	name="Kutan"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0046
	1060.1.1={
		birth=yes
	}
	1120.1.1={
		death=yes
	}
}

uyghur0048 = {
	name="Koza"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0047
	1080.1.1={
		birth=yes
	}
	1140.1.1={
		death=yes
	}
}

uyghur0048 = {
	name="Arslan"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0047
	1100.1.1={
		birth=yes
	}
	1160.1.1={
		death=yes
	}
}

uyghur0049 = {
	name="U_ge"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0048
	1100.1.1={
		birth=yes
	}
	1160.1.1={
		death=yes
	}
}

uyghur0050 = {
	name="Asalup"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0049
	1120.1.1={
		birth=yes
	}
	1180.1.1={
		death=yes
	}
}

uyghur0051 = {
	name="Atrak"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0050
	1140.1.1={
		birth=yes
	}
	1200.1.1={
		death=yes
	}
}

uyghur0052 = {
	name="Itlar"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0051
	1160.1.1={
		birth=yes
	}
	1220.1.1={
		death=yes
	}
}

uyghur0053 = {
	name="Barchuq"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0052
	1180.1.1={
		birth=yes
	}
	1240.1.1={
		death=yes
	}
}

uyghur0054 = {
	name="Kubasar"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0053
	1200.1.1={
		birth=yes
	}
	1260.1.1={
		death=yes
	}
}

uyghur0055 = {
	name="MA_nglik"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0054
	1220.1.1={
		birth=yes
	}
	1280.1.1={
		death=yes
	}
}

uyghur0056 = {
	name="BorC_"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0055
	1240.1.1={
		birth=yes
	}
	1300.1.1={
		death=yes
	}
}

uyghur0057 = {
	name="BU_gU_"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0056
	1260.1.1={
		birth=yes
	}
	1320.1.1={
		death=yes
	}
}

uyghur0058 = {
	name="Bokut"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0057
	1280.1.1={
		birth=yes
	}
	1340.1.1={
		death=yes
	}
}

uyghur0059 = {
	name="Asalup"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0058
	1300.1.1={
		birth=yes
	}
	1360.1.1={
		death=yes
	}
}

uyghur0060 = {
	name="Hu"
	dynasty=2003128 #Yenki
	religion="mahayana"
	culture="uyghur"
	father=uyghur0059
	1320.1.1={
		birth=yes
	}
	1380.1.1={
		death=yes
	}
}

#Kucha vassals - fictional placeholders
uyghur0061 = {
	name="Asalup"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	840.1.1={
		birth=yes
	}
	866.1.1={
		add_spouse=166717
	}
	900.1.1={
		death=yes
	}
}

uyghur0062 = {
	name="Ayasun"
	female=yes
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0061
	mother=166717
	867.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

uyghur0063 = {
	name="Bagha"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0061
	mother=166717
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

uyghur0064 = {
	name="Koza"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0063
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

uyghur0065 = {
	name="Jakhangir"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0064
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

uyghur0066 = {
	name="Nur"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0065
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

uyghur0067 = {
	name="Merxat"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0066
	960.1.1={
		birth=yes
	}
	1020.1.1={
		death=yes
	}
}

uyghur0068 = {
	name="Zordun"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0067
	980.1.1={
		birth=yes
	}
	1040.1.1={
		death=yes
	}
}

uyghur0069 = {
	name="Shohrat"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0068
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}

uyghur0070 = {
	name="Turghun"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0069
	1020.1.1={
		birth=yes
	}
	1080.1.1={
		death=yes
	}
}

uyghur0071 = {
	name="Mahinur"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0070
	1040.1.1={
		birth=yes
	}
	1100.1.1={
		death=yes
	}
}

uyghur0072 = {
	name="Khoja"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0071
	1060.1.1={
		birth=yes
	}
	1120.1.1={
		death=yes
	}
}

uyghur0073 = {
	name="Gheni"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0072
	1080.1.1={
		birth=yes
	}
	1140.1.1={
		death=yes
	}
}

uyghur0074 = {
	name="Burhan"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0073
	1100.1.1={
		birth=yes
	}
	1160.1.1={
		death=yes
	}
}

uyghur0075 = {
	name="Subair"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0074
	1120.1.1={
		birth=yes
	}
	1180.1.1={
		death=yes
	}
}

uyghur0076 = {
	name="Yulbars"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0075
	1140.1.1={
		birth=yes
	}
	1200.1.1={
		death=yes
	}
}

uyghur0077 = {
	name="Perhat"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0076
	1160.1.1={
		birth=yes
	}
	1220.1.1={
		death=yes
	}
}

uyghur0078 = {
	name="Erkin"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0077
	1180.1.1={
		birth=yes
	}
	1240.1.1={
		death=yes
	}
}

uyghur0079 = {
	name="Tohti"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0078
	1200.1.1={
		birth=yes
	}
	1260.1.1={
		death=yes
	}
}

uyghur0080 = {
	name="TO_mU_r"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0079
	1220.1.1={
		birth=yes
	}
	1280.1.1={
		death=yes
	}
}

uyghur0081 = {
	name="Arslan"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0080
	1240.1.1={
		birth=yes
	}
	1300.1.1={
		death=yes
	}
}

uyghur0082 = {
	name="Bokut"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0081
	1260.1.1={
		birth=yes
	}
	1320.1.1={
		death=yes
	}
}

uyghur0083 = {
	name="Ilig"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0082
	1280.1.1={
		birth=yes
	}
	1340.1.1={
		death=yes
	}
}

uyghur0084 = {
	name="Alp"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0083
	1300.1.1={
		birth=yes
	}
	1360.1.1={
		death=yes
	}
}

uyghur0085 = {
	name="Qutlugh"
	dynasty=2003129 #Kuchar
	religion="vajrayana"
	culture="uyghur"
	father=uyghur0084
	1320.1.1={
		birth=yes
	}
	1380.1.1={
		death=yes
	}
}

#Filling holes in Qocho ruler history - fictional placeholders
uyghur0086 = {
	name = "Ilig"	#fictional  #Young Khan, son of Bokut
	dynasty = 1040065 #Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302972
	mother = bodpa0246
	875.1.1 = {
		birth=yes
	}
	920.1.1 = {
		death=yes
	}
}

uyghur0087 = {
	name = "Irdimin"	#fictional
	dynasty = 1040065 #Bilgä
	religion = vajrayana
	culture = uyghur
	father = uyghur0086
	900.1.1 = {
		birth=yes
	}
	954.2.22 = {
		death=yes
	}
}

uyghur0088 = {
	name = "Isen"
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = 302982
	1100.1.1 = {
		birth = yes
	}
	1130.1.1 = {
		death = yes
	}
}

uyghur0089 = {
	name = "TO_mU_r"
	dynasty = 1040065	#Bilgä
	religion = vajrayana
	culture = uyghur
	father = uyghur0088
	1120.1.1 = {
		birth = yes
	}
	1170.6.1 = {
		death = yes
	}
}

#Historical Late Qocho Kings (Turghun Almas, Uyghurlar (Almaty, 1992), vol. 1, pp. 180–85)
uyghur0090 = {
	name = "Nolen"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = 166794
	1255.1.1 = {
		birth = yes
	}
	1318.1.1 = {
		death = yes
	}
}

uyghur0091 = {
	name = "TO_mU_r_Buqa"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = uyghur0090
	1272.1.1 = {
		birth = yes
	}
	1327.1.1 = {
		death = yes
	}
}

uyghur0092 = {
	name = "Sunggi"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = uyghur0091
	1290.1.1 = {
		birth = yes
	}
	1331.1.1 = {
		death = yes
	}
}

uyghur0093 = {
	name = "Taypan"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = uyghur0092
	1307.1.1 = {
		birth = yes
	}
	1335.1.1 = {
		death = yes
	}
}

uyghur0094 = {
	name = "Yuelutiemur"
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = uyghur0093
	1324.1.1 = {
		birth = yes
	}
	1353.1.1 = {
		death = yes
	}
}

uyghur0095 = {
	name = "Sangge" #Last Qocho King
	dynasty = 1040065 # Idiqut	(changed to "Bilgä")
	religion = "vajrayana"
	culture = "uyghur"
	father = uyghur0094
	1342.1.1 = {
		birth = yes
	}
	1374.1.1 = {
		death = yes
	}
}

#Charkliq vassals - fictional placeholders
uyghur0096 = {
	name="Nur"
	dynasty=2003131	#Charkliq
	religion=manichean
	culture=uyghur
	840.1.1 = {
		birth=yes
	}
	858.1.1 = {
		add_spouse=sogdian0006
	}
	900.1.1 = {
		death=yes
	}
}

uyghur0097 = {
	name="Sunggi"
	dynasty=2003131	#Charkliq
	religion=manichean
	culture=uyghur
	father=uyghur0096
	mother=sogdian0006
	860.1.1 = {
		birth=yes
	}
	920.1.1 = {
		death=yes
	}
}

uyghur0098 = {
	name="Ertekin"
	dynasty=2003131	#Charkliq
	religion=manichean
	culture=uyghur
	father=uyghur0097
	880.1.1 = {
		birth=yes
	}
	940.1.1 = {
		death=yes
	}
}

uyghur0099 = {
	name="Kopti"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0098
	900.1.1 = {
		birth=yes
	}
	960.1.1 = {
		death=yes
	}
}

uyghur0100 = {
	name="Uzur"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0099
	920.1.1 = {
		birth=yes
	}
	980.1.1 = {
		death=yes
	}
}

uyghur0101 = {
	name="Bachman"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0100
	940.1.1 = {
		birth=yes
	}
	1000.1.1 = {
		death=yes
	}
}

uyghur0102 = {
	name="Tolun"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0101
	960.1.1 = {
		birth=yes
	}
	1020.1.1 = {
		death=yes
	}
}

uyghur0103 = {
	name="Etrek"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0102
	980.1.1 = {
		birth=yes
	}
	1040.1.1 = {
		death=yes
	}
}

uyghur0104 = {
	name="Bonyak"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0103
	1000.1.1 = {
		birth=yes
	}
	1060.1.1 = {
		death=yes
	}
}

uyghur0105 = {
	name="SirC_an"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0104
	1020.1.1 = {
		birth=yes
	}
	1080.1.1 = {
		death=yes
	}
}

uyghur0106 = {
	name="Begluk"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0105
	1040.1.1 = {
		birth=yes
	}
	1100.1.1 = {
		death=yes
	}
}

uyghur0107 = {
	name="Asep"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0106
	1060.1.1 = {
		birth=yes
	}
	1120.1.1 = {
		death=yes
	}
}

uyghur0108 = {
	name="Pulad"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0107
	1080.1.1 = {
		birth=yes
	}
	1140.1.1 = {
		death=yes
	}
}

uyghur0109 = {
	name="Pan"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0108
	1100.1.1 = {
		birth=yes
	}
	1160.1.1 = {
		death=yes
	}
}

uyghur0110 = {
	name="O_zmish"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0109
	1120.1.1 = {
		birth=yes
	}
	1180.1.1 = {
		death=yes
	}
}

uyghur0111 = {
	name="Atrak"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0110
	1140.1.1 = {
		birth=yes
	}
	1200.1.1 = {
		death=yes
	}
}

uyghur0112 = {
	name="Nur"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0111
	1160.1.1 = {
		birth=yes
	}
	1220.1.1 = {
		death=yes
	}
}

uyghur0113 = {
	name="Girgen"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0112
	1180.1.1 = {
		birth=yes
	}
	1240.1.1 = {
		death=yes
	}
}

uyghur0114 = {
	name="Tugor"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0113
	1200.1.1 = {
		birth=yes
	}
	1260.1.1 = {
		death=yes
	}
}

uyghur0115 = {
	name="Yur"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0114
	1220.1.1 = {
		birth=yes
	}
	1280.1.1 = {
		death=yes
	}
}

uyghur0116 = {
	name="Isen"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0115
	1240.1.1 = {
		birth=yes
	}
	1300.1.1 = {
		death=yes
	}
}

uyghur0117 = {
	name="Bars"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0116
	1260.1.1 = {
		birth=yes
	}
	1320.1.1 = {
		death=yes
	}
}

uyghur0118 = {
	name="KU_l"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0117
	1280.1.1 = {
		birth=yes
	}
	1340.1.1 = {
		death=yes
	}
}

uyghur0119 = {
	name="Sugr"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0118
	1300.1.1 = {
		birth=yes
	}
	1360.1.1 = {
		death=yes
	}
}

uyghur0120 = {
	name="Barchuq"
	dynasty=2003131	#Charkliq
	religion=vajrayana
	culture=uyghur
	father=uyghur0119
	1320.1.1 = {
		birth=yes
	}
	1380.1.1 = {
		death=yes
	}
}

#Kumul extended
uyghur0121 = {
	name="Dilraba"
	female=yes
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0010
	1050.1.1={
		birth=yes
	}
	1100.1.1={
		death=yes
	}
}

uyghur0122 = {
	name="Kozel"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0012
	1080.1.1={
		birth=yes
	}
	1140.1.1={
		death=yes
	}
}

uyghur0123 = {
	name="MA_nglik"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0122
	1100.1.1={
		birth=yes
	}
	1160.1.1={
		death=yes
	}
}

uyghur0124 = {
	name="EldeC_yuk"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0123
	1120.1.1={
		birth=yes
	}
	1180.1.1={
		death=yes
	}
}

uyghur0125 = {
	name="Togli"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0124
	1140.1.1={
		birth=yes
	}
	1200.1.1={
		death=yes
	}
}

uyghur0126 = {
	name="Buqa"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0125
	1160.1.1={
		birth=yes
	}
	1220.1.1={
		death=yes
	}
}

uyghur0127 = {
	name="Alp"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0126
	1180.1.1={
		birth=yes
	}
	1240.1.1={
		death=yes
	}
}

uyghur0128 = {
	name="C_ilbu"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0127
	1200.1.1={
		birth=yes
	}
	1260.1.1={
		death=yes
	}
}

uyghur0129 = {
	name="Wushour"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0128
	1220.1.1={
		birth=yes
	}
	1280.1.1={
		death=yes
	}
}

uyghur0130 = {
	name="C_or"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0129
	1240.1.1={
		birth=yes
	}
	1300.1.1={
		death=yes
	}
}

uyghur0131 = {
	name="Shoukhrat"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0130
	1260.1.1={
		birth=yes
	}
	1320.1.1={
		death=yes
	}
}

uyghur0132 = {
	name="Zunun"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0131
	1280.1.1={
		birth=yes
	}
	1340.1.1={
		death=yes
	}
}

uyghur0133 = {
	name="Adili"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0132
	1300.1.1={
		birth=yes
	}
	1360.1.1={
		death=yes
	}
}

uyghur0134 = {
	name="Ilzat"
	dynasty=2003122 #Xungul
	religion="mahayana"
	culture="uyghur"
	father= uyghur0133
	1320.1.1={
		birth=yes
	}
	1380.1.1={
		death=yes
	}
}
