century, beginning with the Turkish freeman Ahmad ibn Tulun, for whom both Jews and Christians prayed when he lay dying and ending with the Ikhshidid rulers. Reverence for Jerusalem increased during this period, with many of the Egyptian rulers choosing to be buried there. However, the later period became characterized by persecution of Christians as the threat from Byzantium grew. The Fatimids, with a predominantly Berber army, conquered the region in 970, a date that marks the beginning of a period of unceasing warfare between numerous enemies, which destroyed Palestine, and in particular, devastating its Jewish population. Between 1071 and 1073, Palestine was captured by the Great Seljuq Empire, only to be recaptured by the Fatimids in 1098. Crusader/Ayyubid period The Fatimids again lost the region to the Crusaders in 1099. The Crusaders set up the Kingdom of Jerusalem (1099–1291). Their control of Jerusalem and most of Palestine lasted almost a century until their defeat by Saladin's forces in 1187, after which most of Palestine was controlled by the Ayyubids, except for the years 1229–1244 when Jerusalem and other areas were retaken by the Second Kingdom of Jerusalem, by then ruled from Acre (1191–1291), but, despite seven further crusades, the Franks were no longer a significant power in the region. The Fourth Crusade, which did not reach Palestine, led directly to the decline of the Byzantine Empire, dramatically reducing Christian influence throughout the region. Mamluk period The Mamluk Sultanate was created in Egypt as an indirect result of the Seventh Crusade. The Mongol Empire reached Palestine for the first time in 1260, beginning with the Mongol raids into Palestine under Nestorian Christian general Kitbuqa, and reaching an apex at the pivotal Battle of Ain Jalut, where they were pushed back by the Mamluks. Ottoman period In 1486, hostilities broke out between the Mamluks and the Ottoman Empire in a battle for control over western Asia, and the Ottomans conquered Palestine in 1516. Between the mid-16th and 17th centuries, a close-knit alliance of three local dynasties, the Ridwans of Gaza, the Turabays of al-Lajjun and the Farrukhs of Nablus, governed Palestine on behalf of the Porte (imperial Ottoman government). In the 18th century, the Zaydani clan under the leadership of Zahir al-Umar ruled large parts of Palestine autonomously until the Ottomans were able to defeat them in their Galilee strongholds in 1775–76. Zahir had turned the port city of Acre into