In 1250 the Turkish guard of the Ayyubid line (the mamluks, 'soldiers of slave origin') set the child sultan aside and ruled in their own name - two hundred and sixty years of the military sultanate: under the mamluk system the palace slaves were trained up into a soldier-bureaucracy, the sultan's seat passing by strength, not blood. At Ayn Jalut (1260) they broke the Mongol westward storm in Syria; Baybars followed, taking the last crusader cities and seating a puppet Abbasid caliph in Cairo, the sultan's charge of the faith made good. The state held the Indian Ocean-Mediterranean carrying trade, its spice tolls rich beyond measure; the great plague and fiscal exhaustion of the 14th century ate its strength. In 1516-17 Selim I of the Ottomans destroyed it in two campaigns - Egypt a province, the mamluk lords turning tax-farmers and keeping their local power.
Editorial note on dating The mamluk regiments ended the Ayyubids and took the Egyptian throne (1250); stopped the Mongols at Ain Jalut (1260), Baybars building the state around a puppet Abbasid caliph; monopolized the Indian Ocean-Mediterranean transit for 260 years; ended by Selim I in 1517, Egypt passing to the Ottomans.