The Mamluks, whom as-Salih had mostly recruited…
May 1250 CE
The Mamluks, whom as-Salih had mostly recruited from the Kipchak Turks, have meanwhile gained power in Egypt, and are ultimately responsible for defeating the crusade.
A group of Mamluk officers led by Baibars, filled with a sense of their military strength and growing importance in Egypt, on May 2, 1250, murders the new sultan.
Shajar al-Durr, with the help and support of the Mamluks of her late husband, seizes the throne and becomes the Sultana of Egypt.
The Mamluks do not control Syria, however, and as-Salih is the last Ayyubid to rule a united territory.
Both the Ayyubids in Syria and the Abbasid Caliph al-Musta'sim in Baghdad defy the Mamluk move in Egypt and refuse to recognize Shajart al-Dur as a Sultana, but the Mamluks in Egypt renew their oath to the new Sultana and appoints Izz al-Din Aybak to the important position of Atabeg (commander in chief).
A commander of Turkic origin who had served with other Turkmens in the court of as-Salih, he is therefore known among the Bahri Mamluks as Aybak al-Turkmani.
Before being raised to the position of Emir (commander), he had worked as a Jashnkir (taster of the sultan's food and drink) and used the rank of a Khawanja (Sultan's accountant).