# -*- ck2.history.characters -*-


#Masmuda - Almohads (actually from the Kumya tribe of the Zanata)
#Characters: 1228885 - 1228899
#Characters: 1230000 - 1230100

224000 = {
	name="Yusuf" #1163-1184
	# AKA: Abu Ya'qub Yusuf
	dynasty=101875
	martial=7
	diplomacy=5
	intrigue=5
	stewardship=8
	religion="mahdiyya"
	culture="zanata"
	add_trait="just"
	add_trait="patient"
	add_trait="scholarly_theologian" #actively discussed theology with his entourage, adding more shape to the Almohad movement
	father=32978
	mother=1230054 #Zaynab, daughter of a Masmuda chief in Tinmal
	1138.1.1 = { #25 years old up on succession
		birth=yes
	}
	1163.1.1 = {
		add_trait="gregarious" #actively discussed theology with his entourage
	}
	1184.7.29 = {
		death={
			death_reason=death_battle
			killer=209503 # Afonso I de Borgonha
		}
	}
}

224005 = {
	name="Muhammad" #1199-1213
	dynasty=101875
	martial=4
	diplomacy=5
	intrigue=4
	stewardship=5
	religion="mahdiyya"
	culture="andalusian_arabic" #had a light skin
	trait="stutter" #suffered from a speech defect
	trait="tough_soldier"
	trait="shy" #tended to be silent and inscrutable
	father=32980
	#mother = #Zahr, Ya'qub's Christian concubine
	1182.1.1 = { #17 years old upon succession
		birth=yes
		culture="zanata"
	}
	1199.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Nasir"
	}
	1213.1.1 = {
		death={ death_reason=death_murder } #possibly by his courtiers
	}
}

155085 = {
	name="Umar" # Abi Hafs, governor of Tlemcen 1156-?, eventually his father's chief minister
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	mother=1230054 #Zaynab, daughter of a Masmuda chief in Tinmal
	trait="charismatic_negotiator" #secured the succession of his candidate Abu Ya'qub Yusuf and remained a powerful political figure until his death
	1118.1.1 = { #?
		birth=yes
	}
	1179.1.1 = {
		death=yes
	}
}

155086 = {
	name="Uthman" #Abu Sa'id, governor of Ceuta, Algeciras and Malaga 1156-? then Granada by 1160-at least 1163
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1138.1.1 = {
		birth="1138.1.1"
	}
	1196.1.1 = {
		death="1196.1.1"
	}
}

155087 = {
	name="Abd-'Allah" #Abu Muhammad b. Abd al-Mu'min, governor of Bijaya 1156-?
	dynasty=101875
	religion="sunni"
	culture="zanata"
	father=32978
	1120.1.1 = { #?
		birth="1120.1.1"
	}
	1121.1.1={
		religion="mahdiyya"
	}
	1165.1.1 = {
		death=yes
	}
}

155088 = {
	name="Ali" #Abu 'l-Hasan
	dynasty=101875
	religion="sunni"
	culture="zanata"
	father=32978
	1112.1.1 = { #?
		birth="1112.1.1"
	}
	1121.1.1={
		religion="mahdiyya"
	}
	1183.1.1 = { #? attested in 1176 (or supposedly died soon after his father's death?)
		death=yes
	}
}

#Masmuda - Barghawata
168275 = {
	name="Tarif"
	dynasty=9576
	religion="kharijite"
	culture="masmuda"
	690.1.1 = {
		birth="690.1.1"
	}
	744.1.1 = {
		death="744.1.1"
	}
}

168276 = {
	name="Salih"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168275
	720.1.1 = {
		birth="720.1.1"
	}
	792.1.1 = {
		death="792.1.1"
	}
}

168277 = {
	name="Ilyas"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168276
	775.1.1 = {
		birth="775.1.1"
	}
	842.1.1 = {
		death="842.1.1"
	}
}

168278 = {
	name="Yunus"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168277
	820.1.1 = {
		birth="820.1.1"
	}
	888.1.1 = {
		death="888.1.1"
	}
}

168279 = {
	name="Muhammad"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168278
	855.1.1 = {
		birth="855.1.1"
	}
	917.1.1 = {
		death="917.1.1"
	}
}

168280 = {
	name="Abdullah"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168279
	895.1.1 = {
		birth="895.1.1"
	}
	961.1.1 = {
		death="961.1.1"
	}
}

168281 = {
	name="Mansur"
	dynasty=9576
	religion="nabawiyya"
	culture="masmuda"
	father=168280
	939.1.1 = {
		birth="939.1.1"
	}
	989.1.1 = {
		death="989.1.1"
	}
}


168282 = {
	name="Ahmad"
	dynasty=9575
	religion="sunni"
	culture="sanhaja"
	father=168273
	900.1.1 = {
		birth="900.1.1"
	}
	945.1.1 = {
		death="945.1.1"
	}
}

#############################################################
#####################  Masmuda  #############################
#############################################################
# Almohads
32978 = {
	name="Abu-Muhammad" #Maghreb 1147-1163
	martial=10
	diplomacy=6
	intrigue=7
	stewardship=4 #no major reputation in this regard, at least compared to his son Yusuf
	dynasty=101875
	religion="sunni"
	culture="zanata" #Kumya tribe of the Zanata
	trait="brilliant_strategist" #created an empire stretching from the entire Maghreb to al-Andalus in just three decades
	trait="zealous"
	trait="ambitious" #was very thorough in securing hereditary rulership of the Almohad movement
	trait="lustful" #had a large harem + bonus to Intrigue is fitting
	trait="patient" #careful and strategic thinking in vanquishing the Almoravids and securing hereditary rulership
	1094.1.1={
		birth="1094.1.1"
	}
	1121.1.1={
		religion="mahdiyya"
		add_trait="shrewd" #certainly knew how to make use of his former enemies (e.g. Banu Hilal) and convince his former cohort (e.g. Abu Hafs Umar al-Hintati)
	}
	1130.1.1={
		name="Abd-al-Mu'min"
		add_claim = k_maghreb
		add_claim = d_tangiers
		add_claim = d_fes
		#add_claim = d_kabylia
		#add_claim = k_africa
		#add_claim = d_tunis
		#add_claim = d_tripolitania
		#add_claim = d_zaragoza
		#add_claim = d_valencia
		#add_claim = d_mallorca
		#add_claim = d_murcia
		#add_claim = d_toledo
		#add_claim = d_cordoba
		#add_claim = d_badajoz
		#add_claim = d_sevilla
		#add_claim = d_granada
	}
	1146.1.1={
		remove_claim = d_tangiers
		remove_claim = d_fes
	}
	1147.4.1={
		remove_claim = k_maghreb
		create_bloodline = {
			type = almohad
			has_dlc = "Holy Fury"
		}
	}
	1163.1.1={
		death="1163.1.1"
	}
}

32979 = {
	name="Muhammad" #eldest son of Abd al-Mu'min who was proclaimed heir apparent in 1155 but got sidelined just before his father's death
	dynasty=101875
	religion="sunni"
	culture="zanata"
	father=32978
	1110.1.1={ #?
		birth="1110.1.1"
	}
	1121.1.1={
		religion="mahdiyya"
	}
	1172.1.1={ #was still alive in 1171
		death=yes
	}
}

32980 = {
	name="Ya'qub" #1184-1199, Abu Yusuf
	martial=7
	stewardship=7
	dynasty=101875
	religion="mahdiyya"
	culture="zanata" #was supposedly dark-skinned despite her mother being a Christian concubine
	father=224000
	mother=1235518 #Sahir, Abu Ya'qub Yusuf's Christian concubine
	trait="skilled_tactician" #organized multiple successful military campaigns
	trait="diligent" #tried to work on as many things as possible, particularly early in his reign
	trait="just" #renowned for attention to the welfare his subjects
	trait="kind" #preferred to be among his soldiers when in campaign; regretted the arrest and execution of his brother and uncle til his death
	1160.1.1 = { #around 24 years old upon succession
		birth=yes
	}
	1184.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Mansur"
		add_trait="strategist" #talented organizer in both military and administrative matters
	}
	1199.1.23 = {
		death="1199.1.23"
	}
}

32981 = {
	name="Yusuf" #1213-1224
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224005
	1203.1.1 = { #10 years old upon succession
		birth=yes
	}
	1213.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Mustansir"
	}
	1224.1.1 = {
		death={ death_reason=death_accident } #possibly killed by his pet cow
	}
}

32982 = {
	name="Abdul-Wahid" #1224, previously governor of Malaga in 1202, Silves and Algarve ca. 1203, Sijilmasa before 1221, and Seville 1221-1224
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1163.1.1 = { #in his sixties upon succession
		birth=yes
	}
	1224.9.1 = {
		#name="al-Makhlu" #"the deposed," not a Caliphal title
		death={ death_reason=death_execution } #deposed and executed by the Almohads in the Maghreb
	}
}

32983 = {
	name="Abdallah" #1225-1227
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1175.1.1 = {
		birth="1175.1.1"
	}
	1224.9.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Adil"
	}
	1227.10.1 = {
		death={ death_reason=death_murder_drowning } #assassinated by his own men
	}
}

32984 = {
	name="Yahya" #1227-1235, also proclaimed caliph, based in Marrakech
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224005
	1205.1.1 = { #?
		birth=yes
	}
	1227.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Mu'tasim"
	}
	1236.1.1 = {
		death={
			death_reason=death_murder
			killer=32986
		}
	}
}

32985 = {
	name="Idris" #Abu 'l-Ala/Ula, 1227-1233
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	mother=1235100 #Safiyya b. Muhammad b. Mardanish
	1186.1.1 = {
		birth="1186.1.1"
	}
	1227.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Ma'mun"
	}
	1228.1.1 = {
		add_trait="sympathy_christendom" #al-Ma'mun recovers Marrakech with Castilian support, honoring the request to build a Christian church 
	}
	1232.10.1 = {
		death="1232.10.1"
	}
}

32986 = {
	name="Abdul-Wahid" #1233-1242
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32985
	#mother = #al-Habab
	1218.1.1 = { #14 years old upon succession
		birth="1218.1.1"
	}
	1232.10.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Rashid"
	}
	1242.1.1 = {
		death="1242.1.1"
	}
}

32987 = {
	name="Ali" #1242-1248
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32985
	1219.1.1 = { #?
		birth="1219.1.1"
	}
	1242.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Sa'id"
	}
	1248.1.1 = {
		death={
			death_reason=death_battle
			killer=33045
		}
	}
}

32988 = {
	name="Ishaq" #Abu Ibrahim, governor of Granada then Seville under al-Nasir; Fes 1213
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	mother=1235518 #Sahir, Abu Ya'qub Yusuf's Christian concubine
	1180.1.1 = {
		birth="1180.1.1"
	}
	1230.1.1 = { #died after 1225
		death="1230.1.1"
	}
}
32989 = {
	name="Umar" #1248-1266
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32988
	1210.1.1 = {
		birth="1210.1.1"
	}
	1248.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Murtada"
	}
	1266.1.1 = {
		death="1266.1.1"
	}
}

32990 = {
	name="Idris" #Abu Dabbus, 1266-1269
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1228891
	1218.1.1 = {
		birth="1218.1.1"
	}
	1266.1.1 = {
		effect = {
			set_character_flag = caliph_regnal_name_history_exception 
		}
		name="al-Wathiq"
	}
	1269.1.1 = {
		death={
			death_reason=death_battle
			killer=32997
		}
	}
}

32992 = {
	name="Imran Abu Musa" #governor of Ceuta ca. 1232, rebelled against his brother that year
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1183.1.1 = { #?
		birth="1183.1.1"
	}
	1229.1.1 = {
		name="al-Mu'ayyad" #proclaimed himself caliph
	}
	1235.1.1 = { #?
		death="1235.1.1"
	}
}

#############################################################
##################### SWMH Masmuda  #########################
#############################################################

1228885 = { #c_tharasset 1028-1030
	name="Muhammad" #b. Tumart
	dynasty=1000053593
	religion="sunni"
	culture="masmuda"
	father=1230013
	trait="scholarly_theologian"
	trait="zealous"
	trait="just"
	trait="diligent"
	1080.1.1 = {
		birth="1080.1.1"
	}
	1121.1.1 = { #Muhammad b. Tumart proclaimed mahdi
		religion="mahdiyya"
	}
	1130.1.1 = {
		death="1130.1.1"
	}
}
1228886 = {
	name="Ibrahim" #name fictional
	dynasty=9576
	religion="sunni"
	culture="masmuda"
	father=168281
	967.1.1 = {
		birth="967.1.1"
	}
	1019.1.1 = {
		death="1019.1.1"
	}
}
1228887 = {
	name="Muhammad" #name fictional
	dynasty=9576
	religion="sunni"
	culture="masmuda"
	father=1228886
	995.1.1 = {
		birth="995.1.1"
	}
	1056.1.1 = {
		death="1056.1.1"
	}
}
1228888 = {
	name="Yusuf" #name fictional
	dynasty=9576
	religion="sunni"
	culture="masmuda"
	father=1228887
	1026.1.1 = {
		birth="1026.1.1"
	}
	1090.1.1 = {
		death="1090.1.1"
	}
}
1228889 = {
	name="Ishaq" #name fictional
	dynasty=7276
	religion="mahdiyya"
	culture="masmuda"
	father=33024
	1245.1.1 = {
		birth="1245.1.1"
	}
	1292.1.1 = {
		death="1292.1.1"
	}
}
1228890 = {
	name="Ahmad" #name fictional
	dynasty=7276
	religion="sunni"
	culture="masmuda"
	father=1228889
	1265.1.1 = {
		birth="1265.1.1"
	}
	1309.1.1 = {
		death="1309.1.1"
	}
}
1228891 = {
	name="Muhammad" #Abu Abd Allah, governor of Majorca and later Valencia
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1164.1.1 = { #?
		birth=yes
	}
	1215.1.1 = { #?
		death=yes
	}
}
1228892={
	name="Ahmad Abu 'l-Abbas" #son of Abu Yahya Abu Bakr; governor of Qashtiliya 1335-?
	dynasty=7276
	religion="sunni"
	culture="masmuda"
	father=33032
	1298.1.1 = { #?
		birth="1298.1.1"
	}
	1347.1.1 = { #murdered by his brother Abu Hafs Umar
		death="1347.1.1"
	}
}
1228893={
	name="Abi-'Umran"
	dynasty=7276
	religion="sunni"
	culture="masmuda"
	father=33025 #fictional relation
	1253.1.1 = { #?
		birth="1253.1.1"
	}
	1306.1.1 = { #?
		death="1306.1.1"
	}
}
1228894={
	name="'Umar" #name fictional, only known by his nasab; Hafsid governor of Tripoli ca. 1311-1324, occupied Tunis Dec. 1329 - May 1330
	dynasty=7276
	religion="sunni"
	culture="masmuda"
	father=1228893
	1280.1.1 = { #?
		birth="1280.1.1"
	}
	1324.1.1 = {
		employer = 33049
	}
	1338.1.1 = { #?
		death="1338.1.1"
	}
}
161076 = {
	name="Kabayo"
	#placeholder
	dynasty=1030009
	religion="sunni"
	culture="masmuda"
	father=1144655
	1050.1.1={
		birth="1050.1.1"
	}
	
	1110.1.1={
		death="1110.1.1"
	}
}
1144655 = {
	name="Bassi"
	#placeholder
	dynasty=1030009
	religion="sunni"
	culture="masmuda"
	1023.1.1={
		birth="1023.1.1"
	}
	
	1066.1.1={
		death="1066.1.1"
	}
}
1228895={
	name="Adanis" #Led the Banu Danis family south, when they were expelled from Coimbra in 878 by Alfonso of Asturias, went first to Lisbon and then later to Alcacer do Sal
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"

	844.1.1 = { #birthdate unknown?
		birth=yes
	}
	902.1.1 = { #deathdate unknown?
		death=yes
	}
}
1228896={
	name="Masud" #son of Adanis, extended Banu Danis control over Lisbon and the entire Extremadura as Cordoba remained in turmoil
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"
	father=1228895
	869.1.1 = { #birthdate unknown?
		birth=yes
	}
	931.1.1 = { #deathdate unknown?
		death=yes
	}
}
1228897={
	name="Yahya" #brother of Masud and son of Adanis, named governor of Alcacer do Sal in 930 by Cordoba as the crown re-asserted control over far-flung provinces
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"
	father=1228895
	878.1.1 = { #birthdate unknown?
		birth=yes
	}
	945.1.1 = { #deathdate unknown?
		death=yes
	}
}
1228898={
	name="Umar" #brother of Yahya and Masud and son of Adanis, father of Abdallah who was made governor of Setubal in 930
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"
	father=1228895
	880.1.1 = { #birthdate unknown?
		birth=yes
	}
	927.1.1 = { #deathdate unknown?
		death=yes
	}
}
1228899={
	name="Abdallah" #nephew of Yahya ibn Adanis, was made governor of Setubal in 930 as Cordoba re-asserted its control over far-flung provinces
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"
	father=1228898
	916.1.1 = { #birthdate unknown?
		birth=yes
	}
	978.1.1 = { #deathdate unknown?
		death=yes
	}
}
1230000={
	name="Ahmad" #placeholder son of Yahya, so i dont have to give his province to Abdallah. The Banu Danis governors remained in place until 978, when Almanzor gained the Vizierate. He deposed the Banu Danis governors and used their cities as bases for campaigns against the north. Leading to the reconquest of Coimbra amongst many things
	dynasty=1001000001
	religion="sunni"
	culture="masmuda"
	father=1228897
	911.1.1 = { #birthdate unknown?
		birth=yes
	}
	978.1.1 = { #deathdate unknown?
		death=yes
	}
}
1230001={
	name="Abdallah" #placeholder ruler of Aghmat in 936
	religion="sunni"
	culture="masmuda"
	902.1.1 = {
		birth=yes
	}
	958.1.1 = {
		death=yes
	}
}
1230002={
	name="Salim"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	770.1.1 = { #?
		birth=yes
	}
	820.1.1 = { #?
		death=yes
	}
}
1230003={
	name="Mantil"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230002
	800.1.1 = { #?
		birth=yes
	}
	850.1.1 = { #?
		death=yes
	}
}
1230004={
	name="Ubayd-Allah"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230003 #?
	825.1.1 = { #?
		birth=yes
	}
	873.1.1 = { #?
		death=yes
	}
}
1230005={
	name="Muhammad"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230004
	850.1.1 = { #?
		birth=yes
	}
	900.1.1 = { #?
		death=yes
	}
}
1230006={
	name="Abd-Allah" #governor of Madrid ca. 929
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230005
	880.1.1 = { #?
		birth=yes
	}
	933.1.1 = { #?
		death=yes
	}
}
1230007={
	name="Yahya"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230003 #?
	835.1.1 = { #?
		birth=yes
	}
	885.1.1 = { #?
		death=yes
	}
}
1230008={
	name="Abd-Allah"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230007
	865.1.1 = { #?
		birth=yes
	}
	915.1.1 = { #?
		death=yes
	}
}
1230009={
	name="Ahmad" #governor of Madrid ca. 936
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230008
	895.1.1 = { #?
		birth=yes
	}
	936.11.1 = { #month unknown
		death={ death_reason=death_battle } #died in an ambush by Christians
	}
}
1230010={
	name="Abi-Isa"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230004 #?
	852.1.1 = { #?
		birth=yes
	}
	915.1.1 = { #?
		death=yes
	}
}
1230011={
	name="Abd-Allah"
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230010
	880.1.1 = { #?
		birth=yes
	}
	934.1.1 = { #?
		death=yes
	}
}
1230012={
	name="Ahmad" #governor of Madrid in 937
	dynasty=12294
	religion="sunni"
	culture="masmuda"
	father=1230011
	906.1.1 = { #?
		birth=yes
	}
	922.1.1 = {
		trait="erudite" #renowned for scientific knowledge
	}
	955.1.1 = { #?
		death=yes
	}
}
1230013 = {
	name="Tumart" 
	dynasty=1000053593
	religion="sunni"
	culture="masmuda"
	1055.1.1 = { #?
		birth=yes
	}
	1100.1.1 = { #?
		death=yes
	}
}
1230014 = {
	name="Yasin" #al-Hintati
	dynasty=1000101263
	religion="mahdiyya"
	culture="masmuda"
	father=1230047 #fictional relation
	1154.1.1={ #?
		birth=yes
	}
	1205.1.1={ #?
		death=yes
	}
}
1230015 = {
	name="Abu-Imran" #b. Yasin al-Hintati, governor of Murcia 1211
	dynasty=1000101263
	religion="mahdiyya"
	culture="masmuda"
	father=1230014
	1185.1.1={ #?
		birth=yes
	}
	1235.1.1={ #?
		death=yes
	}
}
1230016 = {
	name="Abu-Abdallah" #governor of Valencia under al-Mustansir
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1180.1.1 = { #?
		birth=yes
	}
	1233.1.1 = { #?
		death=yes
	}
}
1230017 = {
	name="Abdallah" #Abu Muhammad al-Bayyasi, cousin of al-Adil and governor of Cordoba 1224
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1228891
	1191.1.1 = { #?
		birth=yes
	}
	1226.6.1 = {
		death={ death_reason=death_rabble} #executed by the Cordovans
	}
}
1230018 = {
	name="Abu'l-Hasan" #governor of Granada during Abd al-Wahid's reign
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1184.1.1 = { #?
		birth=yes
	}
	1231.1.1 = { #?
		death=yes
	}
}
1230019 = {
	name="Abu'l-Rabi" #governor of Cordoba under al-Ma'mun
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32985 #?
	1208.1.1 = { #?
		birth=yes
	}
	1229.1.1 = {
		death={ death_reason=death_rabble } #killed by the Cordovans
	}
}
1230020 = {
	name="Abd-al-Rahman" #Abu Zayd, governor of Valencia; married Maria Ferrandic, and their daughter Alda became the first of the Arenos dynasty
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1228891
	1195.1.1 = { #?
		birth=yes
	}
	1236.1.1 = {
		secret_religion="catholic"
	}
	1264.1.1 = {
		religion="catholic"
		name="Vicente"
	}
	1269.1.1 = {
		death=yes
	}
}
1230021 = {
	name="Abd-al-Wahid" #b. Idris, elest son and caliph for 5 days; subsequently served as the Aragonese king's jenet
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32990
	1244.1.1 = { #?
		birth=yes
	}
	1276.1.1 = {
		employer = 460600 # Jaume I d'Arag
	}
	1276.7.27 = {
		employer = 460590 # Pere III d'Arag
	}
	1285.11.11 = {
		employer = 71739 # Alfons III d'Arag
	}
	1289.1.1 = {
		death={ death_reason=death_battle } #died in battle in North Africa
	}
}
1230022 = {
	name="'Uthman" #b. Idris
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32990
	1247.1.1 = { #?
		birth=yes
	}
	1276.1.1 = {
		employer = 460600 # Jaume I d'Arag
	}
	1276.7.27 = {
		employer = 460590 # Pere III d'Arag
	}
	1285.11.11 = {
		employer = 71739 # Alfons III d'Arag
	}
	1290.1.1 = {
		death=yes #died in Jerba
	}
}
1230023 = {
	name="Hasan" #b. Abu Zayd, Almohad caliph for 5 days before fleeing Marrakech
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230020
	1228.1.1 = { #?
		birth=yes
	}
	1236.1.1 = {
		religion="catholic"
		name="Alfonso"
	}
	1245.1.1 = {
		employer = 72363 # Knights of Santiago
	}
	1285.1.1 = { #?
		death=yes
	}
}
#Other brothers of 1230021: Abd al-Rahman and Muhammad, served as jenets for Aragon; attested in 1287
1230024 = {
	name="Abu-'Ali" #b. Muhammad b. Umar b. Abd al-Mu'min, governor of Taza under al-Sa'id and al-Murtada
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1228891
	1207.1.1 = { #?
		birth=yes
	}
	1256.1.1 = { #?
		death=yes
	}
}
1230025 = {
	name="Sulayman" # Abu 'l-Rabi b. Abd al-Mu'min, governor of Bedjaiya by 1184
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1144.1.1 = { #?
		birth=yes
	}
	1190.1.1 = { #?
		death=yes
	}
}
1230026 = {
	name="Isa" # Abu Musa b. Abd al-Mu'min, governor of Ifriqiya by 1184
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1142.1.1 = { #?
		birth=yes
	}
	1190.1.1 = { #?
		death=yes
	}
}
1230027 = {
	name="Abu-Abdallah" # b. Abd al-Mu'min, led the Almohad army in 1156-1159
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1127.1.1 = { #?
		birth=yes
	}
	1178.1.1 = { #?
		death=yes
	}
}
1230028 = {
	name="Ya'qub Abu Yusuf" # b. Abi Hafs, governor of Ifriqiya sometime before 1187 and Seville by 1189
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1153.1.1 = { #?
		birth=yes
	}
	1210.1.1 = { #?
		death=yes
	}
}
1230029 = {
	name="Abu-Zayd" # b. Abi Hafs, governor of Bijaya ca. 1185 and later Ifriqiya multiple times between 1188 and 1207
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1142.1.1 = { #?
		birth=yes
	}
	1207.1.1 = { #?
		death=yes
	}
}
1230030 = {
	name="Abu-Sa'id" # b. Abi Hafs, governor of Ifriqiya sometime before 1200
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1166.1.1 = { #?
		birth=yes
	}
	1220.1.1 = {
		death=yes
	}
}
1230031 = {
	name="Idris Abu 'l-Ala" # b. Abu Ya'qub Yusuf, governor of Seville and later Ifriqiya 1221-1224
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1165.1.1 = { #? was fairly old when he became the governor of Ifriqiya in 1221
		birth=yes
	}
	1224.1.1 = {
		death=yes
	}
}
1230032 = {
	name="Yunus Abu Ali" # b. Abi Hafs, Abu Sa'id's deputy in al-Mahdiyya ca. 1198
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1169.1.1 = { #?
		birth=yes
	}
	1221.1.1 = { #?
		death=yes
	}
}
1230033 = {
	name="Ali Abu 'l-Hasan" # b. Abi Hafs, governor of Tlemcen 1185-1208 and also Bijaya ca. 1200
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1150.1.1 = { #?
		birth=yes
	}
	1210.1.1 = { #?
		death=yes
	}
}
1230034 = {
	name="Umar Abu Hafs" # b. Abu Zayd b. Abi Hafs
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230029
	1162.1.1 = { #? was leading an army as early as in 1185
		birth=yes
	}
	1214.1.1 = { #?
		death=yes
	}
}
1230035 = {
	name="Abd-al-Rahman" # Abu Zayd b. Abu 'l-Ala, governor of Ifriqiya 1224-1226
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230031
	trait="arbitrary" #his tyranny is noted in the chronicles
	1193.1.1 = { #?
		birth=yes
	}
	1250.1.1 = { #?
		death=yes
	}
}
1230036 = {
	name="Abu-Ibrahim" #b. Abu Muhammad, b. Abu Muhammad b. Abu Hafs (Hafsid), deputy of his brother Abd Allah
	dynasty=7276
	religion="mahdiyya"
	culture="masmuda"
	father=33014
	1206.1.1={ #?
		birth=yes
	}
	1249.1.1={ #?
		death=yes
	}
}
1230037 = {
	name="Musa Abu Imran" # b. Abu Ya'qub Yusuf, governor of Tlemcen
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1174.1.1 = { #?
		birth=yes
	}
	1208.5.1 = { #sometime in 1208
		death={
			death_reason=death_battle
			killer=32977
		}
	}
}
1230038 = {
	name="Yahya"
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	1055.1.1={ #?
		birth=yes
	}
	1110.1.1={ #?
		death=yes
	}
}
1230039 = {
	name="Yujjan" #b. Yahya
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	father=1230038
	1096.1.1={ #?
		birth=yes
	}
	1140.1.1={ #?
		religion="mahdiyya"
	}
	1151.1.1={ #?
		death=yes
	}
}
1230040 = {
	name="Abd-al-Rahman" #Abu Zayd b. Yujjan, financial minister of Morocco and al-Andalus
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	father=1230039
	trait="fortune_builder"
	1130.1.1={ #?
		birth=yes
	}
	1140.1.1={ #?
		religion="mahdiyya"
	}
	1210.1.1={ #?
		death=yes
	}
}
1230041 = {
	name="Muhammad" #b. Abu Zayd b. Yujjan, governor of Fes and Tlemcen under al-Ma'mun
	dynasty=1000101263
	religion="mahdiyya"
	culture="masmuda"
	father=1230040
	1163.1.1={ #?
		birth=yes
	}
	1238.1.1={ #?
		death=yes
	}
}
1230042 = {
	name="Bannu" # b. Abd al-Mu'min, name fictional; the daughter who married Abu Abd Allah b. Wannudin al-Hintati
	female=yes
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1123.1.1 = { #?
		birth=yes
	}
	1186.1.1 = { #?
		death=yes
	}
}
1230043 = {
	name="Wannudin"
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	father=1230038 #?
	1076.1.1={ #?
		birth=yes
	}
	1140.1.1={ #?
		religion="mahdiyya"
	}
	1142.1.1={ #?
		death=yes
	}
}
1230044 = {
	name="Abu-Abdallah" # b. Wannudin, son-in-law of Abd al-Mu'min
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	father=1230043
	1120.1.1={ #?
		birth=yes
	}
	1140.1.1={ #?
		religion="mahdiyya"
		add_spouse=1230042
	}
	1185.1.1={ #?
		death=yes
	}
}
1230045 = {
	name="Wannudin" 
	dynasty=1000101263
	religion="mahdiyya"
	culture="masmuda"
	father=1230044 #?
	1157.1.1={ #?
		birth=yes
	}
	1213.1.1={ #?
		death=yes
	}
}
1230046 = {
	name="Abu-Abdallah" # b. Wannudin, governor of Fes, Ghumara, and the Gharb 1238-1240
	dynasty=1000101263
	religion="mahdiyya"
	culture="masmuda"
	father=1230045
	1193.1.1={ #?
		birth=yes
	}
	1247.1.1={ #?
		death=yes
	}
}
1230047 = {
	name="Yusuf" # b. Wannudin, one of the original followers of Ibn Tumart
	dynasty=1000101263
	religion="sunni"
	culture="masmuda"
	father=1230043
	1100.1.1={ #?
		birth=yes
	}
	1121.1.1={
		religion="mahdiyya"
	}
	1185.1.1={ #? attested as late as in 1182
		death=yes
	}
}
1230048 = {
	name="Yahya Abu Zakariya" # b. Abi Hafs, governor of Tlemcen (ca. 1184?) and later Fes sometime by 1185
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1148.1.1 = { #?
		birth=yes
	}
	1204.1.1 = { #?
		death=yes
	}
}
1230049 = {
	name="Abd-al-Aziz" #b. Tumart, governor of Seville ?-1154
	dynasty=1000053593
	religion="sunni"
	culture="masmuda"
	father=1230013 #half brother of Ibn Tumart
	1090.1.1 = { #?
		birth=yes
	}
	1121.1.1 = { #Muhammad b. Tumart proclaimed mahdi
		religion="mahdiyya"
	}
	1155.1.1 = {
		death={
			death_reason=death_execution
			killer=32978
		}
	}
}
1230050 = {
	name="Isa" #b. Tumart, governor of Seville ?-1154
	dynasty=1000053593
	religion="sunni"
	culture="masmuda"
	father=1230013 #half brother of Ibn Tumart
	1094.1.1 = { #?
		birth=yes
	}
	1121.1.1 = { #Muhammad b. Tumart proclaimed mahdi
		religion="mahdiyya"
	}
	1155.1.1 = {
		death={
			death_reason=death_execution
			killer=32978
		}
	}
}
1230051 = {
	name="Ibrahim Abu Ishaq" # b. Abd al-Mu'min, governor of Tlemcen ca. 1187
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1144.1.1 = { #?
		birth=yes
	}
	1188.1.1 = { #lynched by a mob following dismissal
		death={ death_reason=death_rabble }
	}
}
1230052 = {
	name="Umar" #Abu Hafs al-Rashid b. Abu Ya'qub Yusuf, governor of Murcia ca. 1188
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1160.1.1 = { #?
		birth=yes
	}
	1189.1.1 = {
		death={
			death_reason=death_execution
			killer=32980
		}
	}
}
1230053 = {
	name="Musa" #(or Muhammad?) Abd Allah b. Sulayman al-Darir, a Masmuda chief, qadi of Ansa; member of the Council of Fifty
	dynasty=1000053598
	religion="sunni"
	culture="masmuda"
	1070.1.1 = { #?
		birth=yes
	}
	1121.1.1 = {
		religion="mahdiyya"
	}
	1135.1.1 = { #?
		death=yes
	}
}
1230054 = {
	name="Zaynab" #mother of Abu Ya'qub Yusuf and Abi Hafs Umar b. Abd al-Mu'min
	female=yes
	dynasty=1000053598
	religion="sunni"
	culture="masmuda"
	father=1230053
	1100.1.1 = { #?
		birth=yes
	}
	1117.1.1 = {
		add_spouse=32978
	}
	1121.1.1 = {
		religion="mahdiyya"
	}
	1160.1.1 = {
		death=yes
	}
}
1230055 = {
	name="Ibrahim Abu Ishaq" # b. Abu Ya'qub Yusuf, governor of Seville ca. 1183, also ca. 1203
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1158.1.1 = { #?
		birth=yes
	}
	1215.1.1 = { #?
		death=yes
	}
}
1230056 = {
	name="Abu-Zayd" # al-Hardani b. Abu Ya'qub Yusuf, governor of Granada ca. 1183
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1161.1.1 = { #?
		birth=yes
	}
	1218.1.1 = { #?
		death=yes
	}
}
1230057 = {
	name="Abu-Yahya" # b. Abu Ya'qub Yusuf, governor of Cordoba ca. 1183 and Sevilla 1191-1195
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1159.1.1 = { #?
		birth=yes
	}
	1195.7.18 = { #killed at the Battle of Alarcos
		death={
			death_reason=death_battle
			killer=207510
		}
	}
}
1230058 = {
	name="Abdallah" # b. Abu Ya'qub Yusuf, governor of Murcia ca. 1183
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000
	1163.1.1 = { #?
		birth=yes
	}
	1220.1.1 = { #?
		death=yes
	}
}
1230059 = {
	name="Abu-Abdallah" # al-Hardani b. Abu Ya'qub Yusuf (?)
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=224000 #? possibly same mother (note "al-Hardani") as Abu Zayd
	1165.1.1 = { #?
		birth=yes
	}
	1216.1.1 = { #?
		death=yes
	}
}
1230060 = {
	name="Abu-Umran" # b. Abu Abd Allah al-Hardani, governor of Bijaya under al-Ma'mun
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230059
	1196.1.1 = { #?
		birth=yes
	}
	1245.1.1 = { #?
		death=yes
	}
}
1230061 = {
	name="Isa" # b. Abu Musa b. Abd al-Mu'min, governor of Murcia under al-Adil
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230026
	1180.1.1 = { #?
		birth=yes
	}
	1233.1.1 = { #?
		death=yes
	}
}
1230062 = {
	name="Isma'il Abu Ibrahim" # b. Abd al-Mu'min, governor of Sevile 1166
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1135.1.1 = { #?
		birth=yes
	}
	1184.1.1 = { #?
		death=yes
	}
}
1230063 = {
	name="al-Husayn" # Abu Ali b. Abd al-Mu'min, governor of Sevile 1176
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1143.1.1 = { #?
		birth=yes
	}
	1192.1.1 = { #?
		death=yes
	}
}
1230064 = {
	name="Ya'qub" # Abu Abd al-Rahman b. Abd al-Mu'min, governor of Murcia by 1182
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32978
	1149.1.1 = { #?
		birth=yes
	}
	1201.1.1 = { #?
		death=yes
	}
}
1230065 = {
	name="Tijit"
	dynasty=1000101264
	religion="sunni"
	culture="masmuda"
	1070.1.1 = { #?
		birth=yes
	}
	1120.1.1 = { #?
		death=yes
	}
}
1230066 = {
	name="Isma'il" #b. Tijit; same individual as Abu Ibrahim b. Yaslali al-Hazraji, member of the Council of Ten?
	dynasty=1000101264
	religion="sunni"
	culture="masmuda"
	father=1230065
	1100.1.1 = { #?
		birth=yes
	}
	1121.1.1 = {
		religion="mahdiyya"
	}
	1150.1.1 = { #?
		death=yes
	}
}
1230067 = {
	name="Abu-Abdallah" #b. Isma'il b. Tijit, governor of Seville and Granada
	dynasty=1000101264
	religion="mahdiyya"
	culture="masmuda"
	father=1230066
	1138.1.1 = {
		birth=yes
	}
	1174.1.1 = {
		death=yes
	}
}
1230068 = {
	name="Ibrahim Abu Ishaq" #governor of Seville in 1208
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1176.1.1 = { #?
		birth=yes
	}
	1223.1.1 = { #?
		death=yes
	}
}
1230069 = {
	name="Sa'id Abu Muhammad" #governor of Murcia in 1208
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1177.1.1 = { #?
		birth=yes
	}
	1225.1.1 = { #?
		death=yes
	}
}
1230070 = {
	name="Abu-Yahya" #governor of Valencia in 1208
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=32980
	1181.1.1 = { #?
		birth=yes
	}
	1225.1.1 = { #?
		death=yes
	}
}
1230071 = {
	name="Abu-Yahya" #b. Abi Hafs, governor of Valencia in 1208
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=155085
	1152.1.1 = { #?
		birth=yes
	}
	1202.1.1 = { #?
		death=yes
	}
}
1230072 = {
	name="Abu-Abdallah" #b. Abu Yahya b. Abi Hafs, governor of Granada in 1211
	dynasty=101875
	religion="mahdiyya"
	culture="zanata"
	father=1230071
	1178.1.1 = { #?
		birth=yes
	}
	1225.1.1 = { #?
		death=yes
	}
}
1230073 = {
	name="Umar" #b. Sahnun, governor of Silves ca. 1172
	dynasty=1000101261 #?
	religion="mahdiyya"
	culture="masmuda" #?
	1141.1.1 = { #?
		birth=yes
	}
	1193.1.1 = { #?
		death=yes
	}
}
1230074 = {
	name="Umar" #b. Timsalit al-Tinmali, governor of Silves ca. 1174
	dynasty=1000053599
	religion="mahdiyya"
	culture="masmuda" #likely
	1142.1.1 = { #?
		birth=yes
	}
	1198.1.1 = { #?
		death=yes
	}
}
1230075 = {
	name="Isa" #b. Abi Hafs b. Ali, hafiz, governor of Silves ca. 1189
	dynasty=1000101262 #?
	religion="mahdiyya"
	culture="masmuda" #?
	1162.1.1 = { #?
		birth=yes
	}
	1210.1.1 = { #?
		death=yes
	}
}
