government = iqta
primary_culture = moroccan
religion = sunni
technology_group = muslim
capital = 344 # Marrakech
add_accepted_culture = berber

1348.1.1 = {
	monarch = {
		name = "Abu Inan Faris"
		dynasty = "Marinid"
		adm = 3
		dip = 2
		mil = 3
	}
}

1359.1.1 = {
	monarch = {
		name = "Muhammad II"
		dynasty = "Marinid"
		adm = 0
		dip = 1
		mil = 1
	}
}

1359.7.1 = {
	monarch = {
		name = "Abu Salim Ali II"
		dynasty = "Marinid"
		adm = 2
		dip = 1
		mil = 2
	}
}

1361.1.1 = {
	monarch = {
		name = "Abu Umar Tashfin"
		dynasty = "Marinid"
		adm = 1
		dip = 1
		mil = 0
	}
}

1362.1.1 = {
	monarch = {
		name = "Abu Zayyan Muhammad III"
		dynasty = "Marinid"
		adm = 1
		dip = 1
		mil = 3
	}
}

1366.1.1 = {
	monarch = {
		name = "Abu Faris Abdul Aziz I"
		dynasty = "Marinid"
		adm = 4
		dip = 2
		mil = 5
	}
}

1372.1.1 = {
	monarch = {
		name = "Muhammad III"
		dynasty = "Marinid"
		adm = 2
		dip = 2
		mil = 2
	}
}

1374.1.1 = {
	monarch = {
		name = "Abu Abbas Ahmad"
		dynasty = "Marinid"
		adm = 2
		dip = 3
		mil = 4
	}
}

1384.1.1 = {
	monarch = {
		name = "Abu Zayyan Muhammad IV"
		dynasty = "Marinid"
		adm = 2
		dip = 2
		mil = 1
	}
}

1386.1.1 = {
	monarch = {
		name = "Muhammad V"
		dynasty = "Marinid"
		adm = 0
		dip = 1
		mil = 1
	}
}

1387.1.1 = {
	monarch = {
		name = "Abu Abbas Ahmad"
		dynasty = "Marinid"
		adm = 3
		dip = 2
		mil = 2
	}
}

1393.1.1 = {
	monarch = {
		name = "Abdul Aziz II"
		dynasty = "Marinid"
		adm = 1
		dip = 1
		mil = 2
	}
}

1398.1.1 = {
	monarch = {
		name = "Abdullah"
		dynasty = "Marinid"
		adm = 2
		dip = 0
		mil = 1
	}
}

1399.1.1 = {
	monarch = {
		name = "Abu-Sa'id Uthman III"
		dynasty = "Marinid"
		adm = 1
		dip = 2
		mil = 3
	}
	add_piety = 0.4
}

1399.1.1 = {
	heir = {
		name = "Abdalhaqq"
		monarch_name = "Abdalhaqq II"
		dynasty = "Marinid"
		birth_date = 1399.1.1
		death_Date = 1465.1.1
		claim = 95
		adm = 0
		dip = 2
		mil = 0
	}
}

1420.1.1 = {
	monarch = {
		name = "Abdalhaqq II"
		dynasty = "Marinid"
		adm = 0
		dip = 2
		mil = 1
	}
	capital = 343 # Fez
}

1465.1.1 = {
	monarch = {
		name = "Mohammed ibn Ali Amrani-Joutey"
		dynasty = "Idrisid"
		adm = 2
		dip = 1
		mil = 0
	}
}

#1472 - Country is split into various factions, reunited again in 1549

1544.1.1 = {
	monarch = {
		name = "Muhammad I"
		dynasty = "Saadi"
		adm = 4
		dip = 4
		mil = 5
		leader = { name = "Muhammad I"		type = general	rank = 0	fire = 3	shock = 3	manuever = 2	siege = 0}
	}
	capital = 344 # Marrakech
	add_piety = 1.0
}

1544.1.1 = {
	heir = {
		name = "'Abd Allâh"
		monarch_name = "'Abd Allâh"
		dynasty = "Saadi"
		birth_date = 1527.6.1
		death_date = 1574.1.24
		claim = 95
		adm = 6
		dip = 3
		mil = 4
	}
}

1557.10.24 = {
	monarch = {
		name = "'Abd Allâh I"
		dynasty = "Saadi"
		adm = 6
		dip = 3
		mil = 4
	}
}

1557.10.24 = {
	heir = {
		name = "Muhammad"
		monarch_name = "Muhammad II"
		dynasty = "Saadi"
		birth_date = 1557.1.1
		death_date = 1576.9.12
		claim = 95
		adm = 3
		dip = 3
		mil = 1
		leader = { name = "Muhammad II"	type = general	rank = 0	fire = 3	shock = 3	manuever = 3	siege = 0}
	}
}

1574.1.24 = {
	monarch = {
		name = "Muhammad II"
		dynasty = "Saadi"
		adm = 3
		dip = 3
		mil = 1
		leader = { name = "Muhammad II"	type = general	rank = 0	fire = 3	shock = 3	manuever = 3	siege = 0}
	}
}

1574.1.24 = {
	heir = {
		name = "Abu Marwan"
		monarch_name = "Abu Marwan"
		dynasty = "Saadi"
		birth_date = 1554.1.1
		death_Date = 1578.8.5
		claim = 95
		adm = 2
		dip = 3
		mil = 3
	}
}

1576.1.1 = {
	monarch = {
		name = "Abu Marawan"
		dynasty = "Saadi"
		adm = 2
		dip = 3
		mil = 3
	}
}

1576.1.1 = {
	heir = {
		name = "Ahmad"
		monarch_name = "Ahmad II"
		dynasty = "Saadi"
		birth_date = 1549.1.1
		death_date = 1603.8.20
		claim = 95
		adm = 5
		dip = 4
		mil = 6
	}
}

1578.8.5 = {
	monarch = {
		name = "Ahmad II"	#al-Mansur
		dynasty = "Saadi"
		adm = 5
		dip = 4
		mil = 6
	}
}

1578.8.5 = {
	heir = {
		name = "'Abd Allâh"
		monarch_name = "'Abd Allâh II"
		dynasty = "Saadi"
		birth_date = 1564.1.1
		death_Date = 1609.8.3
		claim = 95
		adm = 1
		dip = 0
		mil = 1
	}
}

1589.1.1 = { leader = {	name = "Jawdar Pasha"		type = conquistador	rank = 2	fire = 5	shock = 4	manuever = 4	siege = 0	death_date = 1599.1.1 } }

1603.8.20 = {
	monarch = {
		name = "'Abd Allâh II"
		dynasty = "Saadi"
		adm = 1
		dip = 0
		mil = 1
	}
}

1603.8.20 = {
	heir = {
		name = "Zaydân"
		monarch_name = "Zaydân"
		dynasty = "Saadi"
		birth_date = 1580.1.1
		death_date = 1627.9.29
		claim = 95
		adm = 0
		dip = 1
		mil = 1
	}
}

1609.8.3 = {
	monarch = {
		name = "Zaydân"
		dynasty = "Saadi"
		adm = 0
		dip = 1
		mil = 1
	}
}

1609.8.3 = {
	heir = {
		name = "'Abd al-Malik"
		monarch_name = "'Abd al-Malik"
		dynasty = "Saadi"
		birth_date = 1590.1.1
		death_Date = 1631.2.11
		claim = 95
		adm = 0
		dip = 0
		mil = 1
	}
}

1627.9.29 = {
	monarch = {
		name = "'Abd al-Malik"
		dynasty = "Saadi"
		adm = 0
		dip = 0
		mil = 1
	}
}

1627.9.29 = {
	heir = {
		name = "al-Walîd"
		monarch_name = "al-Walîd"
		dynasty = "Saadi"
		birth_date = 1600.1.1
		death_date = 1636.2.21
		claim = 95
		adm = 0
		dip = 0
		mil = 0
	}
}

1631.1.1 = {
	monarch = {
		name = "al-Walîd"
		dynasty = "Saadi"
		adm = 0
		dip = 0
		mil = 0
	}
}

1631.1.1 = {
	heir = {
		name = "Muhammad"
		monarch_name = "Muhammad III"
		dynasty = "Saadi"
		birth_date = 1603.1.1
		death_date = 1655.1.30
		claim = 95
		adm = 0
		dip = 0
		mil = 0
	}
}

1636.2.21 = {
	monarch = {
		name = "Muhammad III"
		dynasty = "Saadi"
		adm = 0
		dip = 0
		mil = 0
	}
}

#1638 - Dilawites seize Fez from squabling Saadite claimants

1655.1.30 = {
	monarch = {
		name = "al-Walîd"
		dynasty = "Saadi"
		adm = 0
		dip = 0
		mil = 0
	}
}

1659.6.1 = {
	monarch = {
		name = "Abd al-Karim ibn Abi-Bakr"
		dynasty = "al-Shabani"
		adm = 2
		dip = 3
		mil = 1
	}
}

1659.6.1 = {
	heir = {
		name = "Muhammad"
		monarch_name = "Muhammad III"
		dynasty = "Saadi"
		birth_date = 1640.1.1
		death_date = 1668.9.7
		claim = 95
		adm = 0
		dip = 0
		mil = 1
	}
}

1668.7.1 = {
	monarch = {
		name = "Abu Bakr ibn Abd al-Karim"
		dynasty = "al-Shabani"
		adm = 0
		dip = 0
		mil = 1
	}
}

#Alaouite conquer Marrakesh
1668.9.7 = {
	monarch = {
		name = "ar-Rashid"
		dynasty = "Alaouite"
		adm = 4
		dip = 3
		mil = 5
		leader = { name = "ar-Rashid"		type = general	rank = 0	fire = 4	shock = 3	manuever = 4	siege = 1}
	}
	add_piety = 1.0
}

1668.9.7 = {
	heir = {
		name = "Ismâ'îl"
		monarch_name = "Ismâ'îl"
		dynasty = "Alaouite"
		birth_date = 1645.1.1
		death_Date = 1727.3.22
		claim = 95
		adm = 6
		dip = 5
		mil = 6
		leader = { name = "Ismâ'îl"		type = general	rank = 0	fire = 3	shock = 2	manuever = 3	siege = 1}
	}
}

1672.3.28 = {
	monarch = {
		name = "Ismâ'îl"
		dynasty = "Alaouite"
		adm = 6
		dip = 5
		mil = 6
		leader = { name = "Ismâ'îl"		type = general	rank = 0	fire = 3	shock = 2	manuever = 3	siege = 1}
	}
	capital = 346 # Meknes
}

1677.1.1 = {
	heir = {
		name = "Ahmad"
		monarch_name = "Ahmad"
		dynasty = "Alaouite"
		birth_date = 1677.1.1
		death_date = 1729.3.5
		claim = 95
		adm = 1
		dip = 0
		mil = 1
	}
}

1727.3.22 = {
	monarch = {
		name = "Ahmad"
		dynasty = "Alaouite"
		adm = 1
		dip = 0
		mil = 1
	}
	capital = 344 # Marrakech
}

1727.3.22 = {
	heir = {
		name = "'Abd Allâh"
		monarch_name = "'Abd Allâh"
		dynasty = "Alaouite"
		birth_date = 1678.1.1
		death_Date = 1757.11.10
		claim = 95
		adm = 5
		dip = 1
		mil = 1
	}
}

1729.3.7 = {
	monarch = {
		name = "'Abd Allâh"
		dynasty = "Alaouite"
		adm = 5
		dip = 1
		mil = 1
	}
}

1739.3.7 = {
	heir = {
		name = "Muhammad"
		monarch_name = "Muhammad III"
		dynasty = "Alaouite"
		birth_date = 1739.3.7
		death_Date = 1790.4.12
		claim = 95
		adm = 4
		dip = 4
		mil = 2
	}
}

1757.11.10 = {
	monarch = {
		name = "Muhammad III"
		dynasty = "Alaouite"
		adm = 4
		dip = 4
		mil = 2
	}
}

1757.11.10 = {
	heir = {
		name = "al-Yazid"
		monarch_name = "al-Yazid"
		dynasty = "Alaouite"
		birth_date = 1750.1.1
		death_date = 1792.2.15
		claim = 95
		adm = 0
		dip = 3
		mil = 0
	}
}

1790.4.12 = {
	monarch = {
		name = "al-Yazîd"
		dynasty = "Alaouite"
		adm = 0
		dip = 3
		mil = 0
	}
}

1790.4.12 = {
	heir = {
		name = "Sulaymân"
		monarch_name = "Sulaymân"
		dynasty = "Alaouite"
		birth_date = 1760.1.1
		death_Date = 1822.1.1
		claim = 95
		adm = 0
		dip = 2
		mil = 3
	}
}

1792.2.15 = {
	monarch = {
		name = "Sulaymân"
		dynasty = "Alaouite"
		adm = 0
		dip = 2
		mil = 3
	}
}
