# Seperate file for Seljuks 


144011 = {
	name = "Malikshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 41701
	mother = 34263
	1096.1.1 = {
		birth = yes
	}
	1116.10.1 = { # 1116, after Battle of Poimanenon
		trait = blind # Blinded by his brother Masud
	}
	1116.10.1 = { # 1116, after Battle of Poimanenon
		death = {
			death_reason = death_murder # Strangled by his brother Masud throug
			killer = 7299 #
		}
	}
}

144012 = {
	name = "Mahmud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3042
	mother = extra_karakhanids_11
	1072.1.1 = {
		birth = yes
	}
	1094.1.1 = {
		death = yes
	}
}

144013 = {
	name = "Berkyaruq"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3042
	mother = 1000229907 # PDX COME ON! You literally had her in the files!
	1079.1.1 = {
		birth = yes
	}
	1105.3.1 = {
		death = yes
	}
}

144014 = {
	name = "Mohammed"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3042
	mother = SeljukmalikshahkipchakconcubinewifeABBC1 # Son of Taceddin Seferiyye Hatun
	1081.1.1 = {
		birth = yes
	}
	1118.4.18 = {
		death = yes
	}
}

144015 = {
	name = "Sanjar"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3042
	mother = SeljukmalikshahkipchakconcubinewifeABBC1 # Son of Taceddin Seferiyye Hatun
	1085.1.1 = {
		birth = yes
	}
	1157.5.8 = {
		death = yes
	}
}

144020 = {
	name = "Radwan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3044
	1079.1.1 = {
		birth = yes
	}
	1113.1.1 = {
		death = yes
	}
}

144021 = {
	name = "Alp_Arslan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144020
	1096.1.1 = {
		birth = yes
	}
	1114.1.1 = { # 1114
		death = {
			death_reason = death_murder # Murdered
		}
	}
}

144022 = {
	name = "Sultan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144020
	1108.1.1 = {
		birth = yes
	}
	1123.1.1 = {
		death = yes
	}
}

144023 = {
	name = "Duqaq"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3044
	1080.1.1 = {
		birth = yes
	}
	1104.6.1 = {
		death = yes
	}
}

144024 = {
	name = "Tutush"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144023
	1103.1.1 = {
		birth = yes
	}
	1105.1.1 = {
		death = yes
	}
}

144025 = {
	name = "Kerman_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3041
	1041.1.1 = {
		birth = yes
	}
	1074.1.1 = {
		death = yes
	}
}

144026 = {
	name = "Sultan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3041
	1042.1.1 = {
		birth = yes
	}
	1075.1.1 = {
		death = yes
	}
}

144027 = {
	name = "Turan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3041
	1037.1.1 = {
		birth = yes
	}
	1097.1.1 = {
		death = yes
	}
}

144028 = {
	name = "Iran_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144027
	1067.1.1 = {
		birth = yes
	}
	1101.1.1 = {
		death = yes
	}
}

144034 = {
	name = "Arslanshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144025
	1072.1.1 = {
		birth = "1072.1.1"
	}
	1142.1.1 = {
		death = "1142.1.1"
	}
}

144035 = {
	name = "Mehmed"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144034
	1092.1.1 = {
		birth = "1092.1.1"
	}
	1156.1.1 = {
		death = "1156.1.1"
	}
}

144036 = {
	name = "Togrulshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144035
	1120.1.1 = {
		birth = "1120.1.1"
	}
	1169.1.1 = {
		death = "1169.1.1"
	}
}

144037 = {
	name = "Bahramshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144036
	1140.1.1 = {
		birth = "1140.1.1"
	}
	1174.1.1 = {
		death = "1174.1.1"
	}
}

144038 = {
	name = "Arslanshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144036
	1141.1.1 = {
		birth = "1141.1.1"
	}
	1176.1.1 = { # 1176/7
		death = {
			death_reason = death_battle # Died due to his wounds taken in battle against his brother Turan Şah
			killer = 215674 # He may have been killed by Theodoros Laskaris or instead a Frankish mercenary
		}
	}
}

144039 = {
	name = "Turanshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144036
	1142.1.1 = {
		birth = "1142.1.1"
	}
	1183.1.1 = {
		death = "1183.1.1"
	}
}

144040 = {
	name = "Muhammad_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144037
	1160.1.1 = {
		birth = "1160.1.1"
	}
	1220.1.1 = {
		death = "1220.1.1"
	}
}

144043 = {
	name = "Mahmud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144014
	1104.1.1 = {
		birth = "1104.1.1"
	}
	1131.1.1 = {
		death = "1131.1.1"
	}
}

144048 = {
	name = "Dawud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144043
	mother = SeljukgreatseljukgreatseljukwifeABBC1 # Son of Gevher Neseb or her sister Mah Melek, daughter of Ahmad Sanjar
	1120.1.1 = {
		birth = "1120.1.1"
	}
	1132.1.1 = {
		death = "1132.1.1"
	}
}

144049 = {
	name = "Mas_ud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144014
	1108.1.1 = {
		birth = "1108.1.1"
	}
	1152.10.2 = {
		death = "1152.10.2"
	}
}

144050 = {
	name = "Togrul"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144014
	1109.1.1 = {
		birth = "1109.1.1"
	}
	1137.1.1 = {
		death = "1137.1.1"
	}
}

144053 = {
	name = "Malik_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144043
	mother = SeljukgreatseljukgreatseljukwifeABBC2 # Son of Mah Melek or Amir Sitti, daughter of Ahmad Sanjar
	1128.1.1 = {
		birth = "1128.1.1" # Born c. 1128
	}
	1160.3.25 = { # 25 March 1160 
		death = {
			death_reason = death_poison # Poisoned
		}
	}
}

144054 = {
	name = "Muhammed"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144043
	1123.1.1 = {
		birth = "1123.1.1"
	}
	1159.10.1 = {
		death = "1159.10.1" # Died 1159 after July/August, five months after his marriage which was possibly before July/August
	}
}

144055 = {
	name = "Arslan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144050
	1136.1.1 = {
		birth = "1136.1.1"
	}
	1175.12.31 = {
		death = "1175.12.31"
	}
}

144056 = {
	name = "Togrul"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 144055
	1169.1.1 = {
		birth = "1169.1.1"
	}
	1194.3.1 = {
		death = "1194.3.1"
	}
}

225000 = {
	name = "Kilij_Arslan"
	dna = "bookmark_kilij_arslan_225000"
	dynasty_house = house_seljuk
	martial = 7
	diplomacy = 8
	intrigue = 6
	stewardship = 8
	religion = "maturidi"
	culture = "turkmen"
	trait = lustful
	trait = cynical
	trait = hunchbacked # He was recorded as hunchbacked and his skeleton confirms it
	trait = giant # Same study shows that he stood at 1.83 m which, for CK3's time period would be very tall so making him a giant
	trait = education_martial_2
	father = 7299
	1132.1.1 = {
		birth = "1132.1.1"
	}
	1178.1.1 = {
		give_nickname = nick_izz_al_din
		effect = {
			spawn_army = {
				name = event_troop_default_name
				levies = 350
				men_at_arms = {
					type = steppe_raiders
					stacks = 3
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = tarkhan
					stacks = 1
				}
				men_at_arms = {
					type = trebuchet
					stacks = 2
				}
				location = province:759
				origin = province:759
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 350
				men_at_arms = {
					type = steppe_raiders
					stacks = 3
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = tarkhan
					stacks = 1
				}
				men_at_arms = {
					type = trebuchet
					stacks = 2
				}
				location = province:759
				origin = province:759
			}
			
			spawn_army = {
				name = event_troop_default_name
				levies = 350
				men_at_arms = {
					type = steppe_raiders
					stacks = 3
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = tarkhan
					stacks = 1
				}
				men_at_arms = {
					type = trebuchet
					stacks = 2
				}
				location = province:759
				origin = province:759
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 350
				men_at_arms = {
					type = steppe_raiders
					stacks = 3
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = tarkhan
					stacks = 1
				}
				men_at_arms = {
					type = trebuchet
					stacks = 2
				}
				location = province:759
				origin = province:759
			}
		}
	}
	1192.8.31 = {
		death = "1192.8.31" # Died end of August 1192
	}
}

225002 = {
	name = "Kaykhusraw"
	# AKA: Kay Kusrai
	dna = "bookmark_kilij_arslan_kaykhusraw_225002"
	dynasty_house = house_seljuk
	martial = 6
	diplomacy = 4
	intrigue = 8
	stewardship = 4
	religion = "maturidi"
	culture = "turkmen"
	trait = wrathful
	trait = education_learning_2
	father = 225000
	1166.1.1 = {
		birth = yes
	}
	#1199.1.1 = {
	#	employer = # WIP: He had been in several other places before he finally went to Constantinople
	#}
	1200.1.1 = { #He converts to Christianity at Constantinople, possibly there since 1200
		religion = "orthodox" #
	}
	1200.1.1 = {
		employer = 215503
	}
	1201.7.30 = {
		employer = 215037
	}
	1203.2.1 = { # 1203, perhaps around February
		employer = 232518 # Flees to his father-in-law's estate in 
	}
	1211.6.17 = { # Probably spring 1211, before 17 June
		death = {
			death_reason = death_battle # Died in Battle of Antioch on the Meander
			killer = 215674 # He may have been killed by Theodoros Laskaris or instead a Frankish mercenary
		}
	}
}

225004 = {
	name = "Suleyman"
	dna = "bookmark_kilij_arslan_suleyman_225004"
	dynasty_house = house_seljuk
	martial = 4
	diplomacy = 7
	intrigue = 7
	stewardship = 7
	religion = "maturidi"
	culture = "turkish"
	trait = calm
	trait = cynical
	trait = education_learning_2
	father = 225000
	1160.1.1 = {
		birth = yes
	}
	1204.6.1 = {
		death = yes # Died 1204 but possibly alive when Constantinople is taken by Latins
	}
}

3030 = {
	name = "Seljuk"
	dynasty_house = house_seljuk
	martial = 8
	diplomacy = 4
	stewardship = 5
	intrigue = 4
	learning = 3
	religion = "maturidi"
	culture = "turkish"
	trait = education_martial_4
	trait = wrathful
	trait = callous
	trait = arrogant
	trait = zealous
	trait = ambitious
	father = 1000230147
	960.1.1 = {
		birth = yes
	}
	1021.1.1 = {
		death = yes
	}
}

3032 = {
	name = "Arslan"
	dynasty_house = house_seljuk
	martial = 4
	diplomacy = 5
	intrigue = 4
	stewardship = 7
	religion = "maturidi"
	culture = "turkish"
	trait = education_learning_3
	father = 3030
	985.1.2 = {
		birth = "985.1.2"
	}
	1032.1.1 = { # 1032
		death = {
			death_reason = death_prison # Died in prison
			killer = 144127 # Imprisoned by Mahmud Ghaznavid, released by his son and successor Masud but later imprisoned again by him
		}
	}
}

3033 = {
	name = "Qutalmish"
	dynasty_house = house_seljuk
	martial = 6
	diplomacy = 5
	intrigue = 6
	stewardship = 7
	religion = "maturidi"
	culture = "turkish"
	trait = education_learning_3
	father = 3032
	1002.1.1 = {
		birth = yes
	}
	1037.1.1 = {
		add_spouse = extra_qutalmish_02
	}
	1063.12.7 = {
		death = { # Battle of Damghan
			killer = 3040
			death_reason = death_battle
		}
	}
}

3034 = {
	name = "Mikail"
	dynasty_house = house_seljuk
	martial = 6
	diplomacy = 8
	intrigue = 7
	stewardship = 5
	religion = "maturidi"
	culture = "turkish"
	trait = just
	trait = education_learning_3
	father = 3030
	990.1.2 = {
		birth = "990.1.2"
	}
	1039.1.2 = {
		death = "1039.1.2"
	}
}

3036 = {
	name = "Chagri-Beg"
	# AKA: Chagri
	dynasty_house = house_seljuk
	martial = 7
	diplomacy = 8
	intrigue = 4
	stewardship = 6
	religion = "maturidi"
	culture = "turkish"
	trait = chaste
	trait = education_learning_2
	father = 3034
	1006.1.2 = {
		birth = "1006.1.2"
	}
	1060.1.2 = {
		death = "1060.1.2"
	}
}

3038 = {
	name = "Tughril-Beg"
	# AKA: Tughril
	dynasty_house = house_seljuk
	martial = 4
	diplomacy = 6
	intrigue = 8
	stewardship = 6
	religion = "maturidi"
	culture = "turkish"
	trait = wrathful
	trait = education_diplomacy_2
	father = 3034
	1010.1.2 = {
		birth = "1010.1.2"
	}
	1063.9.4 = {
		death = "1063.9.4"
	}
}

3040 = {
	name = "Alp_Arslan"
	dynasty_house = house_seljuk
	martial = 10
	diplomacy = 8
	intrigue = 5
	stewardship = 7
	religion = "maturidi"
	culture = "turkish"
	trait = just
	trait = diligent
	trait = brave
	trait = calm
	trait = strong
	trait = education_martial_4
	father = 3036
	1029.1.1 = {
		birth = yes
	}
	1048.1.1 = {
		add_spouse = 3045
	}
	1050.1.1 = {
		add_spouse = extra_karakhanids_12
	}
	1051.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1060.1.1 = {
		effect = {
			add_gold = 1000
			add_prestige = 1000
		}
		add_pressed_claim = title:d_mesopotamia
		add_pressed_claim = title:c_bakriya
		add_pressed_claim = title:c_mayyafariqin
		add_pressed_claim = title:c_melitene
		add_pressed_claim = title:c_tall_basma
	}
	1063.1.1 = {
		add_spouse = extra_georgians_1 
	}
	1064.1.1 = {
		add_spouse = extra_seljuks_4
	}
	1066.9.14 = {
		add_character_flag = {
			flag = recent_nation_fracturing_faction_war
			years = faction_nation_fracturing_war_defeat_cooldown
		}

		effect = {
			random_character_war = {
				save_scope_as = starting_seljuk_war
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 200
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = tarkhan
					stacks = 2
				}
				men_at_arms = {
					type = heavy_horse_archers
					stacks = 2
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4855
				origin = province:4333
				war = scope:starting_seljuk_war
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 200
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = tarkhan
					stacks = 2
				}
				men_at_arms = {
					type = heavy_horse_archers
					stacks = 2
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4855
				origin = province:4333
				war = scope:starting_seljuk_war
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 300
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4855
				origin = province:4333
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 300
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = horse_archers
					stacks = 3
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4855
				origin = province:4333
			}
			
			spawn_army = {
				name = event_troop_default_name
				levies = 500
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4859
				origin = province:4333
			}
			spawn_army = {
				name = event_troop_default_name
				levies = 500
				men_at_arms = {
					type = steppe_raiders
					stacks = 5
				}
				men_at_arms = {
					type = mangonel
					stacks = 2
				}
				location = province:4859
				origin = province:4333
			}
			add_prestige = 3000
		}
	}
	1072.11.1 = {
		death = yes
	}
}

3041 = {
	name = "Qawurd"
	dynasty_house = house_seljuk
	martial = 7
	diplomacy = 4
	intrigue = 5
	stewardship = 8
	religion = "maturidi"
	culture = "turkish"
	trait = arrogant
	trait = temperate
	trait = disloyal 
	trait = ambitious 
	trait = education_martial_2
	father = 3036
	1022.1.2 = {
		birth = "1022.1.2"
	}
	1073.1.1 = { # Late 1072/Early 1073
		death = {
			death_reason = death_poison # Rebelled against his nephew Melikşah and poisoned or strangled after his capture 
			killer = 3050 # Melikşah wanted to spare him and exile him as governor to Umman but his vizier Nizam-ül-Mülk insisted he should be executed
		}
	}
}

3042 = {
	name = "Malik_Shah"
	dynasty_house = house_seljuk
	martial = 10
	diplomacy = 8
	intrigue = 8
	stewardship = 8
	religion = "maturidi"
	culture = "turkish"
	trait = rowdy
	trait = calm
	trait = humble
	trait = education_martial_2
	disallow_random_traits = yes
	father = 3040
	mother = 3045 #according to unconfirmed sources 
	1055.1.2 = {
		birth = "1055.1.2"
	}
	1060.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1066.9.1 = {
		add_spouse = extra_karakhanids_11 # Married c. 1065 to Terken Khatun, moved it slightly later 
	}
	1092.11.1 = {
		death = "1092.11.1"
	}
}

3044 = {
	name = "Tutush"
	dynasty_house = house_seljuk
	martial = 5
	diplomacy = 5
	intrigue = 5
	stewardship = 5
	religion = "maturidi"
	culture = "turkish"
	trait = greedy
	trait = diligent
	trait = cynical
	trait = education_martial_2
	father = 3040
	mother = 3045 #according to unconfirmed sources 
	1057.1.2 = {
		birth = "1057.1.2"
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1095.1.1 = {
		death = "1095.1.1"
	}
}

3046 = {
	name = "Suleyman" # Shah ibn Qutalmish
	dna = 3046_suleyman
	dynasty_house = house_seljuk
	martial = 4
	diplomacy = 8
	intrigue = 7
	stewardship = 11
	religion = "maturidi"
	culture = "turkish"

	# Education
	trait = education_martial_3

	# Personality Traits
	trait = brave
	trait = ambitious
	trait = gregarious

	# Other Traits
	trait = flexible_leader

	father = 3033 # Qutalmish
	mother = extra_qutalmish_02

	1046.1.1 = {
		birth = yes
	}
	1063.1.1 = {
		effect = {
			save_scope_as = suleyman
			character:3040 = { # Alp Arslan
				set_relation_rival = { reason = rival_killed_parent target = scope:suleyman }
			}
			set_landless_government_effect = yes
			add_character_flag = special_laamp_char
			add_character_flag = do_not_generate_starting_family
			add_opinion = {
				target = character:3040
				modifier = demanded_eviction_opinion
			}
		}
	}
	1086.6.4 = {
		death = yes # Died 4 June 1086
	}
}

41701 = {
	name = "Kilij_Arslan"
	# AKA: Kilij Arslan
	dynasty_house = house_seljuk
	martial = 5
	diplomacy = 7
	intrigue = 7
	stewardship = 7
	religion = "maturidi"
	culture = "turkmen"
	trait = education_martial_2
	father = 3046
	1079.1.1 = {
		birth = yes
	}
	1085.1.1 = {
		add_spouse = 34263
	}
	1107.7.13 = {
		death = "1107.7.13" # Died 13 July 1107
	}
}

7299 = {
	name = "Masud"
	dynasty_house = house_seljuk
	martial = 5
	diplomacy = 7
	intrigue = 7
	stewardship = 7
	religion = "maturidi"
	culture = "turkish"
	trait = education_martial_2
	father = 41701
	1095.1.1 = {
		birth = yes
	}
	1130.1.1 = {
		add_spouse = 34210
	}
	1155.4.1 = {
		death = yes
		give_nickname = nick_rukn_al_din
	}
}

34178 = {
	name = "Melik"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1155.1.1 = {
		birth = "1155.1.1"
	}
	1196.1.1 = {
		death = "1196.1.1" # Died 1195/7
	}
}

34179 = {
	name = "Mahmud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1157.1.1 = {
		birth = "1157.1.1"
	}
	1194.1.1 = { # Winter of 1193-1194
		death = {
			death_reason = death_murder # Killed by his brother Kutbeddin Melikşah
			killer = 34178
		}
	}
}

34180 = {
	name = "Tugrul" #Erzerum
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1158.1.1 = {
		birth = "1158.1.1"
	}
	1225.1.1 = {
		death = "1225.1.1"
	}
}

34181 = {
	name = "Kayser"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1158.1.1 = {
		birth = "1158.1.1"
	}
	1208.1.1 = {
		death = "1208.1.1"
	}
}

34182 = {
	name = "Masud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1159.1.1 = {
		birth = "1159.1.1"
	}
	1204.1.1 = { # 1204
		death = {
			death_reason = death_murder # Killed by his brother Süleyman II
			killer = 225004
		}
	}
}

34183 = {
	name = "Berkyaruk"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1161.1.1 = {
		birth = yes
	}
	1217.1.1 = {
		death = yes
	}
}

34184 = {
	name = "Argun"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1162.1.1 = {
		birth = yes
	}
	1218.1.1 = {
		death = yes
	}
}

34185 = {
	name = "Arslan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1163.1.1 = {
		birth = yes
	}
	1220.1.1 = {
		death = yes
	}
}

34186 = {
	name = "Sancar"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225000
	1164.1.1 = {
		birth = yes
	}
	1222.1.1 = {
		death = yes
	}
}

# Several conflicting infrormation regarding Kılıç Arslan III below, he is said to be 3 years old in 1204/5, said to be born in 1197, and born in 1184 
# that he had a son, no name given and that he had a daughter named Gevher, which is likely confusing him as the father of Gevher Nesibe, his aunt 
# who is the daughter of his grandfather Kılıç Arslan II

34187 = {
	name = "Kilij_Arslan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225004
	1184.1.1 = {
		birth = "1184.1.1" # Possibly born 1184
	}
	1205.6.1 = {
		death = "1205.6.1" # Died 1205, after living for sometime in Gevele castle after his deposition
	}
}

34188 = {
	name = "Kaykaus"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225002
	mother = MaurozomesseljukwifeABBC1
	1201.1.1 = {
		birth = "1201.1.1" # Born before 1204/5
	}
	1220.1.1 = {
		death = "1220.1.1"
	}
}

34189 = {
	name = "Kayqubad"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 225002
	mother = MaurozomesseljukwifeABBC1
	1202.1.1 = {
		birth = "1202.1.1" # Born before 1204/5
	}
	1237.5.31 = {
		death = "1237.5.31" # Died 31 May 1237
	}
}

34190 = {
	name = "Kaykhusraw"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34189
	mother = SeljukkaykhusrawIImotherABBC1
	1221.9.1 = {
		birth = "1221.9.1" # Parents married 1221
	}
	1237.1.1 = {
		add_spouse = 71856
	}
	1246.1.1 = {
		death = "1246.1.1"
	}
}

34191 = {
	name = "Kaykaus"
	dynasty_house = house_seljuk
	religion = "orthodox" # His mother may have baptised him as a child
	culture = "turkmen"
	father = 34190
	mother = KaykausIImotherABBC1
	1236.1.1 = {
		birth = "1236.1.1" # Born c. 1235
	}
	1280.1.1 = {
		death = "1280.1.1"
	}
}

34192 = {
	name = "Kilij_Arslan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34190
	1238.1.1 = {
		birth = "1238.1.1"
	}
	1266.1.1 = {
		death = "1266.1.1"
	}
}

34193 = {
	name = "Kayqubad"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34190
	mother = 71856
	1239.1.1 = {
		birth = "1239.1.1"
	}
	1257.1.1 = {
		death = "1257.1.1"
	}
}

34194 = {
	name = "Kaykhusraw"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34192
	1260.1.1 = {
		birth = "1260.1.1"
	}
	1284.1.1 = {
		death = "1284.1.1"
	}
}

34195 = {
	name = "Masud"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34191
	1260.1.1 = {
		birth = "1260.1.1"
	}
	1307.1.1 = {
		death = "1307.1.1"
	}
}

34196 = {
	name = "Kayqubad"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34193
	1255.1.1 = {
		birth = "1255.1.1"
	}
	1302.1.1 = {
		death = "1302.1.1"
	}
}

34211 = {
	name = "Alp_Arslan"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 7299
	1118.1.1 = {
		birth = "1118.1.1"
	}
	1154.1.1 = {
		death = "1154.1.1"
	}
}

34212 = {
	name = "Shahanshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 7299
	1133.1.1 = {
		birth = "1133.1.1"
	}
	1174.1.1 = {
		death = "1174.1.1"
	}
}

34213 = {
	name = "Sancar"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 7299
	1135.1.1 = {
		birth = "1135.1.1"
	}
	1195.1.1 = {
		death = "1195.1.1" # Died after 1186/7
	}
}

34214 = {
	name = "Argun"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34213
	1153.1.1 = {
		birth = "1153.1.1"
	}
	1203.1.1 = {
		death = "1203.1.1"
	}
}

34233 = {
	name = "Moghis" # Gıyâseddin Türkanşah
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkmen"
	father = 34180 # Son of Tuğrul and the daughter of Seyfettin Baytimur
	#mother = #
	1204.1.1 = {
		birth = "1204.1.1" # Born c. 1206
	}
	1219.1.1 = {
		add_spouse = 466518
	}
	1219.1.1 = {
		religion = "orthodox"
		name = "Demetre" # Took the name Demetre
	}
	1230.1.1 = {
		death = "1230.1.1"
	}
}

93117 = {
	name = "Muhammad" #Antioch
	dynasty_house = house_seljuk #Seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3040
	mother = extra_karakhanids_12 #not attested, just a guess 
	1058.1.1 = {
		birth = "1058.1.1"
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1092.1.1 = {
		death = "1092.1.1"
	}
}

93118 = {
	name = "Yaghi_Sian" #Antioch
	dynasty_house = house_seljuk #Seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 93117
	1074.1.1 = {
		birth = "1074.1.1"
	}
	1098.6.3 = {
		death = "1098.6.3"
	}
}

93119 = {
	name = "Shams_ed-Din" #Antioch
	dynasty_house = house_seljuk #Seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 93118
	1090.1.1 = {
		birth = "1090.1.1"
	}
	1098.6.3 = {
		death = "1098.6.3"
	}
}

93120 = {
	name = "Buldagis" #Antioch
	dynasty_house = house_seljuk #Seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 93118
	1091.1.1 = {
		birth = "1091.1.1"
	}
	1098.6.3 = {
		death = "1098.6.3"
	}
}

93121 = {
	name = "Arslan_Argun" #Khwarezm
	dynasty_house = house_seljuk #Seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	1045.1.1 = {
		birth = "1060.1.1"
	}
	1097.1.1 = {
		death = "1097.1.1"
	}
}

93122 = {
	name = "Uthman" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	1025.1.1 = {
		birth = "1025.1.1"
	}
	1073.1.1 = {
		death = "1073.1.1"
	}
}

93123 = {
	name = "Ilyas"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	1028.1.1 = {
		birth = "1028.1.1"
	}
	1078.1.1 = {
		death = "1078.1.1"
	}
}

93124 = {
	name = "Ismail" #Sistan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	1050.1.1 = {
		birth = "1050.1.1"
	}
	1100.1.1 = {
		death = "1100.1.1"
	}
}

93125 = {
	name = "Ahmad" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3042
	mother = extra_karakhanids_11
	1077.1.1 = {
		birth = "1077.1.1"
	}
	1098.1.1 = {
		death = "1098.1.1"
	}
}

93126 = {
	name = "Seljuk_Shah" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144014
	1102.1.1 = {
		birth = "1102.1.1"
	}
	1152.1.1 = {
		death = "1152.1.1"
	}
}

93127 = {
	name = "Malik_Shah" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 93126
	1122.1.1 = {
		birth = "1122.1.1"
	}
	1161.1.1 = {
		death = "1161.1.1"
	}
}

93128 = {
	name = "Toghan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3040
	mother = extra_karakhanids_12
	1056.1.1 = {
		birth = "1056.1.1"
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1100.1.1 = {
		death = "1100.1.1"
	}
}

93129 = {
	name = "Arslan_Shah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3040
	mother = extra_karakhanids_12 #not attested, just a guess 
	1056.6.1 = {
		birth = "1056.6.1"
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1110.1.1 = {
		death = "1110.1.1"
	}
}

93130 = {
	name = "Suleyman" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	1027.1.1 = {
		birth = "1027.1.1"
	}
	1080.1.1 = {
		death = "1080.1.1"
	}
}

93160 = {
	name = "Yaquti" #Sistan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3036
	martial = 8
	trait = education_martial_3
	trait = holy_warrior
	1028.1.1 = {
		birth = "1028.1.1"
	}
	1080.1.1 = {
		death = "1080.1.1"
	}
}

93161 = {
	name = "Muhammad" #Merv
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 93122
	1047.1.1 = {
		birth = "1047.1.1"
	}
	1098.1.1 = {
		death = "1098.1.1"
	}
}

93434 = {
	name = "Baqtash" # Bektaş, Ertaş
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 3044
	1088.1.1 = {
		birth = "1088.1.1" # Perhaps Born c. 1092 or maybe an adult by 1104
	}
	1105.1.1 = { # 1104/5
		death = {
			death_reason = death_prison # Sent to Isfahan to be put in prison, possibly died in prison in same year
		}
	}
}

1000229900 = {
	name = "Yunus" #Son of Seljuk
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3030
	989.1.2 = {
		birth = yes
	}
	1033.1.2 = {
		death = yes
	}
}
1000229901 = {
	name = "Mu_sa_Yabghu" #Son of Seljuk holds d_sistan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	trait = "just"
	father = 3030
	994.1.2 = {
		birth = yes
	}
	1090.1.2 = {
		death = yes
	}
}
1000229902 = {
	name = "Ebra_hi_m_Ena_l" #Son of Mikail b. Seljuk
	dynasty_house = house_seljuk
	martial = 6
	diplomacy = 8
	intrigue = 7
	stewardship = 5
	religion = "maturidi"
	culture = turkish #turkmen
	trait = "just"
	#trait = "scholarly_theologian"
	father = 3034
	1012.1.2 = {
		birth = yes
	}
	1059.7.29 = { # 29 July 1059
		death = {
			death_reason = death_execution # Strangled with a bowstring
			killer = 3038 # Strangled by Tuğrul
		}
	}
}

1000229903 = {
	name = "Er-Tash" #Son of Mikail b. Seljuk
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3034
	1018.1.2 = {
		birth = yes
	}
	1049.1.2 = {
		death = yes
	}
}
1000229904 = {
	name = "Mas_u_d" #Son of Er-Tash b. Mikail b. Seljuk
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1000229903
	1037.1.2 = {
		birth = yes
	}
	1083.1.2 = {
		death = yes
	}
}
1000229905 = {
	name = "Maudu_d" #Son of Er-Tash b. Mikail b. Seljuk
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1000229903
	1041.1.2 = {
		birth = yes
	}
	1093.1.2 = {
		death = yes
	}
}
1000229907 = {
	name = "Zubaida_Khatun" #wife of Malik Shah mother of BerkYaruq, bt. Yaquti b. Chaghri Beg
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 93160
	mother = fictional_daylamites_2
	1056.1.2 = {
		birth = yes
	}
	1070.1.1 = {
		add_spouse = 3042
	}
	1093.1.2 = {
		death = yes
	}
}
1000229908 = {
	name = "Da_ud" #son of Malik Shah and Jalᬩyya Khatun
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3042
	mother = extra_karakhanids_11
	1075.1.1 = {
		birth = yes
	}
	1082.1.1 = {
		death = yes
	}
}
1000229909 = {
	name = "Inanch_Yabghu" #Son of Musa Yabghu, emir in Tabarestan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1000229901
	1020.1.2 = {
		birth = yes
	}
	1088.1.2 = {
		death = yes
	}
}
1000229910 = {
	name = "Arslan_Khatun" #daughter b. Chaghri Beg, wife of al-Qᩭ and then later of 'Alᠡl-Daula 'Al𒱡kúyid
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3036
	1045.1.2 = {
		birth = yes
	}
	1093.1.2 = {
		death = yes
	}
}

1229911 = {
	name = "A_isha" #spouse of Nasr Shams al-Mulk Qarakhanid
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #oghuz
	trait = "patient"
	father = 3040
	mother = 3045 #according to unconfirmed sources 
	1049.1.1 = {
		birth = yes
		culture = turkish #turkmen
	}
	1064.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1065.1.1 = { #?
		add_spouse = 3016
	}
	1073.1.1 = {
		death = {
			death_reason = death_execution
			killer = 3016
		}
	}
}

1229915 = {
	name = "Tughril" #Son of Ebrâhîm înâl b. Mikâîl b. Seljuk, governor of c_nakhsheb
	dynasty_house = house_seljuk
	martial = 6
	stewardship = 6
	religion = "maturidi"
	culture = turkish #oghuz
	father = 1000229902
	1048.1.2 = {
		birth = yes
		culture = turkish #turkmen
	}
	1099.1.2 = {
		death = yes
	}
}

1229919 = {
	name = "Safiya" #sister of Alp Arslan
	female = yes
	dynasty_house = house_seljuk
	culture = turkish #oghuz
	religion = "maturidi"
	father = 3036
	1041.1.1 = {
		birth = yes
		culture = turkish #turkmen
	}
	1070.2.2 = {
		add_spouse = 3822
	}
	1097.1.1 = {
		death = yes
	}
}
1229921 = {
	name = "Ayaz" #son of Alp Arslan governor of Balkh
	dynasty_house = house_seljuk
	culture = turkish #turkmen
	religion = "maturidi"
	father = 3040
	mother = extra_karakhanids_12 #not attested, just a guess 
	1052.1.1 = {
		birth = yes
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1073.7.7 = {
		death = yes
	}
}
1229922 = {
	name = "Tekish" #son of Alp Arslan governor of Balkh
	dynasty_house = house_seljuk
	culture = turkish #turkmen
	religion = "maturidi"
	father = 3040
	mother = 3045 #according to unconfirmed sources 
	1054.1.1 = {
		birth = yes
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1094.1.1 = {
		death = {
			death_reason = death_murder
			killer = 144013
		}
	}
}
1229923 = {
	name = "Ahmad" #son of Tekish b.Alp Arslan - since 1084 governor of Balkh
	dynasty_house = house_seljuk
	culture = turkish #turkmen
	religion = "maturidi"
	father = 1229922
	1071.1.1 = {
		birth = yes
	}
	1094.1.1 = {
		#add_trait = "blinded"
	}
	1099.1.1 = {
		death = {
			death_reason = death_dungeon
			killer = 144013
		}
	}
}
1229924 = {
	name = "Bo_ri_Bars" #son of Alp Arslan governor of Herat, Gharchistan and Ghor
	dynasty_house = house_seljuk
	culture = turkish #oghuz
	religion = "maturidi"
	father = 3040
	mother = extra_karakhanids_12 #not attested, just a guess 
	1055.10.10 = {
		birth = yes
		culture = turkish #turkmen
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1096.1.1 = {
		death = {
			death_reason = death_execution
			killer = 93121
		}
	}
}
1229925 = {
	name = "Alp_Arghun" #son of Arslan Arghun governor of Balkh 1097
	dynasty_house = house_seljuk
	culture = turkish #turkmen
	religion = "maturidi"
	father = 93121
	1084.1.1 = {
		birth = yes
	}
	1135.1.1 = {
		death = yes
	}
}

# 2 sons of Qutlumush who defected to Fatimids
1229926 = {
	name = "Alp_Ilig"
	dynasty_house = house_seljuk
	martial = 6
	diplomacy = 8
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3033 # Qutalmish
	mother = extra_qutalmish_02
	1040.1.1 = {
		birth = yes
	}
	1064.1.1 = {
		#employer = 1232179
	}
	1066.1.1 = {
		employer = 3046
	}
	1075.1.1 = {
		religion = ismaili
		employer = 3096
	}
	1084.1.1 = {
		death = yes
	}
}
1229927 = {
	name = "Daulab"
	dynasty_house = house_seljuk
	martial = 8
	religion = "maturidi"
	culture = turkish #oghuz
	father = 3033
	mother = extra_qutalmish_02
	1042.1.2 = {
		birth = yes
		culture = turkish #turkmen
	}
	1064.1.1 = {
		#employer = 1232179
	}
	1066.1.1 = {
		employer = 3046
	}
	1075.1.1 = {
		religion = ismaili
	}
	1090.1.1 = {
		death = yes
	}
}

1229937 = {
	name = "Rasultegin" #cousin of Tughril Beg who held Istakhr ca. 1058-? (coins minted in his name in 1062)
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #oghuz
	father = 1000229900 #?
	1025.1.2 = { #?
		birth = yes
		culture = turkish #turkmen
	}
	1079.1.2 = { #?
		death = yes
	}
}

1229939 = {
	name = "Kha_tu_n-e-Kerma_ni"
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkmen #turkmen
	father = 144036
	1160.1.1 = {
		birth = yes
	}
	1187.1.1 = {
		add_spouse = 93256
	}
	1199.1.1 = {
		death = yes
	}
}

### more Seljuks
1229946 = {
	name = "Terken_Khatun" #Sultan Sanjar's sister, mother of Mahmúd Khan, a Karakhanid who was chosen to be ruler of Khorasan while Sanjar was imprisoned by the Ghuzz.
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3042
	1085.1.1 = {
		birth = yes
	}
	1101.1.1 = {
		add_spouse = 144111
	}
	1148.1.1 = {
		death = yes
	}
}
1229947 = {
	name = "Mengu_-Bars" #son of Böri Bars b.AlpArslan
	dynasty_house = house_seljuk
	culture = turkish #turkmen
	religion = "maturidi"
	father = 1229924
	1080.10.10 = {
		birth = yes
	}
	1120.1.1 = {
		death = yes
	}
}
1229948 = {
	name = "Saljuq_Shah" #b.Arslan Shah of Kerman, ruled in Oman
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144034
	1100.1.1 = {
		birth = yes
	}
	1158.1.1 = {
		death = yes
	}
}
1229949 = {
	name = "Isma_i_l" #emir in Arran and Azerbaijan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 93160
	mother = fictional_daylamites_2
	1058.1.2 = {
		birth = yes
	}
	1093.9.1 = {
		death = {
			death_reason = death_murder
			killer = 3079
		}
	}
}
1229950 = {
	name = "Maudu_d" #emir in Arran and Azerbaijan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1229949
	1078.1.2 = {
		birth = yes
	}
	1115.11.1 = {
		death = yes
	}
}
#Additional children of Muhammad b.Malik Shah
1229951 = {
	name = "Saljuq_Sha_h"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144014
	1108.6.6 = {
		birth = yes
	}
	1138.1.1 = { #?
		death = yes
	}
}
1229952 = {
	name = "ChaghrI_"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144014
	1107.6.6 = {
		birth = yes
	}
	1116.1.1 = {
		death = yes
	}
}

1229954 = {
	name = "Fa_tima"
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144014
	1110.6.6 = {
		birth = yes
	}
	1136.1.1 = {
		add_spouse = 144062
	}
	1166.1.1 = {
		death = yes
	}
}
1229955 = {
	name = "Malikshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144049
	1127.6.6 = {
		birth = yes
	}
	1178.2.4 = {
		death = yes # Died 5 February 1177/4 February 1178
	}
}
1229956 = {
	name = "Jauhar"
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 144049
	1135.1.1 = {
		birth = yes
	}
	1153.1.1 = {
		add_spouse = 144054
	}
	1166.1.1 = {
		death = yes
	}
}
1229957 = {
	name = "Suleima_n" #Son of Tughril b. Ebrâhîm înâl b. Mikâîl b. Seljuk
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1229915
	1066.1.2 = {
		birth = yes
	}
	1115.1.2 = {
		death = yes
	}
}
1229958 = {
	name = "Muhammad" #Son of Suleimân b.Tughril b. Ebrâhîm înâl b. Mikâîl b. Seljuk, claimant against BerkYaruq
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1229957
	1084.1.2 = {
		birth = yes
	}
	1125.1.2 = {
		death = yes
	}
}
1229959 = {
	name = "Jauhar_Khatun"
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3042
	1071.1.1 = {
		birth = yes
	}
	1082.1.1 = {
		add_spouse = 144134
	}
	1120.1.1 = {
		death = yes
	}
}
1229960 = {
	name = "Fulana" #Khatun al-'Isma
	female = yes
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3042
	mother = SeljukmalikshahkipchakconcubinewifeABBC1 # Daughter of Taceddin Seferiyye Hatun
	1081.6.6 = {
		birth = yes
	}
	1108.1.1 = {
		add_spouse = 3088
	}
	1135.1.1 = {
		death = yes
	}
}

turkish0001 = {
	name = "Qara-Arslan_Bori" #Son of Musa Yabghu, emir of Sistan
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 1000229901
	1023.1.2 = {
		birth = yes
	}
	1089.1.2 = {
		death = yes
	}
}
turkish0002 = {
	name = "Toghan-Shah" #son of Chaghri Beg, in Herat
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = turkish #turkmen
	father = 3036
	1046.1.2 = {
		birth = yes
	}
	1090.1.2 = {
		death = yes
	}
}

extra_seljuks_1 = {
	name = "Sifri"	
	dynasty_house = house_seljuk
	culture = "turkish"
	religion = "maturidi"	
	father = 3040
	mother = 3045
	female = yes
	1052.9.11 = {
		birth = yes
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1110.1.1 = {
		death = yes
	}
}

extra_seljuks_2 = {
	name = "Zuleikha"	
	dynasty_house = house_seljuk
	culture = "turkish"
	religion = "maturidi"	
	father = 3040
	mother = 3045 #according to unconfirmed sources 
	female = yes
	1062.2.10 = {
		birth = yes
	}
	1066.1.1 = {
		effect = {
			learn_language_of_culture = culture:persian
		}
	}
	1111.1.1 = {
		death = yes
	}
}

extra_seljuks_3 = {
	name = "Togrul"	
	dynasty_house = house_seljuk
	culture = "turkish"
	religion = "maturidi"	
	father = 3040
	mother = extra_seljuks_4
	1065.1.1 = {
		birth = yes
	}
	1090.1.1 = {
		death = yes
	}
}

extra_seljuks_4 = {
	name = "Akka_khatun"	
	culture = "turkish"
	religion = "maturidi"	
	female = yes 
	trait = brave
	trait = humble
	1040.1.1 = {
		birth = yes
	}
	1061.1.1 = {
		add_spouse = 3038
	}
	1090.1.1 = {
		death = yes
	}
}

extra_qutalmish_01 = {
	name = "Mansur"
	dynasty_house = house_seljuk
	martial = 8
	religion = "maturidi"
	culture = turkish #oghuz
	father = 3033 # Qutalmish
	mother = extra_qutalmish_02

	trait = brave
	trait = ambitious
	trait = fickle

	1038.1.1 = {
		birth = yes
	}
	1066.1.1 = {
		employer = 3046
	}
	1070.1.1 = {
		death = yes
	}
}

seljuk_1 = {
	name = "Tarkanshah"
	dynasty_house = house_seljuk
	religion = "maturidi"
	culture = "turkish"
	father = 144036
	1143.1.1 = {
		birth = yes
	}
	1193.1.1 = {
		death = yes
	}
}


## BAGRATUNI SELJUKS ##

71856 = {
	name = "Tamar"
	# AKA: Gurcu Hatun
	dynasty_house = house_seljuk
	female = yes
	religion = "orthodox"
	culture = "georgian"
	father = 34233
	mother = 466518
	1220.1.1 = {
		birth = "1220.1.1"
	}
	1237.1.1 = {
		name = "Gurcu"
		# AKA: Gurcu Hatun
		religion = "ashari"
		culture = "turkmen"
	}
	1286.1.1 = {
		death = "1286.1.1"
	}
}

144009 = {
	name = "Vakhtang"
	#dynasty = 507
	dynasty_house = house_bagratuniseljuk
	religion = "orthodox"
	culture = "georgian"
	father = 466519
	1267.1.1 = {
		birth = "1267.1.1"
	}
	1292.1.1 = {
		death = "1292.1.1"
	}
}

466519 = {
	name = "Davit"
	# AKA: Davit Narin
	#dynasty = 507
	dynasty_house = house_bagratuniseljuk
	martial = 4
	diplomacy = 5
	intrigue = 4
	stewardship = 5
	religion = "orthodox"
	culture = "georgian"
	trait = diligent
	trait = honest
	trait = education_intrigue_2
	trait = education_stewardship_2
	father = 34233
	mother = 466518
	1225.1.1 = {
		birth = "1225.1.1"
	}
	1293.1.15 = {
		death = "1293.1.15"
	}
}

466520 = {
	name = "Bagrat"
	# AKA: Bagrat 'Mtsire'
	#dynasty = 507
	dynasty_house = house_bagratuniseljuk
	martial = 8
	diplomacy = 5
	intrigue = 4
	stewardship = 5
	religion = "orthodox"
	culture = "georgian"
	trait = education_stewardship_2
	trait = lustful
	father = 466521
	1326.1.2 = {
		birth = "1326.1.2"
	}
	1376.1.2 = {
		death = "1376.1.2"
	}
}

466521 = {
	name = "Mikeli"
	#dynasty = 507
	dynasty_house = house_bagratuniseljuk
	martial = 6
	diplomacy = 4
	intrigue = 6
	stewardship = 7
	religion = "orthodox"
	culture = "georgian"
	trait = ambitious
	trait = education_martial_2
	father = 466519
	1269.1.2 = {
		birth = "1269.1.2"
	}
	1329.1.2 = {
		death = "1329.1.2"
	}
}