government = tribal_despotism
#aristocracy_plutocracy = -1
#centralization_decentralization = 3
#innovative_narrowminded = 2
#mercantilism_freetrade = -4
mercantilism = 0.1
#offensive_defensive = 1
#land_naval = -3
#quality_quantity = 3
#serfdom_freesubjects = -2
primary_culture = uzbehk
religion = zoroastrian
technology_group = nomad_group
capital = 2431	# Gurganj

305.1.1 = { technology_group = middle_eastern government = despotic_monarchy }

305.1.1 = {
	monarch = {
		name = "Afrig I"
		dynasty = "Afrighid"
		birth_date = 275.1.1
		adm = 2
		dip = 1
		mil = 4
	}
}

310.1.1 = {
	heir = {
		name = "Bagra"
		monarch_name = "Bagra I"
		dynasty = "Afrighid"
		birth_date = 310.1.1
		death_date = 370.1.1
		claim = 95
		adm = 1
		dip = 4
		mil = 0
	}
}

340.1.1 = {
	monarch = {
		name = "Bagra I"
		dynasty = "Afrighid"
		birth_date = 310.1.1
		adm = 1
		dip = 4
		mil = 0
	}
}

340.1.1 = {
	heir = {
		name = "Sahhasak"
		monarch_name = "Sahhasak I"
		dynasty = "Afrighid"
		birth_date = 340.1.1
		death_date = 400.1.1
		claim = 95
		adm = 5
		dip = 4
		mil = 5
	}
}

370.1.1 = {
	monarch = {
		name = "Sahhasak I"
		dynasty = "Afrighid"
		birth_date = 340.1.1
		adm = 5
		dip = 4
		mil = 5
	}
}

370.1.1 = {
	heir = {
		name = "Askajamuk"
		monarch_name = "Askajamuk I"
		dynasty = "Afrighid"
		birth_date = 370.1.1
		death_date = 430.1.1
		claim = 95
		adm = 2
		dip = 4
		mil = 0
	}
}

400.1.1 = {
	monarch = {
		name = "Askajamuk I"
		dynasty = "Afrighid"
		birth_date = 370.1.1
		adm = 2
		dip = 4
		mil = 0
	}
}

400.1.1 = {
	heir = {
		name = "Askajwar"
		monarch_name = "Askajwar I"
		dynasty = "Afrighid"
		birth_date = 400.1.1
		death_date = 460.1.1
		claim = 95
		adm = 0
		dip = 3
		mil = 3
	}
}

430.1.1 = {
	monarch = {
		name = "Askajwar I"
		dynasty = "Afrighid"
		birth_date = 400.1.1
		adm = 0
		dip = 3
		mil = 3
	}
}

430.1.1 = {
	heir = {
		name = "Sahr"
		monarch_name = "Sahr I"
		dynasty = "Afrighid"
		birth_date = 430.1.1
		death_date = 490.1.1
		claim = 95
		adm = 2
		dip = 1
		mil = 1
	}
}

460.1.1 = {
	monarch = {
		name = "Sahr I"
		dynasty = "Afrighid"
		birth_date = 430.1.1
		adm = 2
		dip = 1
		mil = 1
	}
}

460.1.1 = {
	heir = {
		name = "Shaush"
		monarch_name = "Shaush I"
		dynasty = "Afrighid"
		birth_date = 460.1.1
		death_date = 520.1.1
		claim = 95
		adm = 1
		dip = 5
		mil = 0
	}
}

490.1.1 = {
	monarch = {
		name = "Shaush I"
		dynasty = "Afrighid"
		birth_date = 460.1.1
		adm = 1
		dip = 5
		mil = 0
	}
}

490.1.1 = {
	heir = {
		name = "Hamgari"
		monarch_name = "Hamgari I"
		dynasty = "Afrighid"
		birth_date = 490.1.1
		death_date = 550.1.1
		claim = 95
		adm = 1
		dip = 3
		mil = 2
	}
}

520.1.1 = {
	monarch = {
		name = "Hamgari I"
		dynasty = "Afrighid"
		birth_date = 490.1.1
		adm = 1
		dip = 3
		mil = 2
	}
}

520.1.1 = {
	heir = {
		name = "Buzgar"
		monarch_name = "Buzgar I"
		dynasty = "Afrighid"
		birth_date = 520.1.1
		death_date = 580.1.1
		claim = 95
		adm = 5
		dip = 4
		mil = 4
	}
}

550.1.1 = {
	monarch = {
		name = "Buzgar I"
		dynasty = "Afrighid"
		birth_date = 520.1.1
		adm = 5
		dip = 4
		mil = 4
	}
}

550.1.1 = {
	heir = {
		name = "Arsamuh"
		monarch_name = "Arsamuh I"
		dynasty = "Afrighid"
		birth_date = 550.1.1
		death_date = 610.1.1
		claim = 95
		adm = 2
		dip = 5
		mil = 1
	}
}

580.1.1 = {
	monarch = {
		name = "Arsamuh I"
		dynasty = "Afrighid"
		birth_date = 550.1.1
		adm = 2
		dip = 5
		mil = 1
	}
}

580.1.1 = {
	heir = {
		name = "Sahr"
		monarch_name = "Sahr II"
		dynasty = "Afrighid"
		birth_date = 580.1.1
		death_date = 640.1.1
		claim = 95
		adm = 5
		dip = 0
		mil = 1
	}
}

610.1.1 = {
	monarch = {
		name = "Sahr II"
		dynasty = "Afrighid"
		birth_date = 580.1.1
		adm = 5
		dip = 0
		mil = 1
	}
}

610.1.1 = {
	heir = {
		name = "Sabri"
		monarch_name = "Sabri I"
		dynasty = "Afrighid"
		birth_date = 610.1.1
		death_date = 670.1.1
		claim = 95
		adm = 2
		dip = 0
		mil = 1
	}
}

640.1.1 = {
	monarch = {
		name = "Sabri I"
		dynasty = "Afrighid"
		birth_date = 610.1.1
		adm = 2
		dip = 0
		mil = 1
	}
}

640.1.1 = {
	heir = {
		name = "Azkajwar"
		monarch_name = "Azkajwar II"
		dynasty = "Afrighid"
		birth_date = 640.1.1
		death_date = 712.1.1
		claim = 95
		adm = 3
		dip = 3
		mil = 0
	}
}

670.1.1 = {
	monarch = {
		name = "Azkajwar II"
		dynasty = "Afrighid"
		birth_date = 640.1.1
		adm = 3
		dip = 3
		mil = 0
	}
}

682.1.1 = {
	heir = {
		name = "Askajamuk"
		monarch_name = "Askajamuk II"
		dynasty = "Afrighid"
		birth_date = 682.1.1
		death_date = 740.1.1
		claim = 95
		adm = 5
		dip = 5
		mil = 5
	}
}

712.1.1 = {
	monarch = {
		name = "Askajamuk II"
		dynasty = "Afrighid"
		birth_date = 682.1.1
		adm = 5
		dip = 5
		mil = 5
	}
}

712.1.1 = {
	heir = {
		name = "Sawashfan"
		monarch_name = "Sawashfan I"
		dynasty = "Afrighid"
		birth_date = 710.1.1
		death_date = 770.1.1
		claim = 95
		adm = 3
		dip = 5
		mil = 4
	}
}

740.1.1 = {
	monarch = {
		name = "Sawashfan I"
		dynasty = "Afrighid"
		birth_date = 710.1.1
		adm = 3
		dip = 5
		mil = 4
	}
}

740.1.1 = {
	heir = {
		name = "Torkasbatha"
		monarch_name = "Torkasbatha I"
		dynasty = "Afrighid"
		birth_date = 740.1.1
		death_date = 800.1.1
		claim = 95
		adm = 5
		dip = 4
		mil = 4
	}
}

770.1.1 = {
	monarch = {
		name = "Torkasbatha I"
		dynasty = "Afrighid"
		birth_date = 740.1.1
		adm = 5
		dip = 4
		mil = 4
	}
}

770.1.1 = {
	heir = {
		name = "Abdallah"
		monarch_name = "Abdallah"
		dynasty = "Afrighid"
		birth_date = 770.1.1
		death_date = 830.1.1
		claim = 95
		adm = 0
		dip = 0
		mil = 4
	}
}

800.1.1 = { religion = sunni technology_group = muslim }

800.1.1 = {
	monarch = {
		name = "Abdallah"
		dynasty = "Afrighid"
		birth_date = 770.1.1
		adm = 0
		dip = 0
		mil = 4
	}
}

800.1.1 = {
	heir = {
		name = "Mansur"
		monarch_name = "Mansur"
		dynasty = "Afrighid"
		birth_date = 800.1.1
		death_date = 860.1.1
		claim = 95
		adm = 5
		dip = 0
		mil = 4
	}
}

830.1.1 = {
	monarch = {
		name = "Mansur"
		dynasty = "Afrighid"
		birth_date = 800.1.1
		adm = 5
		dip = 0
		mil = 4
	}
}

830.1.1 = {
	heir = {
		name = "Eraq"
		monarch_name = "Eraq"
		dynasty = "Afrighid"
		birth_date = 830.1.1
		death_date = 890.1.1
		claim = 95
		adm = 3
		dip = 5
		mil = 5
	}
}

860.1.1 = {
	monarch = {
		name = "Eraq"
		dynasty = "Afrighid"
		birth_date = 830.1.1
		adm = 3
		dip = 5
		mil = 5
	}
}

860.1.1 = {
	heir = {
		name = "Muhammad"
		monarch_name = "Muhammad"
		dynasty = "Afrighid"
		birth_date = 860.1.1
		death_date = 920.1.1
		claim = 95
		adm = 4
		dip = 2
		mil = 4
	}
}

890.1.1 = {
	monarch = {
		name = "Muhammad"
		dynasty = "Afrighid"
		birth_date = 860.1.1
		adm = 4
		dip = 2
		mil = 4
	}
}

890.1.1 = {
	heir = {
		name = "Abu Sa'id"
		monarch_name = "Abu Sa'id"
		dynasty = "Afrighid"
		birth_date = 890.1.1
		death_date = 950.1.1
		claim = 95
		adm = 2
		dip = 5
		mil = 0
	}
}

920.1.1 = {
	monarch = {
		name = "Abu Sa'id"
		dynasty = "Afrighid"
		birth_date = 890.1.1
		adm = 2
		dip = 5
		mil = 0
	}
}

920.1.1 = {
	heir = {
		name = "Abu 'Abdallah"
		monarch_name = "Abu 'Abdallah"
		dynasty = "Afrighid"
		birth_date = 920.1.1
		death_date = 995.1.1
		claim = 95
		adm = 5
		dip = 2
		mil = 3
	}
}

950.1.1 = {
	monarch = {
		name = "Abu 'Abdallah"
		dynasty = "Afrighid"
		birth_date = 920.1.1
		adm = 5
		dip = 2
		mil = 3
	}
}

995.1.1 = {
	monarch = {
		name = "Ma'mun I"
		dynasty = "Ma'munid"
		birth_date = 965.1.1
		adm = 0
		dip = 3
		mil = 4
	}
}

995.1.1 = {
	heir = {
		name = "Abu al-Hasan"
		monarch_name = "Abu al-Hasan I"
		dynasty = "Ma'munid"
		birth_date = 967.1.1
		death_date = 1008.1.1
		claim = 95
		adm = 4
		dip = 4
		mil = 5
	}
}

997.1.1 = {
	monarch = {
		name = "Abu al-Hasan I"
		dynasty = "Ma'munid"
		birth_date = 967.1.1
		adm = 4
		dip = 4
		mil = 5
	}
}

997.1.1 = {
	heir = {
		name = "Ma'mun"
		monarch_name = "Ma'mun II"
		dynasty = "Ma'munid"
		birth_date = 978.1.1
		death_date = 1015.1.1
		claim = 95
		adm = 1
		dip = 1
		mil = 5
	}
}

1008.1.1 = {
	monarch = {
		name = "Ma'mun II"
		dynasty = "Ma'munid"
		birth_date = 978.1.1
		adm = 1
		dip = 1
		mil = 5
	}
}

1008.1.1 = {
	heir = {
		name = "Abu'l-Harith Muhammad"
		monarch_name = "Abu'l-Harith Muhammad"
		dynasty = "Ma'munid"
		birth_date = 985.1.1
		death_date = 3000.1.1
		claim = 95
		adm = 3
		dip = 5
		mil = 1
	}
}

1015.1.1 = {
	monarch = {
		name = "Abu'l-Harith Muhammad"
		dynasty = "Ma'munid"
		birth_date = 985.1.1
		adm = 3
		dip = 5
		mil = 1
	}
}

1127.1.1 = { primary_culture = persian }

1127.1.1 = {
	monarch = {
		name = "Atsiz"
		dynasty = "Anushtegin"
		adm = 3
		dip = 3
		mil = 1
	}
}

1156.1.1 = {
	monarch = {
		name = "Il Arslan"
		dynasty = "Anushtegin"
		adm = 4
		dip = 2
		mil = 3
	}
}

1172.1.1 = {
	monarch = {
		name = "Ala ad-Din Tekish"
		dynasty = "Anushtegin"
		adm = 1
		mil = 3
		dip = 5
	}
}

1200.1.1 = {
	monarch = {
		name = "Muhammad II"
		dynasty = "Anushtegin"
		adm = 4
		mil = 2
		dip = 2
	}
}

1212.1.1 = { capital = 454 } # Samarkand

1220.1.1 = {
	monarch = {
		name = "Jalal ad-Din Mingburnu"
		dynasty = "Anushtegin"
		adm = 3
		mil = 1
		dip = 2
	}
}

1220.1.1 = { capital = 448 } # Gazni

1225.1.1 = { capital = 416 } # Tabriz
