Mamlūk and Ottoman periods
In 1247 the holy city fell once more to Egypt, now ruled by the Mamlūks. The great sanctuaries became Muslim again, and the only Christians who remained were the Greek Orthodox and other Eastern sects. In the 14th century the Franciscans began to represent Roman Catholic interests. The Jews, who had been barred from the city by the Crusaders, returned and from the mid-13th century inhabited their own quarter. The layout of the quarters now constituting the Old City was fixed in that period. The Mamlūks dotted the Temple Mount and the city with mosques, madrasahs (religious schools), and ornamental tombs.
In 1517 the Ottoman sultan Selim I took the city and inaugurated a Turkish regime that lasted 400 years. The 16th century was a period of great urban development. In addition to the new walls, which still encompass the Old City, and the repaired water supply, new madrasahs and waqfs (religious endowments) and other charitable institutions multiplied. But by the end of the century the city began an economic decline that lasted until the 19th century. During that period a series of disputes between the Christian sects over rights at the holy places in Jerusalem and Bethlehem gradually developed into conflicts among the European powers. The Russians became the protectors of the rights of the Orthodox churches, the French and Venetians of the Latin institutions.
In 1831 Ibrāhīm Pasha, son of the Egyptian ruler Muḥammad ʿAlī, captured Jerusalem and introduced a series of far-reaching reforms, which were retained when the Turks regained the city in 1840. The Muḥammad ʿAlī crisis and the question of administering the holy places drew the Great Powers into ever-closer involvement in Jerusalem. By midcentury all of the powers had established consulates in the city. The consuls sought to extend their influence by affirming rights of protection over native non-Muslim groups, which until then had been governed under a system that accorded Muslims dominant status. Under European pressure, the Ottoman Empire promised equal rights to Christians and Jews, an arrangement that many Muslims resisted. Although a municipality was established in 1887, politics remained largely oligarchic, and most offices were monopolized by members of Muslim notable families, such as the ʿAlamīs, the Ḥusaynīs, and the Khālidīs. Meanwhile, Jewish immigration, mainly from eastern Europe, changed the city’s demographic structure and the relative importance of the Old City compared with the new quarters outside the walls. This growing influx—which was by the 1880s part of a budding Zionist movement—further alarmed the Muslims, who were reduced to a minority of the city’s population.