248149 = {
	name="Ding"
	dynasty=1055021
	religion="vijna"
	culture="han"
	trait=education_martial_2
	trait=administrator
	martial = 10
	730.1.1={
		birth=yes
	}
	769.1.1={
		add_pressed_claim = c_fuqi
		add_pressed_claim = c_maqen
	}
	790.1.1={
		death=yes
	}
}

# Guiyi Cao family
1059714 = {
	name="Yijin"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	trait = education_martial_4
	trait = ambitious
	father=han0010
	mother=han0011
	842.1.1={
		birth=yes
	}
	916.1.1={
		add_spouse=304194
	}#married a Yughur princess
	935.1.1 = {
		death=yes
	}
}
1059715 = {
	name="Huinan"
	dynasty=1055036
	female=yes
	religion="vajrayana"
	culture="han"
	father=1059714
	905.1.1={
		birth=yes
	}
	937.1.1 = {
		death=yes
	}
}
1059716 = {
	name="Yuande"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059714
	trait=education_martial_2
	890.1.1={
		birth=yes
	}
	939.1.1 = {
		death=yes
	}
}
1059717 = {
	name="Yuanshen"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059714
	892.1.1={
		birth=yes
	}
	944.1.1 = {
		death=yes
	}
}
1059718 = {
	name="Yuanzhong"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059714
	trait=education_diplomacy_3
	trait=intellect_good_1
	mother=304194
	920.1.1={
		birth=yes # maybe
	}
	974.1.1 = {
		death=yes
	}
}
1059719 = {
	name="Jiangui" # unnamed daughter of Cao Yijin
	dynasty=1055036
	female=yes
	religion="vajrayana"
	culture="han"
	father=1059714
	912.1.1={
		birth=yes
	}
	934.1.1={
		add_spouse=166686 #married to the King of Khotan
	}
	960.1.1 = {
		death=yes
	}
}
1059720 = {
	name="Yangong"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059716
	937.1.1={
		birth=yes
	}
	976.1.1 = {
		death=yes
	}
}
1059721 = {
	name="Yanlu"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059716
	938.1.1={
		birth=yes
	}
	1002.1.1 = {
		death=yes
	}
}
304185 = {
	name="Yanrui"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059716
	940.1.1={
		birth=yes
	}
	1002.1.1 = {
		death=yes
	}
}
1059722 = {
	name="Zongshou"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059718
	trait=intellect_good_1
	968.1.1={
		birth=yes # maybe
	}
	1014.1.1 = {
		death=yes
	}
}
1059723 = {
	name="Xianshun"
	dynasty=1055036
	religion="vajrayana"
	culture="han"
	father=1059722
	trait=intellect_good_1
	988.1.1={
		birth=yes # maybe
	}
	1036.1.1 = {
		death=yes
	}
}

# Guiyi Zhang family
206811 = {
	name="Yichao"
	dynasty = 1055006 #ZHANG
	religion="vijna"
	culture="han"
	trait=education_martial_3
	trait=brave
	father=304186

	martial = 6
	799.1.1={
		birth=yes
	}
	872.1.1={
		death=yes
	}
}
244004 = {
	dynasty = 1055006 #ZHANG
	name = "Huaishen"
	religion ="vijna"
	culture = han
	father=304187
	820.1.1 = {
		birth = yes
	}
	890.1.1 = {
		death = yes
	}
}
304186 = {
	name="Yizhen" #fictional father
	dynasty = 1055006 #ZHANG
	religion="vijna"
	culture="han"
	770.1.1={
		birth=yes
	}
	845.1.1={
		death=yes
	}
}
304187 = {
	name="Yitan"
	dynasty = 1055006 #ZHANG
	religion="maitreya"
	culture="han"
	father=304186
	802.1.1={
		birth=yes
	}
	867.1.1={
		death=yes
	}
}
304188 = {
	name="Huading"
	dynasty = 1055006 #ZHANG
	religion="zhengyi"
	culture="han"
	father=206811
	840.1.1={
		birth=yes
	}
	892.1.1={
		death=yes
	}
}
304189 = {
	name="Chengfeng"
	dynasty = 1055006 #ZHANG
	religion="zhengyi"
	culture="han"
	father=304188
	880.1.1={
		birth=yes
	}
	914.1.1={
		death=yes
	}
}
304190 = {
	name="Yanmei" #unnamed daughter of Zhang Yichao
	female=yes
	dynasty = 1055006 #ZHANG
	religion="vijna"
	culture="han"
	father=206811
	842.1.1={
		birth=yes
	}
	905.1.1={
		death=yes
	}
}
304191 = {
	name="Xun"
	dynasty = 2003011 #Suo
	religion="vijna"
	culture="han"
	840.1.1={
		birth=yes
	}
	860.1.1={
		add_spouse=304190
	}
	894.1.1={
		death=yes
	}
}
304192 = {
	name="Mingzhen"
	dynasty = 2003012 #Li
	religion="vijna"
	culture="han"
	838.1.1={
		birth=yes
	}
	894.1.1={
		death=yes
	}
}
304193 = {
	name="Gaodan" #unnamed son (one representing several)
	dynasty = 2003012 #Li
	religion="vijna"
	culture="han"
	father=304192
	860.1.1={
		birth=yes
	}
	896.1.1={
		death=yes
	}
}

#Song Governor of Xining
305972 = {
	name="Huai_en"
	dynasty=2003081 #Zhou
	religion="zenzong"
	culture="han"
	1080.1.1={
		birth=yes
	}
	1136.1.1={
		death=yes
	}
}

#Shuofang Warlord state (887-933)
han0001 = {
	name="Zun"
	dynasty=2003081 #Han
	religion="zhengyi" #Shendao
	culture="han"
	840.1.1={
		birth=yes
	}
	899.1.1={
		death=yes
	}
}

han0002 = {
	name="Xun"
	dynasty=2003081 #Han
	religion="zhengyi" #Shendao
	culture="han"
	father=han0001
	860.1.1={
		birth=yes
	}
	917.1.1={
		death=yes
	}
}

han0003 = {
	name="Zhu"
	dynasty=2003081 #Han
	religion="zhengyi" #Shendao
	culture="han"
	father=han0002
	880.1.1={
		birth=yes
	}
	929.1.1={
		death=yes
	}
}

han0004 = {
	name="Cheng"
	dynasty=2003081 #Han
	religion="zhengyi" #Shendao
	culture="han"
	father=han0002
	885.1.1={
		birth=yes
	}
	930.1.1={
		death=yes
	}
}

#Placeholder Liangzhou Guiyi Vassal
han0005 = {
	name="Ye"
	dynasty=2003098 #Yuan
	religion="zhengyi"
	culture="han"
	840.1.1={
		birth=yes
	}
	906.1.1={
		death=yes
	}
}

#Placeholder Ganzhou Guiyi Vassal
han0006 = {
	name="Jiawei"
	dynasty=2003107 #Xue
	religion="zenzong"
	culture="han"
	820.1.1={
		birth=yes
	}
	890.1.1={
		death=yes
	}
}

#Placeholder Suzhou Guiyi Vassal
han0007 = {
	name="Liang"
	dynasty=2003107 #Xue
	religion="maitreya"
	culture="han"
	father=han0006
	840.1.1={
		birth=yes
	}
	900.1.1={
		death=yes
	}
}

han0008 = {
	name="Haotian"
	dynasty=2003107 #Xue
	religion="zhengyi"
	culture="han"
	father=han0007
	trait=twin
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

han0009 = {
	name="Haoyu"
	dynasty=2003107 #Xue
	religion="zhengyi"
	culture="han"
	father=han0007
	trait=twin
	860.1.1={
		birth=yes
	}
	920.1.1={
		death=yes
	}
}

#Cao Yijin fictional father to emphasize Sinicized Sogdian ancestry
han0010 = {
	name="Xianju"
	dynasty=1055036 #Cao (Sogdian)
	religion="vajrayana"
	culture="sogdian"
	810.1.1={
		birth=yes
	}
	840.1.1={
		add_spouse=han0011
	}
	865.1.1 = {
		death=yes
	}
}

#Fictional mother of Cao Yijin to connect with Zhang family
han0011 = {
	name="Ziyi"
	female=yes
	dynasty = 1055006 #ZHANG
	religion="zenzong"
	culture="han"
	father=304186
	824.1.1={
		birth=yes
	}
	878.1.1={
		death=yes
	}
}

#Guiyi Guazhou Vassals - fictional placeholders
han0012 = {
	name="Chuanxian"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	840.1.1={
		birth=yes
	}
	920.1.1 = {
		death=yes
	}
}

han0013 = {
	name="Yu"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0012
	860.1.1={
		birth=yes
	}
	920.1.1 = {
		death=yes
	}
}

han0014 = {
	name="Tiande"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0013
	880.1.1={
		birth=yes
	}
	940.1.1 = {
		death=yes
	}
}

han0015 = {
	name="Liu"
	dynasty=2003118 #Pan
	religion="vajrayana"
	culture="han"
	father=han0014
	900.1.1={
		birth=yes
	}
	960.1.1 = {
		death=yes
	}
}

han0016 = {
	name="Daguan"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0015
	920.1.1={
		birth=yes
	}
	980.1.1 = {
		death=yes
	}
}

han0017 = {
	name="Xu"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0016
	940.1.1={
		birth=yes
	}
	1000.1.1 = {
		death=yes
	}
}

han0018 = {
	name="Longhao"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0017
	960.1.1={
		birth=yes
	}
	1020.1.1 = {
		death=yes
	}
}

han0019 = {
	name="Jushi"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0018
	980.1.1={
		birth=yes
	}
	1040.1.1 = {
		death=yes
	}
}

han0020 = {
	name="Lan"
	dynasty=2003118 #Pan
	religion="maitreya"
	culture="han"
	father=han0019
	1000.1.1={
		birth=yes
	}
	1060.1.1 = {
		death=yes
	}
}


han0100 =  {
	name="Daoxuan"
	dynasty=1055006 #Chang
	religion="zhengyi"
	culture="han"
	827.1.1={
		birth=yes
	}
	1027.1.1={
		death=yes
	}
}

han0101 =  {
	name="Daozheng"
	dynasty=1055006 #Chang
	religion="zhengyi"
	culture="han"
	1027.1.1={
		birth=yes
	}
	1127.1.1={
		death=yes
	}
}


song1000 = {
	name="Hong"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
	907.1.1={
		birth=yes
	}
	933.1.1={
		death=yes
	}
}
song0000 = {
	name="Kuangyin"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song1000
	927.1.1={
		birth=yes
	}
	976.1.1={
		death=yes
	}
}
song0001 = {
	name="Guangyi"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song1000
	939.1.1={
		birth=yes
	}
	997.1.1={
		death=yes
	}
}
song0002 = {
	name="Heng_zhenzong"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song0001
	968.1.1={
		birth=yes
	}
	1022.1.1={
		death=yes
	}
}


song0003 = {
	name="Zhen_renzong"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song0002
	1010.1.1={
		birth=yes
	}
	1063.1.1={
		death=yes
	}
}

song0004 = {
	name="Shu_yingzong"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song0003
	1032.1.1={
		birth=yes
	}
	1067.1.1={
		death=yes
	}
}

song0005 = {
	name="Xu"
	dynasty=song_dynasty #Zhao
	religion="zhengyi"
	culture="han"
                father=song0004
	1048.1.1={
		birth=yes
	}
	1085.1.1={
		death=yes
	}
}



han0201 = {
	name="Shao"
	dynasty=wang_dynasty #Wang
	religion="zhengyi"
	culture="han"
	1030.1.1={
		birth=yes
	}
	1081.1.1={
		death=yes
	}
}


han0202 = {
	name="Yanqing"
	dynasty=cai_dynasty  #Cai
	religion="zhengyi"
	culture="han"
	1028.1.1={
		birth=yes
	}
	1090.1.1={
		death=yes
	}
}


han0021 = {
	name="Tong"
	dynasty=liu_dynasty  #Liu
	religion="zhengyi"
	culture="han"
	830.1.1={
		birth=yes
	}
	868.1.1={
		death=yes
	}
}


bai0001 = {
	name="Silian"
	dynasty=duan_dynasty 
	religion="theravada"
	culture="bai"
	1007.1.1={
		birth=yes
	}
	1074.1.1={
		death=yes
	}
}

bai0002 = {
	name="Zhengming"
	dynasty=duan_dynasty
	religion="theravada"
	culture="bai"
                father=bai0001
	1034.1.1={
		birth=yes
	}
	1094.1.1={
		death=yes
	}
}

bai0003 = {
	name="Zhengchun"
	dynasty=duan_dynasty
	religion="theravada"
	culture="bai"
                father=bai0001
	1038.1.1={
		birth=yes
	}
	1093.1.1={
		death=yes
	}
}


bai0004 = {
	name="Yu"
	dynasty=duan_dynasty
	religion="theravada"
	culture="bai"
                father=bai0003
	1060.1.1={
		birth=yes
	}
	1133.1.1={
		death=yes
	}
}