information:extraction, linguistic:translation, structural:summarization, stylistic:style_transfer
The final crusades

After the defeat of the Crusaders in Egypt, Louis remained in Syria until 1254 to consolidate the crusader states. A brutal power struggle developed in Egypt between various Mamluk leaders and the remaining weak Ayyubid rulers. The threat presented by an invasion by the Mongols led to one of the competing Mamluk leaders, Qutuz, seizing the sultanate in 1259 and uniting with another faction led by Baibars to defeat the Mongols at Ain Jalut. The Mamluks then quickly gained control of Damascus and Aleppo before Qutuz was assassinated and Baibers assumed control.

Between 1265 and 1271, Baibars drove the Franks to a few small coastal outposts. Baibars had three key objectives: to prevent an alliance between the Latins and the Mongols, to cause dissension among the Mongols (particularly between the Golden Horde and the Persian Ilkhanate), and to maintain access to a supply of slave recruits from the Russian steppes. He supported Manfred of Sicily's failed resistance to the attack of Charles and the papacy. Dissension in the crusader states led to conflicts such as the War of Saint Sabas. Venice drove the Genoese from Acre to Tyre where they continued to trade with Egypt. Indeed, Baibars negotiated free passage for the Genoese with Michael VIII Palaiologos, Emperor of Nicaea, the newly restored ruler of Constantinople. In 1270 Charles turned his brother King Louis IX's crusade, known as the Eighth Crusade, to his own advantage by persuading him to attack Tunis. The crusader army was devastated by disease, and Louis himself died at Tunis on 25 August. The fleet returned to France. Prince Edward, the future king of England, and a small retinue arrived too late for the conflict but continued to the Holy Land in what is known as Lord Edward's Crusade. Edward survived an assassination attempt, negotiated a ten-year truce, and then returned to manage his affairs in England. This ended the last significant crusading effort in the eastern Mediterranean.