﻿####
#Quick search :
## Pre-LIAO Khitans
## LIAO Dynasty
## Shulu/Xiao clan
## Other Khitans


################################################
## Pre-LIAO Khitans
# {

#Clan Yelü (becomes Liao dynasty)
nn_yelu_nulisi = {
	name = "Nulisi"
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "tengri_pagan"
	culture = khitan
	775.1.1 = {	birth = yes	}	#Unknown
	817.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_salade = {
	name = "Salade"
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "tengri_pagan"
	culture = khitan
	father = nn_yelu_nulisi	#Yelü Nulisi
	797.1.1 = {	birth = yes	}	#Unknown
	855.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_yundeshi = {
	name = "Yundeshi"
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_salade	#Yelü Salade
	818.1.1 = {	birth = yes	}	#Unknown
	866.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_malu = {
	name = "Malu"	#Uncle of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yundeshi	#Yelü Yundeshi
	840.1.1 = {	birth = yes	}	#Unknown
	845.1.1 = {	death = yes	}	#Unknown deathdate, "died young"
}

nn_yelu_yanmu = {
	name = "Yanmu"	#Uncle of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yundeshi	#Yelü Yundeshi
	843.1.1 = {	birth = yes	}	#Unknown
	888.1.1 = {	death = yes	}	#Unknown, died at ~45yo
}

nn_yelu_chubulu = {
	name = "Chubulu"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yanmu
	873.1.1 = {	birth = yes	}
	923.1.1 = {	death = yes	}
}

nn_yelu_dieli = {
	name = "Dieli"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_chubulu
	903.1.1 = {	birth = yes	}
	953.1.1 = {	death = yes	}
}

nn_yelu_antuan = {
	name = "Antuan"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_dieli
	923.1.1 = {	birth = yes	}
	953.1.1 = {	death = yes	}
}

nn_yelu_shegeli = {
	name = "Shegeli"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_antuan
	943.1.1 = {	birth = yes	}
	993.1.1 = {	death = yes	}
}

nn_yelu_guiyin = {
	name = "Guiyin"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_shegeli
	973.1.1 = {	birth = yes	}
	1023.1.1 = { death = yes	}
}

nn_yelu_renxian = {
	name = "Renxian"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_guiyin
	1013.1.1 = { birth = yes }
	1072.1.1 = { death = yes }
}

nn_yelu_yixian = {
	name = "Yixian"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_guiyin
	1011.1.1 = { birth = yes }
	1052.1.1 = { death = yes }
}

nn_yelu_lixian = {
	name = "Lixian"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_guiyin
	1015.1.1 = { birth = yes }
	1064.1.1 = { death = yes }
}

nn_yelu_zhixian = {
	name = "Zhixian"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_guiyin
	1017.1.1 = { birth = yes }
	1058.1.1 = { death = yes }
}

nn_yelu_xinxian = {
	name = "Xinxian"
	dynasty = 1045082
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_guiyin
	1019.1.1 = { birth = yes }
	1060.1.1 = { death = yes }
}

nn_yelu_shulan = {
	name = "Shulan"	#Uncle of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_martial_3
	father = nn_yelu_yundeshi	#Yelü Yundeshi
	846.1.1 = {	birth = yes	}	#Unknown
	903.1.1 = {	death = yes	}	#Unknown, died at ~57yo
}

nn_yelu_saladi = {
	name = "Saladi"	#Father of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yundeshi	#Yelü Yundeshi
	848.1.1 = {	birth = yes	}	#Unknown
	867.1.1 = {	add_spouse = nn_yaonian_yanmujin	}
	901.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_pade = {
	name = "Pade"	#unknown name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_paiya
	mother = nn_yelu_changshou_JZ
	990.1.1 = {	birth = yes	}	#Unknown
	993.1.1 = {	death = yes	}	#Unknown
}

#Yaonian clan
nn_yaonian_yanmujin = {
	name = "Yanmujin"	#Mother of Yelü Abaoji (Liao Taizu)
	female = yes
	dynasty = nn_dyn_yaonian	#Yaonian
	religion = "avatamsaka"
	culture = khitan
	851.1.1 = {	birth = yes	}	#Unknown
	933.12.18 = {	death = yes	}
}

# }

################################################
## LIAO Dynasty
# {

#Abaoji and his siblings
194325 = {
	name = "Abaoji"  #Liao Taizu, founder of the Liao dynasty/empire
	dynasty = 1045082 #Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = brave
	trait = ambitious
	trait = shrewd
	trait = lifestyle_hunter
	trait = aggressive_attacker
	trait = education_martial_4
	father = nn_yelu_saladi	#Yelü Saladi
	mother = nn_yaonian_yanmujin	#Yaonian Yanmujin
	872.6.6 = {	birth = yes	}
	895.1.1 = {	add_spouse = nn_shulu_ping	}	#Unknown when they get married, set as the birth of their first child
	926.9.6 = {	death = yes	}
}

nn_yelu_lage = {
	name = "Lage"	#Brother of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_saladi	#Yelü Saladi
	mother = nn_yaonian_yanmujin	#Yaonian Yanmujin
	874.1.1 = {	birth = yes	}	#Unknown
	923.1.1 = {	death = yes	}
}

####
###
# Sons of Yelü Lage
nn_yelu_saibao = {
	name = "Saibao"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lage	#Yelü Lage
	897.1.1 = {	birth = yes	}	#Unknown
	951.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_bali = {
	name = "Bali"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lage	#Yelü Lage
	899.1.1 = {	birth = yes	}	#Unknown
	932.1.1 = {	death = yes	}	#Unknown
}

# end of sons of Yelü Lage
###
####

nn_yelu_diela = {
	name = "Diela"	#Brother of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_learning_3
	father = nn_yelu_saladi	#Yelü Saladi
	mother = nn_yaonian_yanmujin	#Yaonian Yanmujin
	875.1.1 = {	birth = yes	}	#Unknown
	933.1.1 = {	death = yes	}
}

nn_yelu_yindi = {
	name = "Yindi"	#Brother of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_saladi	#Yelü Saladi
	mother = nn_yaonian_yanmujin	#Yaonian Yanmujin
	878.1.1 = {	birth = yes	}	#Unknown
	898.1.1 = {	add_spouse = nn_nerigun	}
	926.1.1 = {	death = yes	}
}

nn_nerigun = {
	name = "Nerigun"	#Wife to Yelü Yindi, one of Abaoji's brothers
	female = yes
	#dynasty = n/A	#unknown
	religion = "avatamsaka"
	culture = khitan
	882.1.1 = {	birth = yes	}	#Unknown
	920.1.1 = {	death = yes	}	#Forced to suicide by Abaoji ?
}

####
###
# Yelü Yindi's children
nn_yelu_liuge = {
	name = "Liuge"	#Son of Yelü Yindi
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = arrogant
	trait = arbitrary
	trait = callous
	trait = education_intrigue_2
	father = nn_yelu_yindi	#Yelü Yindi
	mother = nn_nerigun	#Nerigun (Yindi's wife)
	902.1.1 = {	birth = yes	}	#Unknown
	950.1.1 = {	death = yes	}	#Maybe
}

nn_yelu_pendu = {
	name = "Pendu"	#Son of Yelü Yindi
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yindi	#Yelü Yindi
	mother = nn_nerigun	#Nerigun (Yindi's wife)
	905.1.1 = {	birth = yes	}	#Unknown
	951.1.1 = {	death = yes	}
}

nn_yelu_geli = {
	name = "Geli"	#Son of Yelü Yindi
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yindi	#Yelü Yindi
	mother = nn_nerigun	#Nerigun (Yindi's wife)
	909.1.1 = {	birth = yes	}	#Unknown
	954.1.1 = {	death = yes	}
}

nn_yelu_xijian = {
	name = "Xijian"	#Son of Yelü Yindi
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yindi	#Yelü Yindi
	mother = nn_nerigun	#Nerigun (Yindi's wife)
	911.1.1 = {	birth = yes	}	#Unknown
	947.1.1 = {	death = yes	}	#Unknown
}

# end of Yelü Yindi's children
###
####

nn_yelu_anduan = {
	name = "Anduan"	#Brother of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_martial_3
	father = nn_yelu_saladi	#Yelü Saladi
	mother = nn_yaonian_yanmujin	#Yaonian Yanmujin
	880.1.1 = {	birth = yes	}	#Unknown
	953.1.17 = {	death = yes	}
}

nn_yelu_dukun = {
	name = "Dukun"	#Half-Brother of Yelü Abaoji (Liao Taizu)
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = greedy
	trait = education_martial_3
	father = nn_yelu_saladi	#Yelü Saladi
	882.1.1 = {	birth = yes	}	#Unknown
	926.1.17 = {	death = yes	}
}

####
###
# Yelü Dukun's children
nn_yelu_dukun_son = {
	name = "Duden"	#son of Yelü Dukun, unknown name
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_dukun	#Yelü Dukun
	915.1.1 = {	birth = yes	}	#Unknown
	965.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_nugua = {
	name = "Nugua"	#son of Yelü Dukun
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = strong
	trait = lifestyle_hunter
	trait = education_martial_3
	father = nn_yelu_dukun_son	#Yelü Dukun's grandson
	949.1.1 = {	birth = yes	}	#Unknown
	1012.1.1 = {	death = yes	}
}

nn_yelu_pugu = {
	name = "Pugu"	#son of Yelü Dukun
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_diplomacy_3
	father = nn_yelu_dukun	#Yelü Nugua
	978.1.1 = {	birth = yes	}	#Unknown
	1031.1.1 = {
		death = {
			death_reason = death_murder
			killer = nn_yelu_tieli	#Killed by his own son Tieli
		}
	}
}

nn_yelu_tieli = {
	name = "Tieli"	#son of Yelü Pugu
	dynasty = 1045082	#Yelü, becomes LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_pugu	#Yelü Nugua
	1002.1.1 = {	birth = yes	}	#Unknown
	1031.1.1 = { add_trait = kinslayer_3	}
	1069.1.1 = {	death = yes	}	#Unknown
}

# end of Yelü Dukun's children
###
####

#Abaoji's children
nn_yelu_zhigu = {
	name = "Zhigu"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194325	#Yelü Abaoji (Liao Taizu)
	mother = nn_shulu_ping	#Shulü Ping
	895.1.2 = {	birth = yes	}	#Unknown
	911.1.1 = {	death = yes	}
}

194327 = {
	name = "Bei"	#birth name Tuyu
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = just
	trait = forgiving
	trait = calm
	trait = education_learning_3
	father = 194325	#Yelü Abaoji (Liao Taizu)
	mother = nn_shulu_ping	#Shulü Ping
	899.6.6 = {	birth = yes	}
	937.1.7 = {	death = yes	}
	#father of 194328 (Ruan), nn_yelu_louguo (Louguo), nn_yelu_shao (Shao), nn_yelu_longxian (Longxian), nn_yelu_daoyin (Daoyin), nn_yelu_abuli (Abuli)
}

194326 = {  #Liao Taizong
	name = "Deguang" #birth name Yaogu
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = generous
	trait = calm
	trait = education_diplomacy_3
	father = 194325	#Yelü Abaoji (Liao Taizu)
	mother = nn_shulu_ping	#Shulü Ping
	902.11.25 = {	birth = yes	}
	923.1.1 = {	add_spouse = nn_xiao_wen	}
	947.5.15 = {	death = yes	}
	#father of 194329 (Jing), nn_yelu_yanchege (Yanchege), nn_yelu_tiande (Tiande), nn_yelu_dilie (Dilie), nn_yelu_bishe (Bishe), nn_yelu_lubugu (Lübugu), nn_yelu_chaogui (Chaogui)
}

nn_yelu_lihu = {
	name = "Lihu"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194325	#Yelü Abaoji (Liao Taizu)
	mother = nn_shulu_ping	#Shulü Ping
	911.1.1 = {	birth = yes	}
	960.1.1 = {	death = yes	}
}

####
###
# Sons of Yelü Lihu
nn_yelu_xiyin = {
	name = "Xiyin"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = lazy
	trait = arrogant
	father = nn_yelu_lihu	#Yelü Lihu
	935.1.1 = {	birth = yes	}	#Unknown
	968.1.1 = { add_spouse = nn_xiao_sis_yileilan	}	#Unknown when ; aka Lady Xiao, one of the 3 Xiao sisters
	982.1.1 = {	death = yes	}
}

nn_yelu_lishou = {
	name = "Lishou"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_xiyin	#Yelü Xiyin, Yelü Lihu's grandson
	mother = nn_xiao_sis_yileilan
	968.1.1 = {	birth = yes	}	#Unknown
	982.1.1 = {	death = yes	}
}

nn_yelu_wan = {
	name = "Wan"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lihu	#Yelü Lihu
	939.1.1 = {	birth = yes	}	#Unknown
	987.1.1 = {	death = yes	}	#Unknown
}

# end of sons of Yelü Lihu
###
####

nn_yelu_yaliguo = {
	name = "Yaliguo"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194325	#Yelü Abaoji (Liao Taizu)
	#son of a concubine
	912.1.1 = {	birth = yes	}	#Born after Lihu
	950.1.1 = {	death = yes	}	#Died of ilness sometime after 936
}

#Children of Yelü Bei
194328 = {
	name = "Ruan"  #Liao Shizong
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = generous
	trait = drunkard
	trait = education_martial_3
	father = 194327	#Yelü Bei
	mother = nn_conc_xiao_bei	#Concubine Xiao to Yelü Bei
	919.1.29 = {	birth = yes	}
	942.1.1 = {	add_spouse = nn_xiao_sagezhi	}	#Unknown when
	951.10.7 = {	death = yes	}
}

nn_yelu_louguo = {
	name = "Louguo"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194327	#Yelü Bei
	mother = nn_conc_xiao_bei	#Concubine Xiao to Yelü Bei
	922.1.1 = {	birth = yes	}	#Unknown
	951.1.1 = {	death = yes	}
}

nn_yelu_shao = {
	name = "Shao"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194327	#Yelü Bei
	mother = nn_conc_xiao_bei	#Concubine Xiao to Yelü Bei
	924.1.1 = {	birth = yes	}	#Unknown
	985.1.1 = {	death = yes	}
}

nn_yelu_longxian = {
	name = "Longxian"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194327	#Yelü Bei
	#mother = concubine Da
	925.1.1 = {	birth = yes	}	#Unknown
	970.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_daoyin = {
	name = "Daoyin"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194327	#Yelü Bei
	#mother = concubine Gao
	927.1.1 = {	birth = yes	}	#Unknown
	983.1.1 = {	death = yes	}
}

nn_yelu_abuli = {
	name = "Abuli"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194327	#Yelü Bei
	#unknown mother
	921.1.1 = {	birth = yes	}	#Unknown
	949.1.1 = {	death = yes	}	#Unknown
}

#Children of Yelü Deguang (Liao Taizong)
194329 = {
	name = "Jing"  #Liao Muzong
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	mother = nn_xiao_wen	#Xiao Wen
	trait = drunkard
	trait = lifestyle_reveler
	trait = education_martial_3
	931.9.19 = {	birth = yes	}
	969.3.12 = {	death = yes	}
}

nn_yelu_yanchege = {
	name = "Yanchege"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	mother = nn_xiao_wen	#Xiao Wen
	935.1.1 = {	birth = yes	}
	967.1.1 = { add_spouse = nn_xiao_sis_hunian	}	#Xiao Hunian, one of the 3 Xiao sisters
	972.1.1 = {	death = yes	}
}

nn_yelu_tiande = {
	name = "Tiande"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	mother = nn_conc_xiao_deguang	#Xiao Wen
	936.1.1 = {	birth = yes	}	#Unknown
	948.1.1 = {	death = yes	}
}

nn_yelu_dilie = {
	name = "Dilie"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	mother = nn_conc_xiao_deguang	#Xiao Wen
	939.1.1 = {	birth = yes	}	#Unknown
	978.1.1 = {	death = yes	}
}

nn_yelu_bishe = {
	name = "Bishe"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	mother = nn_conc_xiao_deguang	#Xiao Wen
	938.1.1 = {	birth = yes	}	#Unknown
	973.1.1 = {	death = yes	}
}

nn_yelu_lubugu = {
	name = "LU_bugu"	#AKA Princess of Yan
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	#unknown mother
	935.1.1 = {	birth = yes	}	#Unknown
	996.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_chaogui = {
	name = "Chaogui"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194326	#Liao Taizong
	#unknown mother
	939.1.1 = {	birth = yes	}	#Unknown
	994.1.1 = {	death = yes	}	#Unknown
}

#Children of Yelü Ruan = Liao Shizong
nn_yelu_houabu = {
	name = "Houabu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	mother = nn_xiao_sagezhi
	945.1.1 = {	birth = yes	}
	946.1.1 = {	death = yes	}	#Unknown, died young before Liao Jingzong's ascension to the throne
}

194330 = {
	name = "Xian"  #Liao Jingzong
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	mother = nn_xiao_sagezhi
	948.9.1 = {	birth = yes	}
	969.1.1 = {	add_spouse = nn_xiao_sis_yanyan	}	#Xiao Yanyan, one of the 3 Xiao sisters, aka Empress Ruizhi
	982.10.13 = {	death = yes	}
}

nn_yelu_zhimo = {
	name = "Zhimo"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	950.1.1 = {	birth = yes	}	#Unknown, younger than Liao Jingzong
	983.1.1 = {	death = yes	}
}

nn_yelu_hegudian = {
	name = "Hegudian"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	mother = nn_xiao_sagezhi
	947.1.1 = {	birth = yes	}		#Unknown
	997.1.1 = {	death = yes	}
}

nn_yelu_guanyin = {
	name = "Guanyin"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	mother = nn_xiao_sagezhi
	949.1.1 = {	birth = yes	}	#Unknown
	1012.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_sala = {
	name = "Sala"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194328	#Liao Shizong
	mother = nn_xiao_sagezhi
	950.1.1 = {	birth = yes	}	#Unknown
	1011.1.1 = {	death = yes	}	#Unknown
}

#Children of Yelü Xian = Liao Jingzong
nn_yelu_guanyin_JZ = {
	name = "Guanyin"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	969.1.1 = {	birth = yes	}	#Unknown
	1000.1.1 = {	culture = khitan	}
	1045.1.1 = {	death = yes	}	#Unknown
}

194331 = {
	name = "Longxu"  #Liao Shengzong
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = diligent
	trait = patient
	trait = intellect_good_1
	trait = education_stewardship_4
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	972.1.16 = {	birth = yes	}
	999.1.1 = {	add_spouse = nn_xiao_pusage	}
	1000.1.1 = {	culture = khitan	}	#liao culture = sinicize khitan ; he was instrumental in LIAO's sinicization ; date a bit arbitrary, in the midst of his reforms
	1031.6.25 = {	death = yes	}
}

nn_yelu_longqing = {
	name = "Longqing"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_martial_3
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	973.1.1 = {	birth = yes	}
	1000.1.1 = {	culture = khitan	}
	1016.1.1 = {	add_spouse = nn_xiao_shi	}
	1016.12.1 = {	death = yes	}
}

nn_yelu_changshou_JZ = {
	name = "Changshou"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	975.1.1 = {	birth = yes	}
	1000.1.1 = {	culture = khitan	}
	1017.1.1 = {	death = yes	}
}

nn_yelu_yanshou_JZ = {
	name = "Yanshou"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	976.1.1 = {	birth = yes	}
	996.6.1 = {	death = yes	}
}

nn_yelu_longyou = {
	name = "Longyou"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = brave
	trait = education_learning_3
	father = 194330	#Liao Shizong
	mother = nn_xiao_sis_yanyan	#Xiao Yanyan
	979.1.1 = {	birth = yes	}
	1000.1.1 = {	culture = khitan	}
	1004.1.1 = {	add_spouse = nn_xiao_QI	}	#Unknown when
	1012.8.1 = {	death = yes	}
}




nn_yelu_shuge = {
	name = "Shuge"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194330	#Liao Shizong
	979.1.1 = {	birth = yes	}	#Unknown, after 976
	1000.1.1 = {	culture = khitan	}
	1022.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_yaoshinu = {
	name = "Yaoshinu"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194330	#Liao Shizong
	980.1.1 = {	birth = yes	}	#Unknown, after 979
	981.1.1 = {	death = yes	}	#Unknown, died in childbirth
}

nn_yelu_qara_1 = { # son of Yaliguo, great-great-grandparent of Dashi's grandfather (遼嗣元帝)
	name = "Dilie"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yaliguo # Yaliguo
	933.1.1 = {	birth = yes	}
	991.1.1 = { death = yes }
}

nn_yelu_qara_2 = { # son of Yaliguo
	name = "Xidi"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_yaliguo # Yaliguo, gggp
	936.1.1 = {	birth = yes	}
	992.1.1 = { death = yes }
}

nn_yelu_qara_3 = { # son of Dilie, great-grandparent of Dashi's grandfather (遼嗣元帝)
	name = "Yanchege" # unknown
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_qara_1 # Dilie, speculative
	956.1.1 = {	birth = yes	}
	1024.1.1 = { death = yes }
}

nn_yelu_qara_4 = { # grandparent of Dashi's grandfather (遼嗣元帝)
	name = "Baonu" # unknown
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_qara_3 # Yanchege
	978.1.1 = {	birth = yes	}
	1032.1.1 = { death = yes }
}

nn_yelu_qara_5 = { # parent of Dashi's grandfather (遼嗣元帝)
	name = "Diela" # unknown
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_qara_4 # Baonu
	1003.1.1 = { birth = yes }
	1067.1.1 = { death = yes }
}

nn_yelu_qara_6 = { # Dashi's grandfather (遼嗣元帝)
	name = "Pendu" # unknown
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_qara_5 # Diela
	1026.1.1 = { birth = yes }
	1095.1.1 = { death = yes }
}

nn_yelu_qara_7 = { # Dashi's father
	name = "Malu" # unknown
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_qara_6 # Pendu
	1051.1.1 = { birth = yes }
	1109.1.1 = { death = yes }
}

# }

################################################
## LIAO - Shulu/Xiao clan
# {

nn_shulu_pogu = {
	name = "Pogu"	#Father of Shulü Ping
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	848.1.1 = {	birth = yes	}	#Unknown
	902.1.1 = {	death = yes	}	#Unknown
}

nn_shulu_ping = {	#aka Empress Yingtian
	name = "Ping"	#Wife of Yelü Abaoji (Liao Taizu)
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_shulu_pogu	#Shulü Pogu
	879.10.19 = {	birth = yes	}
	953.8.1 = {	death = yes	}
}

nn_shulu_aguzhi = {
	name = "Aguzhi"	#Younger brother to Shulü Ping
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_shulu_pogu	#Shulü Pogu
	881.1.1 = {	birth = yes	}	#Unknown
	934.1.1 = {	death = yes	}	#Unknown
}

nn_shulu_shilu = {
	name = "Shilu"	#Half-brother of Shulü Ping	#Unsure about his name : mentionned as Xiao Shilu, but Xiao is the renaming of Shulü, so Shulü Shilu ? Unsure
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_shulu_pogu	#Shulü Pogu
	875.1.1 = {	birth = yes	}	#Unknown
	909.1.1 = {	add_spouse = nn_yelu_zhigu }	#unsure when they married
	911.1.1 = {	death = yes	}
}

nn_conc_xiao_bei = {
	name = "Ping"	#Concubine Xiao to Yelü Bei, unknown name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	900.1.1 = {	birth = yes	}	#Unknown
	960.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_wen = {
	name = Wen	#Empress Jing'an
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = humble
	trait = temperate
	trait = just
	trait = intellect_good_1
	905.1.1 = {	birth = yes	}	#Unknown
	935.2.18 = {	death = yes	}
}

nn_conc_xiao_deguang = {
	name = "Sage"	#Concubine of the Xiao clan to Yelü Deguang, unknown name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	920.1.1 = {	birth = yes	}	#Unknown
	983.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_siwen = {
	name = "Siwen"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	930.1.1 = {	birth = yes	}	#Unknown
	951.1.1 = { add_spouse = nn_yelu_lubugu	}	#Unkonwn when
	970.1.1 = {	death = yes	}
}

nn_xiao_sis_hunian = {
	name = "Hunian"	#One of the 3 "Xiao sisters"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_martial_3
	father = nn_xiao_siwen
	mother = nn_yelu_lubugu
	951.1.1 = {	birth = yes	}	#Unsure
	1009.1.1 = {	death = yes	}
}

nn_xiao_sis_yileilan = {
	name = "Yileilan"	#One of the 3 "Xiao sisters" ; aka "Lady Xiao" (one of many...)
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_siwen
	mother = nn_yelu_lubugu
	952.1.1 = {	birth = yes	}	#Unkonwn
	983.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_sis_yanyan = {
	name = "Yanyan"	#One of the 3 "Xiao sisters" ; Empress Dowager Chengtian, married to Liao Jingzong
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = brave
	trait = ambitious
	trait = lustful
	trait = administrator
	trait = intellect_good_2
	trait = aggressive_attacker
	trait = education_martial_5
	father = nn_xiao_siwen
	mother = nn_yelu_lubugu
	953.1.1 = {	birth = yes	}	#Unkonwn
	1009.12.23 = {	death = yes	}	#Unknown
}

nn_xiao_sagezhi = {
	name = "Sagezhi"	#aka Empress Huajie (married to Liao Shizong)
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_shulu_aguzhi	#Younger brother of Shulü Ping
	922.1.1 = {	birth = yes	}	#Unknown
	951.10.8 = {	death = yes	}	#Unknown
}

nn_xiao_shennu = {
	name = "Shennu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	976.1.1 = {	birth = yes	}	#Unknown
	996.1.1 = {	add_spouse = nn_yelu_shuge	}	#Unknown
	1000.1.1 = {	culture = khitan	}
	1024.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_pogu_FIC = {	#Fictional, just to make Xiao PAiya & Xiao Hengde brothers
	name = "Pogu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	949.1.1 = {	birth = yes	}
	989.1.1 = {	death = yes	}
}

nn_xiao_paiya = {
	name = "Paiya"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_stewardship_3
	father = nn_xiao_pogu_FIC
	969.1.1 = {	birth = yes	}	#Unknown
	990.1.1 = {	add_spouse = nn_yelu_changshou_JZ	}	#around that time
	1000.1.1 = {	culture = khitan	}
	1023.1.1 = {	death = yes	}
}

nn_xiao_hengde = {
	name = "Hengde"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = brave
	trait = education_martial_3
	father = nn_xiao_pogu_FIC
	971.1.1 = {	birth = yes	}	#Unknown
	983.1.1 = {	add_spouse = nn_yelu_yanshou_JZ	}
	996.6.1 = {	death = yes	}
}

nn_xiao_jixian = {
	name = "Jixian"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = humble
	trait = temperate
	trait = education_martial_3
	964.1.1 = {	birth = yes	}	#Unknown
	981.1.1 = {	add_spouse = nn_yelu_guanyin_JZ	}	#Unsure, around this time
	1000.1.1 = {	culture = khitan	}
	1022.1.1 = {	death = yes	}	#Unknown, at 58
}

nn_xiao_BIN = {
	name = "Bin"	#Unknown name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	989.1.1 = {	birth = yes	}	#Unknown
	1000.1.1 = {	culture = khitan	}
	1045.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_giufei = {
	name = "Giufei"	#unsure about her name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	970.1.1 = {	birth = yes }	#Unknown
	993.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_pusage = {
	name = "Pusage"	#aka empress Rende ; unsure about her personal name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	983.1.1 = {	birth = yes }	#Unknown
	1032.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_noujin = {
	name = "Noujin"	#AKA empress Qin'ai
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = arrogant
	trait = greedy
	trait = ambitious
	trait = beauty_good_2
	980.1.1 = {	birth = yes }	#Unknown
	1000.1.1 = {	culture = khitan	}
	1057.1.1 = {	death = yes	}	#Unknown
}

# }

################################################
## Other Khitans
# {

nn_LIAOgeng_shuyi = {
	name = "Shuyi"	#likely not her real name
	female = yes
	dynasty = nn_dyn_LIAOgeng	#A Geng family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	983.1.1 = {	birth = yes }	#Unknown
	1000.1.1 = {	culture = khitan	}
	1064.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOpuhai_heyi = {
	name = "Heyi"	#likely not her real name
	female = yes
	dynasty = nn_dyn_LIAOpuhai	#A Puhai family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	989.1.1 = {	birth = yes }	#Unknown
	1000.1.1 = {	culture = khitan	}
	1040.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_shenxing = {
	name = "Shenxing"	#Minister of LIAO's northern prefecture
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	980.1.1 = {	birth = yes }	#Unknown
	1040.1.1 = {	death = yes	}	#Unknown
}
# }

###################################################################################

################################################
# START OF FICTIONAL KHITAN RULERS
# {

### 1066 eastern circuit
khitan_jangryeong_10_fic = {
	name = "Erge"
	dynasty = khitan_saara
	religion = dhyana
	culture = khitan
	1044.11.4 = {
		birth = yes
	}
	1081.9.6 = {
		death = yes
	}
}

khitan_balfuzhou_10_fic = {
	name = "Wuge"
	dynasty = khitan_shuvuu
	religion = dhyana
	culture = khitan
	1019.1.17 = {
		birth = yes
	}
	1068.12.1 = {
		death = yes
	}
}

khitan_liaoningzhenzhou_10_fic = {
	name = "Asu"
	dynasty = khitan_toosuul
	religion = dhyana
	culture = khitan
	1039.7.22 = {
		birth = yes
	}
	1088.3.19 = {
		death = yes
	}
}

# }
# END OF FICTIONAL KHITAN RULERS
################################################


khitan_taulia_1 = {
	name = "Heluwo" # fictional
	dynasty = nn_dyn_taulia # Taulia
	religion = avatamsaka
	culture = khitan
	842.9.9 = {
		birth = yes
	}
	903.12.5 = {
		death = yes
	}
}

khitan_qudug_1 = {
	name = "Shuanggu" # fictional
	dynasty = nn_dyn_qudug # Qudug
	religion = avatamsaka
	culture = khitan
	836.3.5 = {
		birth = yes
	}
	886.1.27 = {
		death = yes
	}
}

217176 = {
	name = "Dashi_5927_77F3" # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	1014.5.9 = {
		birth = yes
	}
	1031.4.19 = {
		add_spouse = 217177
	}
	1065.9.12 = {
		death = yes
	}
}
217177 = {
	name = "Dianni" # fictional
	religion = avatamsaka
	culture = khitan
	female = yes
	1012.11.4 = {
		birth = yes
	}
	1059.6.12 = {
		death = yes
	}
}
217178 = {
	name = "Yilie_5937_5217" # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	father = 217176
	mother = 217177
	1033.6.10 = {
		birth = yes
	}
	1092.5.12 = {
		death = yes
	}
}
217179 = {
	name = "ShulU_-Ping" # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	father = 217176
	mother = 217177
	female = yes
	1038.3.3 = {
		birth = yes
	}
	1099.8.26 = {
		death = yes
	}
}
217180 = {
	name = "Zongzhen" # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	father = 217176
	mother = 217177
	1042.12.22 = {
		birth = yes
	}
	1120.2.9 = {
		death = yes
	}
}
#217181 = {
#	name = "Wenshunu" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = avatamsaka
#	culture = khitan
#	1006.5.24 = {
#		birth = yes
#	}
#	1031.6.10 = {
#		add_spouse = 217182
#	}
#	1052.10.7 = {
#		death = yes
#	}
#}
217182 = {
	name = "Pusuwan" # fictional
	religion = avatamsaka
	culture = khitan
	female = yes
	1014.5.16 = {
		birth = yes
	}
	1079.3.19 = {
		death = yes
	}
}
#217183 = {
#	name = "Cuiba" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = avatamsaka
#	culture = khitan
#	female = yes
#	father = 217181
#	mother = 217182
#	1035.6.10 = {
#		birth = yes
#	}
#	1103.7.11 = {
#		death = yes
#	}
#}
#217184 = {
#	name = "Yingtian" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = avatamsaka
#	culture = khitan
#	female = yes
#	father = 217181
#	mother = 217182
#	1041.11.27 = {
#		birth = yes
#	}
#	1109.10.14 = {
#		death = yes
#	}
#}
#217185 = {
#	name = "Gou_er" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = tengri_pagan
#	culture = khitan
#	father = 217181
#	mother = 217182
#	1039.2.12 = {
#		birth = yes
#	}
#	1093.2.17 = {
#		death = yes
#	}
#}
166795 = {
	name="Tiande"
	dynasty=1045087
	religion="avatamsaka"
	culture="khitan"
	730.1.1={
		birth=yes
	}
	789.1.1={
		death=yes
	}
}

217335 = {
	name = Dashi # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	father = 217178
	
	1068.4.17 = {
		birth = yes
	}
	
	1110.6.5 = {
		death = yes
	}
}

217336 = {
	name = Yanxi # fictional
	dynasty = 1051111 # Yuzhi
	religion = avatamsaka
	culture = khitan
	father = 217335
	
	1094.10.5 = {
		birth = yes
	}
	
	1131.4.16 = {
		death = yes
	}
}

#217337 = {
#	name = "Duolubu" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = tengri_pagan
#	culture = khitan
#	father = 217185
#	1062.2.4 = {
#		birth = yes
#	}
#	1093.2.17 = {
#		religion = avatamsaka
#	}
#	1106.6.8 = {
#		death = yes
#	}
#}
#
#217338 = {
#	name = "Tiande" # fictional
#	dynasty = 1051112 # Wanyan
#	religion = avatamsaka
#	culture = khitan
#	father = 217337
#
#	1089.11.17 = {
#		birth = yes
#	}
#
#	1130.5.10 = {
#		death = yes
#	}
#}

248238 = {
	name="Cim_Timur"
	dynasty=1059033
	religion=avatamsaka
	culture=khitan

	trait=education_stewardship_2
	1190.1.1={
		birth=yes
	}
	1221.1.1 = {
		employer=125520
	}
	1236.1.1={
		death=yes
	}
}

93899 = {
	name="Ketuyu"
	dynasty=214009
	religion="avatamsaka"
	culture="khitan"
	father=188912
	1180.1.1 = { birth="1180.1.1" }
	1213.1.1 = { name="Baraq_Hajib" religion="ashari" dynasty=7337 }
	1235.1.1 = { death="1235.1.1" }
}

#Qutlugh-Khanids of Persia
93259 = {
	name="Qutb_ad-Din_Muhammad"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93258
	1200.1.1 = { birth="1200.1.1" }
	1257.1.1 = { death="1257.1.1" }
}
93260 = {
	name="Rukh_ad-Din_Hoja_al-Hakk"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93258
	1201.1.1 = { birth="1201.1.1" }
	1252.1.1 = { death="1252.1.1" }
}
93261 = {
	name="Muzzafar_ad-Din"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93259
	1250.1.1 = { birth="1250.1.1" }
	1291.7.1 = { death="1291.7.1" }
}
93262 = {
	name="Turkan_Hatun"
	female=yes
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93261
	1240.1.1 = { birth="1240.1.1" }
	1283.1.1 = { death="1283.1.1" }
}
93263 = {
	name="Djalal_ad-Din_Abu_l-Muzzafar"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93259
	1255.1.1 = { birth="1255.1.1" }
	1294.8.21 = { death="1294.8.21" }
}
93264 = {
	name="Safvat_ad-Din_Padishah_Hatun"
	female=yes
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93259
	1256.1.1 = { birth="1256.1.1" }
	1295.1.1 = { death="1295.1.1" }
}
93265 = {
	name="Yuluq_Shah"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93263
	1282.1.1 = { birth="1282.1.1" }
	1296.1.1 = { death="1296.1.1" }
}
93266 = {
	name="Muzzafar_ad-Din"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93263
	1283.1.1 = { birth="1283.1.1" }
	1304.1.1 = { death="1304.1.1" }
}
93267 = {
	name="Qutb_ad-Din"
	dynasty=7337
	religion="ashari"
	culture="khitan"
	father=93263
	1284.1.1 = { birth="1284.1.1" }
	1308.1.1 = { death="1308.1.1" }
}
258100 = {
	name="Zhulie"
	dynasty=1100022
	religion="nestorian"
	culture="khitan"
	1039.1.1={
		birth=yes
	}
	1087.1.1={
		death=yes
	}
}
258101 = {
	name="Qinde"
	dynasty=1100023
	religion="avatamsaka"
	culture="khitan"
	1033.1.1={
		birth=yes
	}
	1087.1.1={
		death=yes
	}
}

wugu_tribe_1 = {
	name = "Hudugu" # Wugu, Qoñyrat, Khitan Liao tributary
	religion = tengri_pagan
	culture = mongol
	1036.1.1 = {
		birth=yes
	}
	1086.1.1 = {
		death=yes
	}
}

dilie_tribe_1 = {
	name = "Duden" # Dilie, Eight Tribes, Outer Tribes, east of the Zubu and west of the Wugu
	religion = tengri_pagan
	culture = kerait
	1036.1.1 = {
		birth=yes
	}
	1086.1.1 = {
		death=yes
	}
}

####
#Sinicized Khitans
#Quick search :
## LIAO Dynasty
## Shulu/Xiao clan
## Other Khitans
## Qara Khitai

################################################
## LIAO Dynasty

#Sons of Liao Shengzong
nn_yelu_baonu = {
	name = "Baonu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	#unknown mother
	989.1.1 = {	birth = yes	}
	1000.1.1 = {	death = yes	}	#Died young
}

nn_yelu_yanhuFIC = {
	name = "Yanhu"	#Fictional name, no data on him
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_pusage
	999.1.1 = {	birth = yes	}	#Unknown
	1015.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_yansiFIC = {
	name = "Yansi"	#Fictional name, no data on him
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_pusage
	1000.1.1 = {	birth = yes	}	#Unknown
	1022.1.1 = {	death = yes	}	#Unknown
}

194332 = {
	name = "Zongzhen"  #Liao Xingzong
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = content
	trait = wrathful
	trait = greedy
	trait = education_stewardship_1
	father = 194331	#Liao Shengzong
	mother = nn_xiao_noujin
	1016.4.3 = {	birth = yes	}
	1035.3.1 = {	add_spouse = nn_xiao_dali	}
	1055.8.28 = {	death = yes	}
}

nn_yelu_zongyuan = {
	name = "Zongyuan"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_noujin
	1008.1.1 = {	birth = yes	}
	1072.1.1 = {	death = yes	}
}

nn_yelu_shusi = {
	name = "Shusi"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	#Unknown mother
	1017.1.1 = {	birth = yes	}
	1073.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_zongjian = {
	name = "Zongjian"	#aka Begute
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	#Unknown mother
	1007.1.1 = {	birth = yes	}	#Unknown
	1050.1.1 = {	death = yes	}
}

nn_yelu_zongxun = {
	name = "Zongxun"	#aka Wuge
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAOpuhai_heyi
	1005.1.1 = {	birth = yes	}	#Unknown
	1059.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_zongwei = {
	name = "Zongwei"	#aka Gouer
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAOpuhai_heyi
	1007.1.1 = {	birth = yes	}	#Unknown
	1021.1.1 = {	death = yes	}	#Possibly ?
}

nn_yelu_zongyuan_2 = {
	name = "Zongyuan"	#aka Hougu
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAOgeng_shuyi
	1008.1.1 = {	birth = yes	}	#Unknown
	1072.1.1 = {	death = yes	}
}

#Daughters of Liao Shengzong
nn_yelu_yange = {
	name = "Yange"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_giufei
	990.1.1 = {	birth = yes	}	#Unknown
	1056.1.1 = {	death = yes	}
}

nn_yelu_yanmuqin = {
	name = "Yanmuqin"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_noujin
	1018.1.1 = {	birth = yes	}	#Unsure, >1016 & <1021
	1086.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_shuogu = {
	name = "Shuogu"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_xiao_noujin
	1020.1.1 = {	birth = yes	}	#Unsure, >1016 & <1021
	1095.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_cuiba = {	#sister of Yelü Taoge
	name = "Cuiba"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	1010.1.1 = {	birth = yes	}	#Unknown
	1030.1.1 = {	death = yes	}
}

nn_yelu_taoge = {	#sister of Yelü Cuiba
	name = "Taoge"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	1013.1.1 = {	birth = yes	}	#Unknown
	1067.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_tianni = {
	name = "Tianni"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	1017.1.1 = {	birth = yes	}	#Unknown
	1076.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_jiuge = {
	name = "Jiuge"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	1020.1.1 = {	birth = yes	}	#Unknown
	1085.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_changshou = {
	name = "Changshou"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	1021.1.1 = {	birth = yes	}	#Unknown
	1083.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_bage = {
	name = "Bage"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAObai_zhaoyi
	1022.1.1 = {	birth = yes	}	#Unknown
	1079.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_shige = {
	name = "Shige"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAObai_zhaoyi
	1023.1.1 = {	birth = yes	}	#Unknown
	1083.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_baishi = {
	name = "Baishi"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAObai_zhaoyi
	1025.1.1 = {	birth = yes	}	#Unknown
	1089.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_taige = {
	name = "Taige"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	mother = nn_LIAObai_zhaoyi
	1026.1.1 = {	birth = yes	}	#Unknown
	1068.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_saige = {
	name = "Saige"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	#concubine Li Shunyi
	1027.1.1 = {	birth = yes	}	#Unknown
	1090.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_xingge = {
	name = "Xingge"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194331	#Liao Shengzong
	#concubine Ai Fangyi
	1029.1.1 = {	birth = yes	}	#Unknown
	1076.1.1 = {	death = yes	}	#Unknown
}

#Children of Yelü Longqing (brother of Liao Shengzong)
nn_yelu_lufen = {	#Aka Yelü Zongjiao
	name = "Lufen"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	#mother = nn_xiao_QIN	#unsure, dates don't seem to match properly
	991.1.1 = {	birth = yes	}
	1053.1.1 = {	death = yes	}
}

nn_yelu_sani = {
	name = "Sani"	#Unrecorded name, using fictional name instead
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	#mother = nn_xiao_QIN	#unsure, dates don't seem to match properly
	995.1.1 = {	birth = yes	}	#Unknown, before nn_yelu_CHEN
	1058.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_CHEN = {
	name = "Chen"	#Unrecorded name, using her princess name instead
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	mother = nn_xiao_QIN
	1000.1.1 = {	birth = yes	}
	1018.1.1 = {	death = yes	}
}

nn_yelu_chage = {	#Aka Yelü Zhongzheng
	name = "Chage"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	mother = nn_xiao_BIN
	1003.1.1 = {	birth = yes	}
	1062.1.1 = {	death = yes	}
}

nn_yelu_tubote = {	#Aka Yelü Zongyun
	name = "Tubote"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	mother = nn_xiao_BIN
	1005.1.1 = {	birth = yes	}
	1023.1.1 = {	add_spouse = nn_xiao_piri }	#Unknown
	1064.1.1 = {	death = yes	}
}

nn_yelu_suige = {	#Aka Yelü Zongde
	name = "Suige"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longqing	#Yelü Longqing
	mother = nn_xiao_QIN
	1007.1.1 = {	birth = yes	}	#Unkown, likely after Tubote/Zongyun
	1051.1.1 = {	death = yes	}
}

###Children of Yelü Lufen
nn_yelu_chonggude = {
	name = "Chonggude"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lufen	#Yelü Lufen/Zongjiao
	#unrecorded mother
	1012.1.1 = {	birth = yes	}	#Unknown
	1072.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_tieli_LUF = {
	name = "Tieli"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lufen	#Yelü Lufen/Zongjiao
	#unrecorded mother
	1014.1.1 = {	birth = yes	}	#Unknown
	1069.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_temei = {
	name = "Temei"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lufen	#Yelü Lufen/Zongjiao
	#unrecorded mother
	1017.1.1 = {	birth = yes	}	#Unknown
	1081.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_huquan = {
	name = "Huquan"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_lufen	#Yelü Lufen/Zongjiao
	#unrecorded mother
	1018.1.1 = {	birth = yes	}	#Unknown
	1086.1.1 = {	death = yes	}	#Unknown
}

###Children of Yelü Tubote
nn_yelu_hongbian = {
	name = "Hongbian"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_tubote	#Yelü Tubote/Zongyun
	mother = nn_xiao_piri
	1023.1.1 = {	birth = yes	}	#Unknown
	1078.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_saba = {
	name = "Saba"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_tubote	#Yelü Tubote/Zongyun
	mother = nn_xiao_piri
	1026.1.1 = {	birth = yes	}	#Unknown
	1075.1.1 = {	death = yes	}	#Unknown
}

#Children of Yelü Longyou (brother of Liao Shengzong)
nn_yelu_hudugu = {
	name = "Hudugu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longyou	#Yelü Longyou
	mother = nn_xiao_QI
	1004.1.1 = {	birth = yes	}	#Unknown
	1062.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_helu = {
	name = "Helu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longyou	#Yelü Longyou
	mother = nn_xiao_QI
	1008.1.1 = {	birth = yes	}	#Unknown
	1067.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_tiebu = {
	name = "Tiebu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_longyou	#Yelü Longyou
	mother = nn_xiao_QI
	1010.1.1 = {	birth = yes	}	#Unknown
	1069.1.1 = {	death = yes	}	#Unknown, after 1063
}

nn_yelu_yelu = {
	name = "Yelu"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_tiebu	#Yelü Tiebu
	1031.1.1 = {	birth = yes	}	#Unknown
	1040.1.1 = {	death = yes	}	#Unknown, died young
}

#Children of Liao Xingzong
194333 = {
	name= "Chala_67E5_524C"  #Liao Daozong
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	mother = nn_xiao_dali
	martial = 5
	stewardship = 4
	diplomacy = 6
	intrigue = 1
	learning = 7
	prowess = 6
	trait = zealous
	trait = arbitrary
	trait = trusting
	trait = scholar
	trait = education_learning_3
	1032.9.14 = {	birth = yes	}
	1055.8.28 = {   name = "Hongji_6DA2_57FA" } # Regnal
	1055.12.1 = {
		add_spouse = 194402
		effect = {
			spawn_army = {
				name = event_troop_default_name
				men_at_arms = {
					type = steppe_raiders
					stacks = 6
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = cataphract_archers
					stacks = 2
				}
				men_at_arms = {
					type = ballista
					stacks = 1
				}
				location = province:11709
				origin = province:11709
			}
			spawn_army = {
				name = event_troop_default_name
				men_at_arms = {
					type = steppe_raiders
					stacks = 6
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = cataphract_archers
					stacks = 2
				}
				men_at_arms = {
					type = ballista
					stacks = 1
				}
				location = province:11709
				origin = province:11709
			}
			spawn_army = {
				name = event_troop_default_name
				men_at_arms = {
					type = steppe_raiders
					stacks = 6
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = cataphract_archers
					stacks = 2
				}
				men_at_arms = {
					type = ballista
					stacks = 1
				}
				location = province:11709
				origin = province:11709
			}
			spawn_army = {
				name = event_troop_default_name
				men_at_arms = {
					type = steppe_raiders
					stacks = 6
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = cataphract_archers
					stacks = 2
				}
				men_at_arms = {
					type = ballista
					stacks = 1
				}
				location = province:11709
				origin = province:11709
			}
			spawn_army = {
				name = event_troop_default_name
				men_at_arms = {
					type = steppe_raiders
					stacks = 6
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = cataphract_archers
					stacks = 2
				}
				men_at_arms = {
					type = ballista
					stacks = 1
				}
				location = province:11709
				origin = province:11709
			}
		}
	}
	1076.1.1 = {	add_concubine = nn_xiao_tansi	}
	1079.1.1 = {	add_concubine = nn_xiao_woletai	}
	1101.2.12 = {	death = yes	}
}

nn_yelu_baoxin = {
	name= "Baoxin"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	#unknown mother
	1035.6.1 = {	birth = yes	}	#Unsure
	1049.1.1 = {	death = yes	}	#probably died young
}

nn_yelu_heluwo = {
	name= "Heluwo"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	mother = nn_xiao_dali
	1041.11.1 = {	birth = yes	}
	1101.2.12 = {	death = yes	}
}

nn_yelu_alian = {
	name= "Alian"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	mother = nn_xiao_dali
	1043.1.1 = {	birth = yes	}	#Unknown
	1087.7.1 = {	death = yes	}
}

nn_yelu_baqin = {
	name= "Baqin"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	mother = nn_xiao_dali
	1045.1.1 = {	birth = yes	}	#Unknown
	1087.7.1 = {	death = yes	}	#Unknown
}

nn_yelu_wolitai = {
	name= "Wolitai"
	female = yes
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194332	#Liao Xingzong
	mother = nn_xiao_dali
	1047.1.1 = {	birth = yes	}	#Unknown
	1098.7.1 = {	death = yes	}	#Unknown
}

#son of Yelü Heluwo
nn_yelu_chun = {
	name= "Chun"  #Liao Xuanzong of the northern Liao
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_yelu_heluwo	#Yelu Heluwo, brother of Liao Daozong
	1063.1.1 = {	birth = yes	}
	1122.1.1 = {	death = yes	}
}
#end of son of Yelü Heluwo

nn_yelu_liang = {
	name= "Liang"
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	1008.1.1 = {	birth = yes	}
	1067.1.1 = {	death = yes	}
}

#children of Daozong
194401 = {
	name = "Jun"	#son of Liao Daozong, father of Liao Tianzuodi. Murdered at 20, before becoming emperor
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = charming	#starts at 8yo in 1066
	father = 194333	#Liao Daozong
	mother = 194402
	1057.5.5 = {	birth = yes	}
	1058.1.1 = {	create_betrothal = character:nn_xiao_guyu	}
	1073.5.5 = {	#so he has adult traits in history, past 1066
		remove_trait = charming
		add_trait = generous
		add_trait = just
		add_trait = humble
		add_trait = education_diplomacy_3
	}
	1077.6.6 = {	death = yes	}
}

nn_yelu_sage_DZ = {
	name = "Sage"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194333	#Liao Daozong
	mother = 194402
	1059.1.1 = {	birth = yes	}	#Unknown
	1077.1.1 = {	death = yes	}	#Unsure, around 1075-1080
}

nn_yelu_jiuli_DZ = {
	name = "Jiuli"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194333	#Liao Daozong
	mother = 194402
	1060.1.1 = {	birth = yes	}	#Unknown
	1089.1.1 = {	death = yes	}	#possibly
}

nn_yelu_teri_DZ = {
	name = "Teri"
	female = yes
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194333	#Liao Daozong
	mother = 194402
	1062.1.1 = {	birth = yes	}	#Unknown
	1131.1.1 = {	death = yes	}	#Unknown
}

#child of Yelü Jun
194334 = {
	name = "Yanxi"  #Liao Tianzuo, last of the "original" Liao
	dynasty = 1045082 #Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194401	#Yelü Jun, son of Liao Daozong
	mother = nn_xiao_guyu
	1075.6.5 = {	birth = yes	}
	1128.6.6 = {	death = yes	}
}

#children of Liao Tianzuo (abridged)
nn_yelu_aoluwo = {
	name = "Aoluwo"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1090.1.1 = {	birth = yes	}	#Unknown, <1094
	1122.1.1 = {	death = yes	}
}

nn_yelu_yali = {
	name = "Yali"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1094.1.1 = {	birth = yes	}
	1123.1.1 = {	death = yes	}
}

nn_yelu_talu = {
	name = "Talu"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1095.1.1 = {	birth = yes	}	#Unknown
	1104.1.1 = {	death = yes	}
}

nn_yelu_xinilie = {
	name = "Xinilie"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1096.1.1 = {	birth = yes	}	#Unknown
	1123.1.1 = {	death = yes	}	#Unsure
}

nn_yelu_ding = {
	name = "Ding"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1097.1.1 = {	birth = yes	}	#Unknown
	1124.1.1 = {	death = yes	}	#Unknown
}

nn_yelu_ning = {
	name = "Ning"
	dynasty = 1045082 # Liao Dynasty
	religion = "avatamsaka"
	culture = khitan
	father = 194334	#Liao Tianzuo
	1100.1.1 = {	birth = yes	}	#Unknown
	1122.1.1 = {	death = yes	}	#Unknown
}

################################################
## Shulu/Xiao clan

nn_xiao_shura = {		#Fictional, to populate the Xiao clan
	name = "Shura"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_shennu
	mother = nn_yelu_shuge
	998.1.1 = {	birth = yes	}	#Unknown
	1069.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_sheni = {		#Fictional, to populate the Xiao clan
	name = "Sheni"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_shennu
	mother = nn_yelu_shuge
	1014.1.1 = {	birth = yes	}
	1073.1.1 = {	death = yes	}
}

nn_xiao_fengdi = {
	name = "Fengdi"	#fictional name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_hengde
	mother = nn_yelu_yanshou_JZ
	995.1.1 = {	birth = yes	}	#Unknown
	1055.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_pidi = {
	name = "Pidi"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_hengde
	mother = nn_yelu_yanshou_JZ
	996.1.1 = {	birth = yes	}	#Unknown
	1032.1.1 = {	death = yes	}
}

nn_xiao_shi = {
	name = "Shi"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_paiya
	mother = nn_yelu_changshou_JZ
	1000.1.1 = {	birth = yes	}	#Unknown
	1069.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_pili = {
	name = "Pili"	#AKA Xiao Shaozong
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_jixian
	mother = nn_yelu_guanyin_JZ
	985.1.1 = {	birth = yes }	#Unknown
	1012.1.1 = {	add_spouse = nn_yelu_yange	}
	1040.1.1 = {	death = yes	}	#Unknown, after 1026 and before 1045
}

nn_xiao_QIN = {
	name = "Qin"	#Unknown name, using her concubine name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_jixian
	mother = nn_yelu_guanyin_JZ
	987.1.1 = {	birth = yes }	#Unknown
	1043.1.1 = {	death = yes	}	#Unknown, after 1026 and before 1045
}

nn_xiao_QI = {
	name = "Qi"	#Unknown name, using her concubine name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_jixian
	mother = nn_yelu_guanyin_JZ
	988.1.1 = {	birth = yes }	#Unknown
	1051.1.1 = {	death = yes	}	#Unknown, possibly after 1045
}

nn_xiao_piri = {
	name = "Piri"	#Unknown name
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_jixian
	mother = nn_yelu_guanyin_JZ
	1007.1.1 = {	birth = yes }	#Unknown
	1071.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_hui = {
	name = "Hui"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_jixian
	mother = nn_yelu_guanyin_JZ
	1020.1.1 = {	birth = yes }	#Unknown
	1040.1.1 = {	add_spouse = nn_yelu_shuogu	}
	1074.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_sanqian = {
	name = "Sanqian"	#1st queen to Liao Xingzong
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_pili
	mother = nn_yelu_yange
	1006.1.1 = {	birth = yes }	#Unknown
	1075.1.1 = {	death = yes	}
}

194402 = {
	name = "Guanyin"	#aka empress Yide, married to Liao Daozong
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = gregarious
	trait = calm
	trait = just
	trait = education_learning_3
	father = nn_xiao_hui
	mother = nn_yelu_shuogu
	1040.1.1 = {	birth = yes }
	1075.12.13 = {	death = yes	}
}

nn_xiao_taokai = {
	name = "Taokai"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	970.1.1 = {	birth = yes }	#Unknown
	1040.1.1 = {	death = yes	}	#Unknown
}

#Family of Xiao Xiaomu
nn_xiao_xiaomu = {
	name = "Xiaomu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_diplomacy_3
	father = nn_xiao_taokai
	990.1.1 = {	birth = yes }	#Unknown
	1043.1.1 = {	death = yes	}
}

nn_xiao_gaojiu = {
	name = "Gaojiu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_taokai
	1000.1.1 = {	birth = yes }	#Unknown
	1040.1.1 = {	add_spouse = nn_yelu_shige	}
	1068.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_ala = {
	name = "Ala"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	trait = content
	trait = diligent
	trait = education_stewardship_4
	culture = khitan
	father = nn_xiao_xiaomu
	1015.1.1 = {	birth = yes }	#Unknown
	1061.1.1 = {	death = yes	}
}

nn_xiao_dali = {	#Empress Renyi, queen to Liao Xingzong
	name = "Dali"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = generous
	trait = forgiving
	trait = beauty_good_1
	father = nn_xiao_xiaomu
	1016.1.1 = {	birth = yes	}	#Unknown
	1076.3.11 = {	death = yes	}
}

nn_xiao_dewen = {
	name = "Dewen"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = humble
	trait = generous
	trait = content
	father = nn_xiao_ala
	1031.1.1 = {	birth = yes }	#Unknown
	1075.3.1 = {	death = yes	}	#Unknown
}

nn_xiao_yuliye = {
	name = "Yuliye"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_ala
	1045.1.1 = {	birth = yes }	#Unknown
	1063.1.1 = {	add_spouse = nn_yelu_wolitai	}
	1083.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_tansi = {
	name = "Tansi"	#concubine to Liao Daozong
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_ala
	1047.1.1 = {	birth = yes }	#Unknown
	1118.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_woletai = {
	name = "Woletai"	#concubine to Liao Daozong
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_ala
	1048.1.1 = {	birth = yes }	#Unknown
	1100.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_xiamo = {
	name = "Xiamo"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = calm
	father = nn_xiao_ala	#Unsure, some docs mention him as Xiao Dewen's son, but most clues indicate he was Ala's
	1050.1.1 = {	birth = yes }	#Unknown
	1075.1.1 = {	add_spouse = nn_yelu_sage_DZ	}
	1076.7.1 = {	death = yes	}
}

nn_xiao_choubo = {
	name = "Choubo"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = calm
	father = nn_xiao_dewen
	1062.1.1 = {	birth = yes }
	1090.1.1 = {	add_spouse = nn_yelu_teri_DZ	}
	1116.3.1 = {	death = yes	}
	#father of Xiao Zhonggong (1090-1150) and Xiao Zhongxuan
}

nn_xiao_wuluba = {
	name = "Wuluba"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = calm
	father = nn_xiao_dewen
	1063.1.1 = {	birth = yes }	#Unknown
	1099.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_shuli = {
	name = "Shuli"	#aka Zhonggong
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = education_stewardship_3
	father = nn_xiao_choubo
	mother = nn_yelu_teri_DZ
	1090.1.1 = {	birth = yes }
	1150.3.1 = {	death = yes	}
}
#End of family of Xiao Ala

nn_xiao_shuzhe = {
	name = "Shuzhe"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_gaojiu
	mother = nn_yelu_shige
	1040.1.1 = {	birth = yes }	#Unknown
	1097.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_shuyinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Shuyin"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_gaojiu
	mother = nn_yelu_shige
	1042.1.1 = {	birth = yes }	#Unknown
	1108.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_taboye = {
	name = "Taboye"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_shuzhe
	1061.1.1 = {	birth = yes }	#Unknown
	1113.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_xiaonian = {
	name = "Xiaonian"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1005.1.1 = {	birth = yes }	#Unknown
	1026.1.1 = {	add_spouse = nn_yelu_cuiba	}
	1063.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_cuibiFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Cuibi"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_xiaonian
	mother = nn_yelu_cuiba
	1029.1.1 = {	birth = yes }	#Unknown
	1084.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_yangliu = {
	name = "Yangliu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1010.1.1 = {	birth = yes }	#Unknown
	1029.1.1 = {	add_spouse = nn_yelu_taoge	}
	1070.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_yangeFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Yange"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_yangliu
	mother = nn_yelu_taoge
	1030.1.1 = {	birth = yes }	#Unknown
	1078.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_yangliyinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Yangliyin"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_yangliu
	mother = nn_yelu_taoge
	1037.1.1 = {	birth = yes }	#Unknown
	1105.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_shuanggu = {
	name = "Shuanggu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1015.1.1 = {	birth = yes }	#Unknown
	1033.1.1 = {	add_spouse = nn_yelu_tianni	}
	1067.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_duhe = {
	name = "Duhe"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_shuanggu
	mother = nn_yelu_tianni
	1034.1.1 = {	birth = yes }	#Unknown
	1081.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_dulyinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Dulyin"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_shuanggu
	mother = nn_yelu_tianni
	1037.1.1 = {	birth = yes }	#Unknown
	1100.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_lian = {
	name = "Lian"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1019.1.1 = {	birth = yes }	#Unknown
	1036.1.1 = {	add_spouse = nn_yelu_jiuge	}
	1069.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_lijiuFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Lijiu"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_lian
	mother = nn_yelu_jiuge
	1038.1.1 = {	birth = yes }	#Unknown
	1091.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_gu = {
	name = "Gu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1020.1.1 = {	birth = yes }	#Unknown
	1037.1.1 = {	add_spouse = nn_yelu_changshou	}
	1079.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_gudiFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Gudi"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_gu
	mother = nn_yelu_changshou
	1037.1.1 = {	birth = yes }	#Unknown
	1097.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_kulie = {
	name = "Kulie"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1024.1.1 = {	birth = yes }	#Unknown
	1042.1.1 = {	add_spouse = nn_yelu_taige	}
	1082.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_kujinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Kujin"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_kulie
	mother = nn_yelu_taige
	1043.1.1 = {	birth = yes }	#Unknown
	1102.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_tailinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Tailin"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_kulie
	mother = nn_yelu_taige
	1045.1.1 = {	birth = yes }	#Unknown
	1110.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_tuyu = {
	name = "Tuyu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1025.1.1 = {	birth = yes }	#Unknown
	1043.1.1 = {	add_spouse = nn_yelu_saige	}
	1090.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_wangliu = {
	name = "Wangliu"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1026.1.1 = {	birth = yes }	#Unknown
	1045.1.1 = {	add_spouse = nn_yelu_xingge	}
	1089.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_wangiFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Wangi"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_wangliu
	mother = nn_yelu_xingge
	1045.1.1 = {	birth = yes }	#Unknown
	1104.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_wanyinFIC = {	#Fictional, to populate the Xiao family in 1066
	name = "Wanyin"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	father = nn_xiao_wangliu
	mother = nn_yelu_xingge
	1048.1.1 = {	birth = yes }	#Unknown
	1117.1.1 = {	death = yes	}	#Unknown
}

nn_xiao_yixin = {
	name = "Yixin"
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	trait = ambitious
	trait = greedy
	trait = deceitful
	trait = intellect_good_2
	trait = shrewd
	trait = schemer
	trait = education_intrigue_4
	1030.1.1 = {	birth = yes	}	#Unknown
	1083.1.1 = {	death = yes	}
}

nn_xiao_guyu = {	#Empress Zhenshun, queen to Yelü Daozong (father of Liao Tianzuodi)
	name = "Guyu"
	female = yes
	dynasty = nn_dyn_shulu	#Shulü, becomes Xiao clan during LIAO dynasty
	religion = "avatamsaka"
	culture = khitan
	1059.1.1 = {	birth = yes	}	#Unknown
	1078.3.11 = {	death = yes	}	#Unsure, likely between 1077 and 1083
}

#Qara Khitai Xiao
188906 = {
	name = "Tabuyan_5854_4E0D_7159"
	female = yes
	dynasty = nn_dyn_shulu
	religion = avatamsaka
	culture = khitan
	1110.1.1 = {	birth = yes	}
	1160.1.1 = {	death = yes	}
}

188909 = {
	name = "Wolila_65A1_91CC_524C"
	dynasty = 214010
	religion = avatamsaka
	culture = khitan
	martial = 5
	diplomacy = 5
	intrigue = 6
	stewardship = 10
	learning = 8
	prowess = 10
	trait = education_martial_3
	trait = just
	trait = callous
	trait = vengeful
	trait = lifestyle_hunter
	dna = bookmark_nomads_duolubu_188910
	1116.1.1 = {
		birth = yes
	}
	1177.1.1 = {
		effect = {
			add_trait = kinslayer_2
			add_hook = {
				target = character:188912
				type = strong_influence_hook
			}
		}
	}
	1206.1.1 = {
		death = yes
	}
}

188910 = {
	name = "Duolubu_6735_9B6F_4E0D"
	dynasty = 214010
	religion = avatamsaka
	culture = khitan
	father = 188909 # Wolila_65A1_91CC_524C
	trait = trusting
	trait = diligent
	trait = education_martial_2
	intrigue = 6
	1139.1.1 = {
		birth = yes
	}
	1174.1.1 = {
		death = {
			death_reason = death_execution
			killer = 188908
		}	
	}
}

188911 = {
	name = "Puguzhi_6A38_53E4_53EA"
	dynasty = 214010
	religion = avatamsaka
	culture = khitan
	father = 188909 # Wolila_65A1_91CC_524C
	1142.1.1 = {	birth = yes	}
	1177.1.1 = {
		death = { death_reason = death_execution killer = 188909 } # Wolila
	}
}
#End of Qara Khitai Xiao

################################################
## Other Khitans
nn_LIAObai_zhaoyi = {
	name = "Zhaoyi"	#Probably not her actual name
	female = yes
	dynasty = nn_dyn_LIAObai	#A Bai family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1000.1.1 = {	birth = yes }	#Unknown
	1067.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_yide = {
	name = "Yide"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1011.1.1 = {	birth = yes }	#Unknown
	1049.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_erxuan = {
	name = "Erxuan"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1015.1.1 = {	birth = yes }	#Unknown
	1072.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_sangu = {
	name = "Sangu"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1017.1.1 = {	birth = yes }	#Unknown
	1038.1.1 = {	add_spouse = nn_yelu_bage	}
	1073.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_banseFIC = {
	name = "Banse"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_sangu	#Liu Sangu
	mother = nn_yelu_bage
	1038.1.1 = {	birth = yes }	#Unknown
	1087.1.1 = {	death = yes	}	#Unknown
}
nn_LIAOliu_sangeFIC = {
	name = "Sange"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_sangu	#Liu Sangu
	mother = nn_yelu_bage
	1040.1.1 = {	birth = yes }	#Unknown
	1091.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_sanyinFIC = {
	name = "Sanyin"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	female = yes
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_sangu	#Liu Sangu
	mother = nn_yelu_bage
	1042.1.1 = {	birth = yes }	#Unknown
	1108.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_siduan = {
	name = "Siduan"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1019.1.1 = {	birth = yes }	#Unknown
	1041.1.1 = {	add_spouse = nn_yelu_baishi	}
	1068.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_siyinFIC = {
	name = "Siyin"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	female = yes
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_siduan	#Liu Siduan
	mother = nn_yelu_baishi
	1041.1.1 = {	birth = yes }	#Unknown
	1091.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_sagaFIC = {
	name = "Saga"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	female = yes
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_siduan	#Liu Siduan
	mother = nn_yelu_baishi
	1043.1.1 = {	birth = yes }	#Unknown
	1100.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_siliuFIC = {
	name = "Siliu"	#fictional, to populate the dynasty and have Yelu-Liu characters in 1066
	female = yes
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_siduan	#Liu Siduan
	mother = nn_yelu_baishi
	1045.1.1 = {	birth = yes }	#Unknown
	1099.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_wuchang = {
	name = "Wuchang"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1020.1.1 = {	birth = yes }	#Unknown
	1057.1.1 = {	death = yes	}	#Unknown
}

nn_LIAOliu_liufu = {
	name = "Liufu"
	dynasty = nn_dyn_LIAOliu	#A Liu family from the LIAO empire
	religion = "avatamsaka"
	culture = khitan
	father = nn_LIAOliu_shenxing	#Liu Shenxing of the LIAO
	1022.1.1 = {	birth = yes }	#Unknown
	1077.1.1 = {	death = yes	}	#Unknown
}

################################################
## Qara Khitai
188905 = {
	name = "Dashi_5927_77F3" #aka Emperor Tianyou, or Dezong, of Western Liao
	dynasty = 1045082 # Liao Dynasty, possibly just an unrelated general
	religion = avatamsaka
	culture = khitan
	father = nn_yelu_qara_7 # Malu
	1087.1.1 = {	birth = yes	}
	1130.1.1 = { 	add_spouse = 188906	} # Tabuyan
	1143.1.1 = {
		#name = "Tianyou_5929_7950"
		death = yes
	}
}

188907 = {
	name = "Yilie_5937_5217" #aka Emperor Jing, or Renzong, of Western Liao
	dynasty = 1045082 # Liao Dynasty, possibly just an unrelated general
	religion = avatamsaka
	culture = khitan
	father = 188905	# Liao Dezong
	mother = 188906 # Tabuyan
	1134.1.1 = {	birth = yes	}
	1163.1.1 = {
		#name = "Jing_666F"
		death = yes
	}
}

188908 = {
	name = "Pusuwan_666E_901F_5B8C"
	female = yes
	dynasty = 1045082 # Liao Dynasty, possibly just an unrelated general
	religion = avatamsaka
	culture = khitan
	father = 188905
	mother = 188906 # Tabuyan
	1140.1.1 = {	birth = yes	}
	1160.1.1 = {	add_spouse = 188910	}	#Xiao Duolu
	1177.1.1 = {
		#name = "Chengtian_627F_5929"
		death = { death_reason = death_execution killer = 188909 } # Wolila
	}
}

nn_qarakhitai_Zhilie = {
	name = "Zhilie_76F4_5217"	#unknown name
	dynasty = 1045082 # Liao Dynasty, possibly just an unrelated general
	religion = avatamsaka
	culture = khitan
	trait = bossy	#starts at 8yo in 1178 / killed his own brother
	trait = rowdy	#starts at 8yo in 1178 / killed his own brother
	father = 188907	# Yilie / Renzong
	1162.1.1 = {	birth = yes	}	#Unknown
	1177.6.1 = {	death = yes	}	#Unknown, around Pusuwan's death
}

188912 = {
	name = "Zhilugu_76F4_9B6F_53E4"	#last of the Liao-born Qara Khitai emperors
	dynasty = 1045082 # Liao Dynasty, possibly just an unrelated general
	religion = avatamsaka
	culture = khitan
	father = 188907	# Yilie / Renzong
	1165.1.1 = {	birth = yes	}
	1178.10.1 = {
		# Khitan army
		create_maa_regiment = {
			type = nomad_lancers
			check_can_recruit = no
			title = title:e_kara_khitai
			size = 3
		}
		create_maa_regiment = {
			type = heavy_horse_archers
			check_can_recruit = no
			title = title:e_kara_khitai
			size = 3
		}
		create_maa_regiment = {
			type = steppe_raiders
			check_can_recruit = no
			title = title:e_kara_khitai
			size = 3
		}
		create_maa_regiment = {
			type = steppe_raiders
			check_can_recruit = no
			title = title:e_kara_khitai
			size = 3
		}
		create_maa_regiment = {
			type = steppe_raiders
			check_can_recruit = no
			title = title:e_kara_khitai
			size = 3
		}
	}
	1213.1.1 = {	death = yes	}
}

188913 = {
	name="Sokhatai" # name made up
	female=yes
	dynasty=214009
	religion=avatamsaka
	culture=khitan
	father=188912

	1190.1.1={
		birth=yes
	}
	1218.1.1={
		death=yes
	}
}
