Islamic Egypt and the Maghreb Dynasties (c. 639-1000 CE)
1. 639 CE – 642 CE
In December 639 CE Amr ibn al-As led about 4,000 Rashidun troops from Palestine into Byzantine Egypt on Caliph Umar's orders.
2. 640 CE
In 640 CE Amr ibn al-As took Pelusium and defeated a Byzantine army at Heliopolis before besieging the Fortress of Babylon.
3. 641 CE
In April 641 CE the Fortress of Babylon fell to Amr ibn al-As after a siege, giving the Rashidun Caliphate the Delta's southern gateway.
4. 641 CE
In 641 CE Amr ibn al-As founded the garrison city of Fustat beside the Fortress of Babylon as Egypt's new capital.
5. 641 CE – 642 CE
On 8 November 641 CE Cyrus of Alexandria signed a treaty surrendering Alexandria to Amr ibn al-As; the city was handed over in 642 CE, ending Byzantine rule in Egypt.
6. 642 CE
In 642 CE Amr ibn al-As built the Mosque of Amr at Fustat, the first mosque in Egypt.
7. 642 CE – 643 CE
In 642 or 643 CE Amr ibn al-As conquered Cyrenaica and set its Berber jizya at 13,000 dinars; around 643 CE his forces took Tripoli and Sirte.
8. 643 CE – 644 CE
In 643 or 644 CE Caliph Uthman appointed one governor with authority over all of Egypt, resident at Fustat.
9. 646 CE
In 646 CE Amr ibn al-As halted Manuel's Byzantine army of Constans II at Nikiou and retook Alexandria, which Manuel had occupied in 645 CE.
10. 647 CE
In 647 CE Abd Allah ibn Sa'd defeated the Byzantine exarch Gregory the Patrician at Sufetula, the first major Muslim victory in Ifriqiya.
11. 654 CE
In 654 CE the Rashidun fleet in Egypt repulsed a Byzantine invasion fleet sent by Constans II.
12. 658 CE
In summer 658 CE Amr ibn al-As invaded Egypt for Mu'awiya I during the First Fitna, defeating Ali's governor Muhammad ibn Abi Bakr and securing it for the future Umayyad Caliphate.
13. 665 CE
In 665 CE Mu'awiya I appointed Mu'awiya ibn Hudayj governor of Ifriqiya, renewing Arab campaigns against the Exarchate of Africa after a long pause.
14. 670 CE
Around 670 CE Uqba ibn Nafi founded the garrison city of Kairouan as the first permanent Muslim base in Ifriqiya for Mu'awiya I.
15. 683 CE
In 683 CE the Berber king Kusaila and his Byzantine allies ambushed and killed Uqba ibn Nafi at Vescera, forcing the Muslims to evacuate Kairouan.
16. 684 CE
In December 684 CE the Umayyad caliph Marwan I invaded Egypt and reconquered it from the Zubayrid regime.
17. 689 CE
In 689 CE the Umayyad governor of Egypt moved briefly from Fustat to Helwan to escape a plague.
18. 698 CE
In 698 CE Hassan ibn al-Nu'man, sent by Abd al-Malik, retook Carthage from a Byzantine fleet and destroyed it, ending Byzantine rule in Ifriqiya.
19. 698 CE
Around 698 CE the Berber queen al-Kahina demolished Baghaya to deny Hassan ibn al-Nu'man a fortified base and led Berber resistance from the Aurès.
20. 699 CE
In March 699 CE Hassan ibn al-Nu'man founded the medina of Tunis beside the ruins of Carthage.
21. 702 CE
Hassan ibn al-Nu'man defeated and killed al-Kahina in the Aurès around 702 CE, ending the Berber state she had led since about 698 CE.
22. 704 CE
In 704 CE Musa ibn Nusayr had Hassan ibn al-Nu'man dismissed and became Umayyad governor of Ifriqiya, then conquered much of Algeria and Morocco.
23. 709 CE
In 709 CE the Byzantine Empire lost its last Maghreb strongholds to the Umayyad Caliphate under al-Walid I, completing the Muslim conquest.
24. 725 CE
Copts in Egypt revolted against Umayyad taxation in 725 CE.
25. 727 CE
In 727 CE the Umayyad government settled 3,000 Arabs near Bilbeis in Egypt to strengthen Arab representation.
26. 740 CE
In 740 CE the Great Berber Revolt, inspired by Kharijite preachers and first led by Maysara al-Matghari, began at Tangier against Caliph Hisham.
27. 741 CE
In late 741 CE Berber forces destroyed an Umayyad Syrian-Ifriqiyan army at Bagdoura near modern Fez.
28. 742 CE
On 21 September 742 CE Hanzala ibn Safwan, sent from Egypt by Hisham, defeated Berber rebels at Tubna and secured Kairouan for the Umayyads.
29. 745 CE
In 745 CE Kharijite Berbers captured Kairouan as Umayyad authority collapsed in Ifriqiya.
30. 749 CE
In 749 CE the Bashmurian Copts of the Nile Delta rose in open revolt against Umayyad rule.
31. 750 CE
In 750 CE the Umayyad Caliphate fell to the Abbasid Revolution.
32. 750 CE
In 750 CE the Abbasids moved Egypt's seat of government from Fustat to the new camp-city of al-Askar.
33. 757 CE
In 757 CE the Berber chief Samgu founded the oasis town of Sijilmasa, later seat of the Midrarid dynasty and a trans-Saharan trade hub.
34. 757 CE
In 757 CE Basra-trained Ibadi missionaries including Abd al-Rahman ibn Rustam proclaimed an Ibadi imamate in Tripolitania.
35. 761 CE
In 761 CE the Abbasid general Muhammad ibn al-Ash'ath al-Khuza'i crushed the Ibadi imamate in Tripolitania.
36. 767 CE
In 767 CE the Coptic Bashmurians rose across the Nile Delta against Abbasid rule; the revolt was not fully suppressed for decades.
37. 777 CE
Around 777 CE Abd al-Rahman ibn Rustam was elected imam by the Ibadis, founding the Rustamid dynasty at Tahert.
38. 788 CE
In 788 CE Idris I, a descendant of Ali who fled the Abbasids after the Battle of Fakhkh, settled at Volubilis with Awraba Berber support and founded the Idrisid dynasty.
39. 789 CE
In 789 CE Idris I founded Medinat Fas, the first Fez, near Volubilis.
40. 791 CE
In 791 CE Idris I was poisoned by an Abbasid agent and his posthumous son Idris II succeeded him.
41. 800 CE
In 800 CE Harun al-Rashid appointed Ibrahim ibn al-Aghlab hereditary emir of Ifriqiya, founding the Aghlabid dynasty at Kairouan.
42. 801 CE – 810 CE
Between 801 and 810 CE Ibrahim ibn al-Aghlab built the palace-city of al-Abbasiyya outside Kairouan as the Aghlabid residence.
43. 809 CE
In 809 CE Idris II moved his capital from Volubilis to Fez, founding the quarter of al-'Aliya.
44. 812 CE
In 812 CE the Rustamid imam Abd al-Wahhab supported the Huwara Berbers in their siege of Aghlabid-held Tripoli.
45. 818 CE – 824 CE
Arab families expelled from Cordoba settled in Fez in 818 CE under Idris II, followed by a wave from Kairouan in 824 CE.
46. 824 CE – 827 CE
In 824 CE Arab troops under Mansur al-Tunbudhi revolted against Ziyadat Allah I, seizing Tunis and Kairouan until crushed in 827 CE.
47. 827 CE – 902 CE
In 827 CE Ziyadat Allah I launched the conquest of Byzantine Sicily with an army under Asad ibn al-Furat; it was completed in 902 CE.
48. 828 CE
Idris II died in 828 CE and his son Muhammad ibn Idris divided the Idrisid realm among his brothers.
49. 831 CE
The Aghlabids conquered Palermo in 831 CE, making it the capital of Muslim Sicily.
50. 831 CE – 832 CE
In 831 and 832 CE al-Afshin, sent by Caliph al-Ma'mun, crushed the last major Bashmurian Coptic revolt in the Nile Delta.
51. 840 CE – 880 CE
In 840 CE the Aghlabids captured Taranto and held it until 880 CE.
52. 842 CE – 843 CE
In 842 or 843 CE the Aghlabids captured Messina, which became a base for campaigns on the Italian mainland.
53. 868 CE
In 868 CE Ahmad ibn Tulun arrived in Egypt as Abbasid governor and founded the Tulunid dynasty, ruling a virtually autonomous emirate.
54. 868 CE
In 868 CE Berber Khariji Sufri tribes of the Fez region under Abd al-Razzaq formed a common front against the Idrisids.
55. 870 CE
In 870 CE Ahmad ibn Tulun began building the new administrative capital al-Qata'i north of Fustat.
56. 870 CE
In 870 CE the Aghlabids conquered Malta.
57. 873 CE – 874 CE
Rustamid imam Abu Bakr ibn Aflah tried to assassinate his brother Abu al-Yaqzan in 873-874 CE, provoking an uprising at Tahert that killed Abu Bakr.
58. 876 CE
In 876 CE Aghlabid emir Ibrahim II moved his residence from al-Abbasiyya to the new palace-city Raqqada near Kairouan.
59. 876 CE – 879 CE
Between 876 and 879 CE Ahmad ibn Tulun built the Mosque of Ibn Tulun at al-Qata'i, modelled on Samarra mosques.
60. 878 CE
In 878 CE the Aghlabids captured Syracuse while the Tulunids occupied the Jordan valley and extended control into Syria.
61. 884 CE
Ahmad ibn Tulun died in 884 CE and his son Khumarawayh succeeded him as ruler of Egypt.
62. 893 CE
In 893 CE Abu Abdallah al-Shi'i settled among the Kutama Berbers and began the movement that founded the Fatimid state.
63. 902 CE
In 902 CE Abu Abdallah al-Shi'i captured Mila while Ibrahim II campaigned in Sicily.
64. 902 CE
In 902 CE the Aghlabids captured Taormina, completing their conquest of Sicily.
65. 902 CE – 903 CE
Aghlabid emir Ibrahim II died besieging Cosenza in October 902 CE; in July 903 his successor Abdallah II was murdered by his son Ziyadat Allah III.
66. 904 CE – 907 CE
Abu Abdallah al-Shi'i captured Setif in Algeria in 904 CE; in 907 the Kutama took Baghaya while Ziyadat Allah III fortified Raqqada.
67. 905 CE
In 905 CE an Abbasid army under Muhammad ibn Sulayman al-Katib ended Tulunid rule in Egypt, razed al-Qata'i and restored direct Abbasid control.
68. 909 CE
On 25 March 909 CE Abu Abdallah al-Shi'i and the Kutama occupied Raqqada and overthrew the Aghlabids after defeating their army at al-Urbus a week earlier.
69. 909 CE
In 909 CE the Fatimids conquered Tahert and overthrew the Rustamid imamate, whose last imam fled to the Sedrata of Ouargla.
70. 909 CE
On 26 August 909 CE Abu Abdallah al-Shi'i reached Sijilmasa with the Kutama and secured the release of Abdallah al-Mahdi Billah from Midrarid custody.
71. 910 CE
In January 910 CE Abdallah al-Mahdi Billah was proclaimed caliph at Raqqada, founding the Fatimid Caliphate as a rival to the Abbasids.
72. 911 CE
On 18 February 911 CE al-Mahdi had Abu Abdallah al-Shi'i executed after falling out with him.
73. 917 CE
In 917 CE the Miknasa under Masala ibn Habus, acting for the Fatimids, attacked Fez and forced the Idrisid ruler Yahya IV to recognise Fatimid suzerainty.
74. 921 CE
On 20 February 921 CE al-Mahdi inaugurated the fortified Fatimid capital al-Mahdiyya on the Tunisian coast, built since 916 CE.
75. 927 CE
In 927 CE the Miknasa leader Musa ibn Abi al-Afiya captured and killed the Idrisid Hassan I al-Hajam, ending Idrisid rule in Fez, though the dynasty survived in northern Morocco.
76. 934 CE
In 934 CE al-Mahdi died at Mahdia and was succeeded as Fatimid caliph by his son al-Qa'im bi-Amr Allah.
77. 935 CE – 936 CE
In 935 CE the Abbasids appointed Muhammad ibn Tughj governor of Egypt, founding the Ikhshidid dynasty; by 936 he defeated a Fatimid incursion near Alexandria.
78. 939 CE
In July 939 CE the Abbasids conferred on Muhammad ibn Tughj the Central Asian title al-Ikhshid, giving the Ikhshidid dynasty its name.
79. 944 CE – 945 CE
In 944 CE the Ibadi preacher Abu Yazid led a Berber Kharijite revolt against the Fatimids that took Kairouan and besieged Mahdia from January to 16 September 945.
80. 946 CE – 947 CE
In 946 CE al-Qa'im died and was succeeded by al-Mansur bi-Nasr Allah, who defeated Abu Yazid in 947 CE and ended the rebellion.
81. 946 CE
In 946 CE Muhammad ibn Tughj died and the eunuch Kafur became the real power in Egypt as regent for his sons, beginning with Unujur.
82. 948 CE
In 948 CE the Fatimids moved their capital from Mahdia to the new city of al-Mansuriyya near Kairouan.
83. 953 CE
In 953 CE al-Mu'izz li-Din Allah became the fourth Fatimid caliph on the death of al-Mansur.
84. 960 CE
In 960 CE the Fatimid general Jawhar al-Siqilli took Fez by storm for al-Mu'izz, capturing its Umayyad-aligned governor.
85. 965 CE
Nubians pillaged Aswan in 965 CE during the Ikhshidid decline, amid a famine in Egypt lasting 963 to 968.
86. 966 CE – 968 CE
In 966 CE Kafur took formal rule of Egypt on the death of Abu al-Hasan Ali; he died in 968, leaving the Ikhshidid state in turmoil.
87. 969 CE
In 969 CE Jawhar al-Siqilli led a Fatimid army that conquered Fustat and Ikhshidid Egypt for al-Mu'izz, ending the Ikhshidid dynasty with help from the defector Ya'qub ibn Killis.
88. 969 CE
In 969 CE Jawhar founded al-Qahira (Cairo) just north of Fustat as the Fatimid royal enclosure.
89. 970 CE – 972 CE
Jawhar began the Mosque of al-Azhar in Cairo in 970 CE; it was completed in June 972 as the Fatimids' main mosque.
90. 971 CE – 974 CE
In 971 CE a coalition of Qarmatians, Bedouin and Ikhshidid soldiers destroyed the Fatimid army of Ja'far ibn Falah near Damascus; the Qarmatians invaded Egypt in 971 and 974.
91. 972 CE
In 972 CE al-Mu'izz appointed Buluggin ibn Ziri viceroy of Ifriqiya at Sardaniya near Kairouan before leaving for Egypt, founding the Zirid dynasty.
92. 973 CE
In 973 CE al-Mu'izz entered Egypt and moved the Fatimid court to Cairo, making it the capital of the Fatimid Caliphate.
93. 974 CE
In 974 CE al-Mu'izz handed Egypt's financial administration to Ya'qub ibn Killis, and the Idrisids were finally removed from power in Morocco.
94. 975 CE
In 975 CE al-Mu'izz died and was succeeded as Fatimid caliph by his son al-Aziz Billah.
95. 976 CE
In 976 CE the Midrarid dynasty of Sijilmasa ended, and Qarmatians occupied Palestine while Jawhar besieged Damascus.
96. 978 CE – 979 CE
In 978 CE al-Aziz Billah began recruiting Turkic and Daylamite ghilman into the Fatimid army, and Ibn Killis became first Fatimid vizier in 979.
97. 980 CE
Around 980 CE Buluggin ibn Ziri briefly occupied Fez and much of Morocco for the Zirids but met resistance from Zenata Berbers allied with the Umayyads of Cordoba.
98. 988 CE – 991 CE
In 988 CE Ibn Killis designated al-Azhar in Cairo a centre of higher learning; he died as vizier in 991.
99. 996 CE
In 996 CE Amalfitan merchants were blamed for a fire that destroyed the Fatimid arsenal in Cairo, and an anti-Christian pogrom killed Amalfitans under al-Aziz Billah.
100. 996 CE
On 14 October 996 CE eleven-year-old al-Hakim succeeded his father al-Aziz Billah as sixth Fatimid caliph at Cairo.