set_leader_SAU = {

	if = { limit = { has_country_flag = set_Vilayat_e_Faqih }

		if = { limit = { check_variable = { Vilayat_e_Faqih_leader = 0 } }
			add_to_variable = { Vilayat_e_Faqih_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Abdelkarim Hussein Mohamed Al-Nasser"
				picture = "abdelkarim_hussein_mohamed_al_nasser.dds"
				ideology = Vilayat_e_Faqih
				traits = {
					emerging_Vilayat_e_Faqih
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Vilayat_e_Faqih_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
		if = { limit = { check_variable = { Vilayat_e_Faqih_leader = 1 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Vilayat_e_Faqih_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Abdelkarim Hussein Mohamed al-Nasser"
				picture = "abdelkarim_hussein_mohamed_al_nasser.dds"
				ideology = Vilayat_e_Faqih
				traits = {
					emerging_Vilayat_e_Faqih
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Vilayat_e_Faqih_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Caliphate }
		if = { limit = { check_variable = { Caliphate_leader = 0 } }
			add_to_variable = { Caliphate_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Osama bin Laden"
				picture = "osama_bin_laden.dds"
				ideology = Caliphate
				traits = {
					salafist_Caliphate
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
		if = { limit = { check_variable = { Caliphate_leader = 1 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Caliphate_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Ayman Mohammed Rabie al-Zawahiri"
				picture = "Ayman_Al_Zawahiri.dds"
				ideology = Caliphate
				traits = {
					salafist_Caliphate
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Caliphate_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Neutral_Muslim_Brotherhood }
		if = { limit = { check_variable = { Neutral_Muslim_Brotherhood_leader = 0 } }
			add_to_variable = { Neutral_Muslim_Brotherhood_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Dr Sa'ad Al-Faqih"
				picture = "dr_saad_al_faqih.dds"
				ideology = Neutral_Muslim_Brotherhood
				traits = {
					neutrality_Neutral_Muslim_Brotherhood
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_Muslim_Brotherhood_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
	}
	else_if = { limit = { has_country_flag = set_Kingdom }
		if = { limit = { check_variable = { Kingdom_leader = 0 } }
			add_to_variable = { Kingdom_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Fahd bin Abdulaziz Al-Saud"
				picture = "Fahd_bin_Abdulaziz_Al-Saud.dds"
				ideology = Kingdom
				traits = {
					king
					salafist_Kingdom
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } }
			if = { limit = { date < 2016.1.2 } set_temp_variable = { b = 1 } } #skip if 2017
		}
		if = { limit = { check_variable = { Kingdom_leader = 1 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Kingdom_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Salman bin Abdulaziz Al-Saud"
				picture = "Salman_bin_Abdulaziz_Al_Saud.dds"
				ideology = Kingdom
				traits = {
					king
					salafist_Kingdom
					alzheimer
					incapable
					greedy
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		if = { limit = { check_variable = { Kingdom_leader = 2 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Kingdom_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Muhammad bin Nayef Al-Saud"
				picture = "Muhammad_bin_Nayef_Al_Saud.dds"
				ideology = Kingdom
				traits = {
					king
					salafist_Kingdom
					capable
					cautious
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		if = { limit = { check_variable = { Kingdom_leader = 3 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Kingdom_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Mohammad bin Salman Al-Saud"
				picture = "Mohammad_bin_Salman_Al_Saud.dds"
				ideology = Kingdom
				traits = {
					king
					salafist_Kingdom
					pro_al_qaeda
					greedy
					rash
					inexperienced
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
		if = { limit = { check_variable = { Kingdom_leader = 4 } NOT = { check_variable = { b = 1 } } }
			add_to_variable = { Kingdom_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Bandar bin Sultan Al-Saud"
				picture = "Bandar_bin_Sultan_Al_Saud.dds"
				ideology = Kingdom
				traits = {
					king
					salafist_Kingdom
					pro_al_qaeda
					sly
					geopolitical_thinker
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Kingdom_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_liberalism }
		if = { limit = { check_variable = { liberalism_leader = 0 } }
			add_to_variable = { liberalism_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Khaled al-Johani "
				picture = "khaled_al_johani.dds"
				ideology = liberalism
				traits = {
					western_liberalism
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { liberalism_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Mod_Vilayat_e_Faqih }
		if = { limit = { check_variable = { Mod_Vilayat_e_Faqih_leader = 0 } }
			add_to_variable = { Mod_Vilayat_e_Faqih_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Dr. Abdullah al-Salim"
				picture = "abdullah_al_salim.dds"
				ideology = Mod_Vilayat_e_Faqih
				traits = {
					emerging_Vilayat_e_Faqih
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Mod_Vilayat_e_Faqih_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
	else_if = { limit = { has_country_flag = set_Neutral_green }
		if = { limit = { check_variable = { Neutral_green_leader = 0 } }
			add_to_variable = { Neutral_green_leader = 1 }
			hidden_effect = { kill_country_leader = yes }

			create_country_leader = {
				name = "Green Reformist"
				picture = "generic.dds"
				ideology = Neutral_green
				traits = {
					neutrality_Neutral_green
				}
			}

			if = { limit = { has_country_flag = do_not_retire } subtract_from_variable = { Neutral_green_leader = 1 } }
			set_temp_variable = { b = 1 }
		}
	}
}