The land was during this period threatened at once by the Ftimites from the west; the Nubians from the south, and the Carmathians from the east; when the second Ikshidi died in 965, Kfflr at first made a pretence of appointing his young son Abmad as his successor, but deemed it safer to assume the viceroyalty himself, setting an example which in Mameluke times was often followed.
The edifices raised by the Moorish kings of Spain and the Moslem rulers of India may have been more splendid in their materials, and more elaborate in their details; the houses of the great men of Damascus may be more costly than were those of the Mameluke beys; but for purity of taste and elegance of design both are far excelled by many of the mosques and houses of Cairo.
By the Mameluke sultan of Egypt.
The revolution in Egypt in 1250 separated Damascus from Cairo more trenchantly than they had ever been separated since 1171: while a Mameluke ruled in Cairo, Malik-al-Nasir of Aleppo was elected as sultan by the emirs of Damascus.
The prince, under whom a definite peace was made with Malik al-Nasir, the Mameluke ruler of Egypt, had great trouble with powerful viziers and generals which he accentuated by his passion for Bagdad-Khatun, wife of the amir Uosain and daughter of the amir Chupan.
Unlike the other Mameluke sovereigns, who were Turks or Circassians, this man had originally been a Greek slave.
It was even suggested that the titular Abbasid caliphs (who retained an empty title in Cairo under Mameluke protection, should be reinstated at Bagdad, but this proposal was not carried into effect.
To prevent further attacks from the sea the Mameluke sultan Bibars blocked up the Phatnitic mouth of the Nile (about 1260), razed old Damietta to the ground, and transferred the inhabitants to the site of the modern town.
This reverse in a measure united the two great Mameluke parties, though their chiefs remained at enmity.
Of its later history we need only mention the Mongolian capture in 1260; its Egyptian recapture by the Mameluke Kotuz; the ferocious raid of Timur (Tamerlane) in 1399; and the conquest by the Turkish sultan Selim, whereby it became a city of the Ottoman empire (1516).