Their control of Jerusalem and most of Palestine lasted almost a century until defeat by Saladin's forces in 1187, after which most of Palestine was controlled by the Ayyubids.
A rump Crusader state in the northern coastal cities survived for another century, but, despite seven further Crusades, the Crusaders were no longer a significant power in the region. The Mamluk Sultanate was indirectly created in Egypt as a 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. In 1486, hostilities broke out between the Mamluks and the Ottoman Turks and the Ottomans captured Palestine in 1516.
In 1832, the region was conquered by Muhammad Ali's Egypt, but, in 1840, Britain intervened and returned control of the Levant to the Ottomans in return for further capitulations. The turbulent period of Egyptian rule experienced two major revolts (the 1834 Arab Peasants revolt and 1838 Druze revolt) and a significant demographic change in coastal areas, populated by Egyptian Arab peasants and former soldiers of Ali. The end of the 19th century saw the beginning of Zionist immigration and the revival of the Hebrew language. Increasing Jewish immigration in the late 19th and early 20th centuries added considerably to the Jewish communities in Jerusalem, Safed, Tiberias and Jaffa.
During World War I the British government issued the Balfour Declaration of 1917, simultaneously promising the area to the Arabs in return for support with the anti Turkish Arab Revolt and with the secret Sykes-Picot Agreement dividing the territory for itself. The British captured Jerusalem a month later. The League of Nations formally awarded Britain a mandate over Palestine in 1922. The land west of the Jordan River was under direct British administration until 1948, while the land east of the Jordan was a semi-autonomous region known as Transjordan, under the rule of the Hashemite family from the Hijaz, and gained independence in 1946. The 1936–1939 Arab revolt in Palestine was a nationalist uprising by Palestinian Arabs against British colonial rule and mass Jewish immigration.