Muslim conquest of Egypt
After the Muslim conquest of Egypt in 641, Rashidun commander Amr ibn al-As established Fustat just north of Coptic Cairo. At Caliph Umar's request, the Egyptian capital was moved from Alexandria to the new city on the eastern side of the Nile.