The Ottomans (1517–1798)
With the Ottomans’ defeat of the Mamluks in 1516–17, Egyptian medieval history had come full circle, as Egypt reverted to the status of a province governed from Constantinople (present-day Istanbul). Again the country was exploited as a source of taxation for the benefit of an imperial government and as a base for foreign expansion. The economic decline that had begun under the late Mamluks continued, and with it came a decline in Egyptian culture.
Some historians attribute the lethargy of Egypt in this era solely to the rule of Constantinople. But, although Ottoman policy was geared to imperial, not Egyptian, needs, it was obviously to the rulers’ benefit to provide a stable government that would maintain Egyptian agriculture at a high level of productivity and would promote the transit trade. To a certain extent Ottoman actions served these purposes. The decisive factor that ultimately undermined Ottoman policies was the perpetuation of the former Mamluk elite; though they collaborated with the Ottoman government, they often defied it and ultimately came to dominate it. By and large, the history of Ottoman Egypt concerns the process by which the conquered Mamluks reasserted their power within the Egyptian state.
The Ottoman conquest
From the conquest itself, the Ottoman presence in Egypt was entangled with Mamluk factionalism. There is no doubt that the Ottomans invaded Syria in 1516 to thwart an incipient coalition against Ottoman expansion between the Ṣafavid dynasty of Persia and the Mamluks of Egypt and Syria. The long-standing enmity between the Ottomans and the Mamluks arose from their contest to control the Turkoman frontier states north of Syria. After the Ottomans strengthened their hold over eastern Anatolia in 1514, it was only natural that the Mamluks should attempt to bolster their forces in northern Syria and exchange diplomatic missions with the Ṣafavids. The Ottoman sultan Selim I (the Grim) responded by attacking the reinforced Mamluk army in Syria, probably as a preliminary step in a new campaign against the Ṣafavids. In 1516, after Selim had defeated the Mamluks at Marj Dābiq (north of Aleppo), Ottoman goals had probably been met, especially since the Mamluk sultan Qānṣūh al-Ghawrī died in the battle. But the Mamluks rallied around a new sultan in Cairo who refused to accept Selim’s terms for a settlement. Spurred on by the Mamluk traitor Khayr Bey, Selim marched against Egypt in 1517, defeated the Mamluks, and installed Khayr Bey as Ottoman governor. Khayr Bey died in 1522; thereafter, the Ottoman viceroy (called vali), with the title of pasha, was sent from Constantinople.