and were employed by Baibars. He defeated the Mongols at the battle of Elbistan and sent the Abbasid Caliph with only 250 men to attempt to retake Baghdad, but was unsuccessful. In 1266 he devastated Cilician Armenia and in 1268 he recaptured Antioch from the Crusaders. In addition, he fought the Seljuks, and Hashshashin; he also extended Muslim power into Nubia for the first time, before his death in 1277. Sultan Qalawun defeated a rebellion in Syria that was led by Sunqur al-Ashqar in 1280, and also defeated another Mongol invasion in 1281 that was led by Abaqa outside Homs. After the Mongol threat passed he recaptured Tripoli from the Crusaders in 1289. His son Khalil captured Acre, the last Crusader city, in 1291. The Mongols renewed their invasion in 1299, but were again defeated in 1303 in the Battle of Shaqhab. The Egyptian Mamluk Sultans entered into relations with the Golden Horde who converted to Islam and established a peace pact with the Mongols in 1322. Sultan Al-Nasir Muhammad married a Mongol princess in 1319. His diplomatic relations were more extensive than those of any previous Sultan, and included Bulgarian, Indian, and Abyssinian potentates, as well as the pope, the king of Aragon and the king of France. Al-Nasir Muhammad organized the re-digging of a canal in 1311 which connected Alexandria with the Nile. He died in 1341. Dissolution The constant changes of sultans that followed led to great disorder in the provinces. Meanwhile, in 1349 Egypt and the Levant in general were introduced to Black Death, which is said to have killed many inhabitants. In 1382 the last Bahri Sultan Hajji II was dethroned and the Sultanate was taken over by the Circassian Emir Barquq. He was expelled in 1389 but returned to power in 1390, setting up the succeeding Burji dynasty. Military organization On a general level, the military during the Bahri dynasty can be divided into several aspects Mamluks: The core of both the political and military base, these slave soldiers were further divided into Khassaki (comparable to imperial guards), Royal Mamluks (Mamluks directly under the command of the Sultan) and regular Mamluks (usually assigned to local Amirs). Al-Halqa: These primarily free born professional forces wre also directly under the sultan's command. Wafidiyya: Turks and Mongols that migrated to the dynasty's border after the Mongol invasion, typically given land grants in exchange for military service; they