#A better genealogy of the rulers of Khotan Kingdom based on Eastern Etiquette
#Yarkand
166696 = {
	name="Qishiq"
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	711.1.1={
		birth=yes
	}
	763.1.1={
		death=yes
	}
}
166697 = {
	name="Shahrokh"
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	father=166696
	741.1.1={
		birth=yes
	}
	800.1.1={
		death=yes
	}
}
166698 = {
	name="Shayn"
	female=yes
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	father=166696
	745.1.1={
		birth=yes
	}
	805.1.1={
		death=yes
	}
}
166699 = {
	name="Artivan"
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	father=166697
	787.1.1={
		birth=yes
	}
	849.1.1={
		death=yes
	}
}
166700 = {
	name="Devadasa"
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	father=166699
	838.1.1={
		birth=yes
	}
	902.1.1={
		death=yes
	}
}
166701 = {
	name="Yena"
	female=yes
	dynasty=1040058
	religion="mahayana"
	culture="saka"
	father=166699
	844.1.1={
		birth=yes
	}
	896.1.1={
		death=yes
	}
}

#Kashgar
166690 = {
	name="Kartir"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	705.1.1={
		birth=yes
	}
	760.1.1={
		death=yes
	}
}
166691 = {
	name="Lengleng"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166690
	732.1.1={
		birth=yes
	}
	798.1.1={
		death=yes
	}
}
166692 = {
	name="Ranisa"
	female=yes
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166690
	740.1.1={
		birth=yes
	}
	802.1.1={
		death=yes
	}
}
166693 = {
	name="Resan"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166691
	785.1.1={
		birth=yes
	}
	846.1.1={
		death=yes
	}
}
166694 = {
	name="Dharma"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166693
	840.1.1={
		birth=yes
	}
	891.1.1={
		death=yes
	}
}
166695 = {
	name="Yasaman"
	female=yes
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166693
	845.1.1={
		birth=yes
	}
	898.1.1={
		death=yes
	}
}
Tashkurgan_1 = {
	name="Mou" # mythological 
	religion=zhengyi
	culture="han"
	trait = beauty_good_3
	female = yes
	540.1.1={
		birth=yes
	}
	560.1.1={
		add_spouse=Tashkurgan_2
	}
	580.1.1={
		death=yes
	}
}
Tashkurgan_2 = {
	name="Mou" # mythological 
	dynasty=1059008
	religion=mazdayasna
	culture="persian"
	trait = beauty_good_3
	535.1.1={
		birth=yes
	}
	590.1.1={
		death=yes
	}
}
#Tashkurgan
248029 = {
	name="Sariqol" # mythological originator of local dynasty
	dynasty=1059008
	religion=mazdayasna
	culture="persian"
	trait = beauty_good_2
	trait = Khabandha_descendant
	father = Tashkurgan_2
	565.1.1={
		birth=yes
	}
	# 592.1.1={
	# 	add_spouse=248010
	# }
	640.1.1={
		death=yes
	}
}
248030 = {
	name="Khosrow" # fictional local ruler
	dynasty=1059008
	religion=mazdayasna
	culture="persian"
	# trait = legitimized_bastard
	trait = Khabandha_descendant
	father=248029
	# mother=248010
	595.1.1={
		birth=yes
	}
	670.1.1={
		death=yes
	}
}
248031 = {
	name="Kamnai" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	trait = Khabandha_descendant
	father=248030
	630.1.1={
		birth=yes
	}
	700.1.1={
		death=yes
	}
}
248032 = {
	name="Khina" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	trait = Khabandha_descendant
	father=248031
	660.1.1={
		birth=yes
	}
	735.1.1={
		death=yes
	}
}

248033 = {
	name="Padatcaina" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	trait = education_martial_3
	trait = Khabandha_descendant
	father=248032
	705.1.1={
		birth=yes
	}
	775.1.1={
		death=yes
	}
}

248034 = {
	name="Naganpaka" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	father=248033
	trait = Khabandha_descendant
	735.1.1={
		birth=yes
	}
	800.1.1={
		death=yes
	}
}
248035 = {
	name="Visma" # fictional
	dynasty=1059008
	religion=nestorian
	culture="saka"
	father=248033
	trait = Khabandha_descendant
	738.1.1={
		birth=yes
	}
	805.1.1={
		death=yes
	}
}
248036 = {
	name="Raghu" # fictional
	dynasty=1059008
	religion=manichean
	culture="saka"
	father=248033
	trait = Khabandha_descendant
	741.1.1={
		birth=yes
	}
	812.1.1={
		death=yes
	}
}

248037 = {
	name="Capastaka" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	father=248034
	trait = Khabandha_descendant
	771.1.1={
		birth=yes
	}
	850.1.1={
		death=yes
	}
}
248038 = {
	name="Shambhava" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	father=248037
	trait = Khabandha_descendant
	827.1.1={
		birth=yes
	}
	880.1.1={
		death=yes
	}
}

248039 = {
	name="Pakyau" # fictional local ruler
	dynasty=1059008
	religion=theravada
	culture="saka"
	trait = Khabandha_descendant
	father=248038
	mother=248040
	848.1.1={
		birth=yes
	}
	910.1.1={
		death=yes
	}
}

248040 = {
	name="Nirmala" # fictional
	female=yes
	dynasty=19111
	religion=manichean
	culture=sogdian
	830.1.1={
		birth=yes
	}
	910.1.1={
		death=yes
	}
}
248041 = {
	name="Ikam" # fictional local ruler
	dynasty=1059008
	religion=nestorian
	culture="saka"
	trait = Khabandha_descendant
	father=248038
	mother=248040
	850.1.1={
		birth=yes
	}
	917.1.1={
		death=yes
	}
}
248042 = {
	name="Sham" # fictional local ruler
	dynasty=1059008
	religion=mahayana
	culture="saka"
	trait = Khabandha_descendant
	father=248039
	880.1.1={
		birth=yes
	}
	945.1.1={
		death=yes
	}
}

248043 = {
	name="Farzad" # fictional local ruler
	dynasty=1059008
	religion=mahayana
	culture=saka #tajik
	father=248042
	trait = Khabandha_descendant
	910.1.1={
		birth=yes
	}
	950.1.1={
		culture=tajik # tajik
	}
	970.1.1={
		death=yes
	}
}


#Khotan 
Vijaya_saka_001 = {
	name="Sangrama" #僧伽罗磨
	dynasty=1040024
	religion="theravada"
	culture="saka"
	1.1.1={
		birth=yes
	}
	25.1.1={
		death=yes
	}
}

Vijaya_saka_002 = {
	name="Khotan_yulin" #俞林
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_001
	5.1.1={
		birth=yes
	}
	56.1.1={
		death=yes
	}
}

Vijaya_saka_003 = {
	name="Khotan_jaya" #位侍
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_001
	10.1.1={
		birth=yes
	}
	57.1.1={
		death = { death_reason = death_execution }
	}
}

Vijaya_saka_004 = {
	name="Khotan_junde"  #君得
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_002
	30.1.1={
		birth=yes
	}
	57.1.1={
		death=yes
	}
}

Vijaya_saka_005 = {
	name="Khotan_dharma" #休莫霸
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_002
	35.1.1={
		birth=yes
	}
	60.1.1={
		death = { death_reason = death_battle }
	}
}

Vijaya_saka_006 = {
	name="Khotan_guangde" #广德
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_004
	55.1.1={
		birth=yes
	}
	100.1.1={
		death=yes
	}
}

###
Vijaya_saka_32 = {
	name="Kirti" #诘帝
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_006
	85.1.1={
		birth=yes
	}
	130.1.1={
		death=yes
	}
}
Vijaya_saka_33 = {
	name="Khotan_fangqian" #放前
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_32
	102.1.1={
		birth=yes
	}
	127.1.1 = {
		give_nickname=nick_the_lion
	}
	132.1.1={
		death = { death_reason = death_battle }
	}
}
Vijaya_saka_34 = {
	name="Khotan_jian" #建
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_33
	122.1.1={
		birth=yes
	}
	151.1.1={
		death = { death_reason = death_execution }
	}
}
Vijaya_saka_35 = {
	name="Khotan_Anguo" #安国
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_34
	146.1.1={
		birth=yes
	}
	182.1.1={
		death=yes
	}
}
Vijaya_saka_36 = {
	name="Shima" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_35
	161.1.1={
		birth=yes
	}
	188.1.1={
		death=yes
	}
}
Vijaya_saka_37 = {
	name="Khotan_Shanxi" #山习
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_36
	178.1.1={
		birth=yes
	}
	208.1.1={
		death=yes
	}
}
Vijaya_saka_38 = {
	name="Andara" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_37
	195.1.1={
		birth=yes
	}
	243.1.1={
		death=yes
	}
}
Vijaya_saka_39 = {
	name="Vahana" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_38
	213.1.1={
		birth=yes
	}
	251.1.1={
		death=yes
	}
}
Vijaya_saka_40 = {
	name="Simha" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_39
	240.1.1={
		birth=yes
	}
	279.1.1={
		death=yes
	}
}

#####
Vijaya_saka_41 = {
	name="Guramayas" #矩伽罗摩耶娑
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_40
	262.1.1={
		birth=yes
	}
	306.1.1={
		death=yes
	}
}
Vijaya_saka_42 = {
	name="Simha" #信诃
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_41
	287.1.1={
		birth=yes
	}
	336.1.1={
		death=yes
	}
}

######
Vijaya_saka_43 = {
	name="Saigrama" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_42
	310.1.1={
		birth=yes
	}
	373.1.1={
		death=yes
	}
}
Vijaya_saka_44 = {
	name="Dharma" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_43
	333.1.1={
		birth=yes
	}
	397.1.1={
		death=yes
	}
}
Vijaya_saka_45 = {
	name="Sambhava" 
	dynasty=1040024
	religion="theravada"
	culture="saka"
	father=Vijaya_saka_44
	360.1.1={
		birth=yes
	}
	436.1.1={
		death=yes
	}
}

######
Vijaya_saka_46 = {
	name="Kirti" #诘帝
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_45
	386.1.1={
		birth=yes
	}
	451.1.1={
		death=yes
	}
}
Vijaya_saka_47 = {
	name="Khotan_Qiuren" #秋仁
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_46
	410.1.1={
		birth=yes
	}
	471.1.1={
		death=yes
	}
}
Vijaya_saka_48 = {
	name="Simha" #信诃
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_47
	428.1.1={
		birth=yes
	}
	480.1.1={
		death=yes
	}
}
Vijaya_saka_49 = {
	name="Bara" #婆逻
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_48
	450.1.1={
		birth=yes
	}
	510.1.1={
		death=yes
	}
}
######
Vijaya_saka_50 = {
	name="Sangrama" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_49
	472.1.1={
		birth=yes
	}
	535.1.1={
		death=yes
	}
}
Vijaya_saka_51 = {
	name="Bara" #婆逻
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_50
	495.1.1={
		birth=yes
	}
	556.1.1={
		death=yes
	}
}
Vijaya_saka_52 = {
	name="Sangrama" #僧伽罗摩
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_51
	517.1.1={
		birth=yes
	}
	570.1.1={
		death=yes
	}
}
Vijaya_saka_53 = {
	name="Satra" #舍都罗
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_52
	535.1.1={
		birth=yes
	}
	590.1.1={
		death=yes
	}
}
Vijaya_saka_54 = {
	name="Khotan_Vikrama" #卑示闭练
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_53
	553.1.1={
		birth=yes
	}
	621.1.1={
		death=yes
	}
}
Vijaya_saka_55 = {
	name="Khotan_gomati" #屈密
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_54
	570.1.1={
		birth=yes
	}
	642.1.1={
		death=yes
	}
}
Vijaya_saka_007 = {
	name="Baysana" #跋质那
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_54
	trait=education_learning_4
	580.1.1={
		birth=yes
	}
	650.1.1={
		death=yes
	}
}
Vijaya_saka_008 = {
	name="Khotan_jiaseng" #甲僧
	dynasty=1040024
	religion="mahayana"																
	culture="saka"
	father=Vijaya_saka_007
	trait=education_learning_4
	620.1.1={
		birth=yes
	}
	670.1.1={
		death=yes
	}
}
Vijaya_saka_009 = {
	name="Khotan_Yiseng" #乙僧
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_007
	trait=education_learning_3
	625.1.1={
		birth=yes
	}
	710.1.1={
		death=yes
	}
}
Vijaya_saka_56 = {
	name="Khotan_xin" #尉迟信
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_55
	592.1.1={
		birth=yes
	}
	665.1.1={
		death=yes
	}
}
Vijaya_saka_010 = {
	name="Khotan_le" #尉迟乐
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_55
	595.1.1={
		birth=yes
	}
	670.1.1={
		death=yes
	}
}
Vijaya_saka_57 = {
	name="Khotan_xiong" #尉迟雄
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_56
	630.1.1={
		birth=yes
	}
	692.1.1={
		death=yes
	}
}
Vijaya_saka_011 = {
	name="Khotan_dian" #玷
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_56
	632.1.1={
		birth=yes
	}
	695.1.1={
		death=yes
	}
}
Vijaya_saka_58 = {
	name="Khemeg" 
	dynasty=1040025
	religion="mahayana"
	culture="saka"
	642.1.1={
		birth=yes
	}
	709.1.1={
		death=yes
	}
}

Vijaya_saka_59 = {
	name="Khotan_jing" #尉迟璥
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_57
	652.1.1={
		birth=yes
	}
	724.1.1={
		death=yes
	}
}
Vijaya_saka_60 = {
	name="Khotan_tiao" #尉迟眺
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_59
	670.1.1={
		birth=yes
	}
	725.1.1={
		death = { death_reason = death_execution }
	}
}
Vijaya_saka_61 = {
	name="Khotan_zhan" #尉迟战
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_59
	673.1.1={
		birth=yes
	}
	736.1.1={
		death=yes
	} 
}
Vijaya_saka_62 = {
	name="Khotan_da" #尉迟达
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_61
	692.1.1={
		birth=yes
	}
	736.1.1 = {
		give_nickname=nick_the_great
	}
	740.1.1={
		death=yes
	}
}
Vijaya_saka_63 = {
	name="Khotan_gui" #尉迟珪
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_62
	710.1.1={
		birth=yes
	}
	745.1.1={
		death=yes
	}
}
Vijaya_saka_64 = {
	name="Khotan_sheng" #尉迟胜
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_63
	730.1.1={
		birth=yes
	}
	794.1.1={
		death=yes
	}
}
Vijaya_saka_65 = {
	name="Khotan_yao" #尉迟曜
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_63
	732.1.1={
		birth=yes
	}
	790.1.1={
		death=yes
	}
}
Vijaya_saka_66 = {
	name="Kirti" #诘帝
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_65
	750.1.1={
		birth=yes
	}
	798.1.1={
		death=yes
	}
}
Vijaya_saka_67 = {
	name="Khotan_rui" #尉迟锐
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_64
	750.1.1={
		birth=yes
	}
	800.1.1={
		death=yes
	}
}
Vijaya_saka_68 = {
	name="Sangrama" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_66
	765.1.1={
		birth=yes
	}
	809.1.1={
		death=yes
	}
}
Vijaya_saka_69 = {
	name="Bresaya" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_66
	767.1.1={
		birth=yes
	}
	805.1.1={
		death=yes
	}
}
# Vijaya_saka_70 = {
# 	name="Kasuma" 
# 	female=yes
# 	dynasty=1040026
# 	religion="mahayana"
# 	culture="saka"
# 	766.1.1={
# 		birth=yes
# 		employer=Vijaya_saka_65
# 	}
# 	803.1.1={
# 		death=yes
# 	}
# }
# Vijaya_saka_71 = {
# 	name="Silamata" 
# 	female=yes
# 	dynasty=1040027
# 	religion="mahayana"
# 	culture="saka"
# 	764.1.1={
# 		birth=yes
# 		employer=Vijaya_saka_65
# 	}
# 	803.1.1={
# 		death=yes
# 	}
# }
# Vijaya_saka_72 = {
# 	name="Gohusara" 
# 	female=yes
# 	dynasty=1040028
# 	religion="mahayana"
# 	culture="saka"
# 	778.1.1={
# 		birth=yes
# 		employer=Vijaya_saka_65
# 	}
# 	821.1.1={
# 		death=yes
# 	}
# }
Vijaya_saka_73 = {
	name="Nakshatra"
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_68
	782.1.1={
		birth=yes
	}
	825.1.1={
		death=yes
	}
}
# Vijaya_saka_74 = {
# 	name="Visaphraba" 
# 	female=yes
# 	dynasty=1040024
# 	religion="mahayana"
# 	culture="saka"
# 	father=Vijaya_saka_73
# 	804.1.1={
# 		birth=yes
# 	}
# 	849.1.1={
# 		death=yes
# 	}
# }
Vijaya_saka_75 = {
	name="Kirti" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_73
	799.1.1={
		birth=yes
	}
	841.1.1={
		death=yes
	}
}
Vijaya_saka_76 = {
	name="Pala" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_75
	815.1.1={
		birth=yes
	}
	856.1.1={
		death=yes
	}
}
# Vijaya_saka_77 = {
# 	name="Viteseci" 
# 	female=yes
# 	dynasty=1040024
# 	religion="mahayana"
# 	culture="saka"
# 	father=Vijaya_saka_75
# 	817.1.1={
# 		birth=yes
# 	}
# 	848.1.1={
# 		death=yes
# 	}
# }
# Vijaya_saka_78 = {
# 	name="Visadaya"
# 	female=yes
# 	dynasty=1040024
# 	religion="mahayana"
# 	culture="saka"
# 	father=Vijaya_saka_75
# 	819.1.1={
# 		birth=yes
# 	}
# 	861.1.1={
# 		death=yes
# 	}
# }
Vijaya_saka_79 = {
	name="Jaya" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_76
	831.1.1={
		birth=yes
	}
	859.1.1={
		death=yes
	}
}
Vijaya_saka_80 = {
	name="Sangrama" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_76
	834.1.1={
		birth=yes
	}
	863.1.1={
		death=yes
	}
}
Vijaya_saka_81 = {
	name="Vikarma" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_79
	847.1.1={
		birth=yes
	}
	877.1.1={
		death=yes
	}
}
# Vijaya_saka_82 = {
# 	name="Sutoka"
# 	female=yes
# 	dynasty=1040029
# 	religion="mahayana"
# 	culture="saka"
# 	847.1.1={
# 		birth=yes
# 	}
# 	899.1.1={
# 		death=yes
# 	}
# }
Vijaya_saka_83 = {
	name="Simha" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_81
	863.1.1={
		birth=yes
	}
	885.1.1={
		death=yes
	}
}
Vijaya_saka_85 = {
	name="Sangrama" 
	dynasty=1040024
	religion="mahayana"
	culture="saka"
	father=Vijaya_saka_81
	865.1.1={
		birth=yes
	}
	912.1.1={
		death=yes
	}
}

Vijaya_saka_86 = {
	name="Khotan_shengtian" #圣天
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father=Vijaya_saka_85
	900.1.1={
		birth=yes
	}
	912.1.1 = {
		give_nickname=nick_the_great
	}
	966.1.1={
		death=yes
	}
}
Vijaya_saka_87 = {
	name="Khotan_congde" #李从德
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father = Vijaya_saka_86
	925.1.1={
		birth=yes
	}
	977.1.1={
		death=yes
	}
}
Vijaya_saka_88 = {
	name="Dharma_1" #达摩
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father=Vijaya_saka_87
	946.1.1={
		birth=yes
	}
	982.1.1={
		death=yes
	}
}
Vijaya_saka_89 = {
	name="Samgrama" #僧伽罗摩
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father=Vijaya_saka_88
	964.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}
Vijaya_saka_90 = {
	name="Khotan_conglian" #李从连
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father = Vijaya_saka_86
	916.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}
Vijaya_saka_91 = {
	name="Khotan_zongyuan" #李琮原
	dynasty=1040024
	religion="mahayana"
	culture="hexi"
	father=Vijaya_saka_86
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

Vijaya_saka_92 = {
	name="Tcū_syau" #李总绍 ？ 根据于阗语文书，僧伽磨罗去世后，Tcū syau王子占据敦煌率领于阗国人继续反抗。
	dynasty=1040024
	religion="vajrayana"
	culture="hexi"
	father=Vijaya_saka_89
	985.1.1={
		birth=yes
	}
	1040.1.1={
		death=yes
	}
}

Vijaya_saka_93 = {
	name="Khotan_jinyu" #金玉之名取自于阗国后期国号金玉国 ysarnai bāḍa ū ranijai janaivai 虚构的李总绍之子
	dynasty=1040024
	religion="vajrayana"
	culture="han"
	father=Vijaya_saka_92
	1030.1.1={
		birth=yes
	}
	1065.1.1 = { 
		effect = {
				spawn_army = {
					name = khotan_army
					levies = 2000
					men_at_arms = {
						type = bowmen
						stacks = 3
					}
					men_at_arms = {
						type = house_guard
						stacks = 3
					}
					men_at_arms = {
						type = light_horsemen
						stacks = 3
					}
					location = province:9546
					origin = province:9546
				}
		}
		}
	1067.1.1={
		death=yes
	}
}

#Cherchen vassals - fictional placeholders
saka0001 = {
	name="Samgaka"
	dynasty=2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

saka0002 = {
	name="Manohara"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0001
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

saka0003 = {
	name="Harka"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0002
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

saka0004 = {
	name="Sihya"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0003
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

saka0005 = {
	name="Vaham"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0004
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

saka0006 = {
	name="Dzatsi"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0005
	960.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0007 = {
	name="Brika"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0006
	980.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0008 = {
	name="Simhyi"
	dynasty= 2003123 #Chiehmo
	religion="mahayana"
	culture="saka"
	father=saka0007
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}

#Yarkand Khotan vassals - fictional placeholders
saka0009 = {
	name="Vijita"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	740.1.1={
		birth=yes
	}
	800.1.1={
		death=yes
	}
}

saka0010 = {
	name="Dharma"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0009
	760.1.1={
		birth=yes
	}
	820.1.1={
		death=yes
	}
}

saka0011 = {
	name="Sangrama"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0010
	780.1.1={
		birth=yes
	}
	840.1.1={
		death=yes
	}
}

saka0012 = {
	name="Visaram"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0011
	800.1.1={
		birth=yes
	}
	860.1.1={
		death=yes
	}
}

saka0013 = {
	name="Bahudhiva"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0012
	820.1.1={
		birth=yes
	}
	880.1.1={
		death=yes
	}
}

saka0014 = {
	name="Raghu"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0013
	840.1.1={
		birth=yes
	}
	900.1.1={
		death=yes
	}
}

saka0015 = {
	name="Ceguti"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0014
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

saka0016 = {
	name="Zambasta"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0015
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

saka0017 = {
	name="Shribhadra"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0016
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

saka0018 = {
	name="Kriti"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0017
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

saka0019 = {
	name="Arsa"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0018
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

saka0020 = {
	name="Shura"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0019
	960.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0021 = {
	name="Tayasham"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0020
	980.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0022 = {
	name="Hvimdu"
	dynasty= 2003125 #Shaka
	religion="mahayana"
	culture="saka"
	father=saka0021
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}

#Kashgar dynasty expanded - fictional placeholders
saka0023 = {
	name="Pakyau"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=166694
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

saka0024 = {
	name="Bhadra"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0023
	880.1.1={
		birth=yes
	}
	940.1.1={
		death=yes
	}
}

saka0025 = {
	name="Shinganca"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0024
	900.1.1={
		birth=yes
	}
	960.1.1={
		death=yes
	}
}

saka0026 = {
	name="Vadhaga"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0025
	920.1.1={
		birth=yes
	}
	980.1.1={
		death=yes
	}
}

saka0027 = {
	name="Sudarrjam"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0026
	940.1.1={
		birth=yes
	}
	1000.1.1={
		death=yes
	}
}

saka0028 = {
	name="Alysanna"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0027
	960.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0029 = {
	name="Murlimin"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0028
	980.1.1={
		birth=yes
	}
	1006.1.1={
		death=yes
	}
}

saka0030 = {
	name="Gulai"
	dynasty=1040057
	religion="mahayana"
	culture="saka"
	father=saka0029
	1000.1.1={
		birth=yes
	}
	1060.1.1={
		death=yes
	}
}
