castle. Barakah died there in 1280 (it was rumored that Qalawun had him poisoned), and Khadir gained control of the castle, until 1286 when Qalawun took it over directly. In in 1282 he founded , a ribat (hospice) next to the in Jerusalem. The nearby was founded by Kurd al-Manṣūrī, a mamluk of Qalawun. Mamluk diplomacy As Baibars had done previously, Qalawun entered into land control treaties with the remaining Crusader states, military orders and individual lords who wished to remain independent; he recognized Tyre and Beirut as separate from the Kingdom of Jerusalem, now centered on Acre. The treaties were always in Qalawun's favor, and his treaty with Tyre mandated that the city would not build new fortifications, would stay neutral in conflicts between the Mamluks and other Crusaders, and Qalawun would be allowed to collect half the city's taxes. In 1281 Qalawun also negotiated an alliance with Michael VIII Palaiologos of the Byzantine Empire to bolster resistance against Charles I of Naples, who was threatening both the Byzantine Empire and the Kingdom of Jerusalem. In 1290, he concluded trade alliances with the Republic of Genoa and the Kingdom of Sicily. Wars against the Crusader states Undeterred by the terms of these newly formed peace treaties, Qalawun sacked the "impregnable" Hospitaller fortress of Margat in 1285, and established a Mamluk garrison there. He also captured and destroyed the castle of Maraclea. He captured Latakia in 1287 and Tripoli on April 27, 1289, thus ending the Crusader County of Tripoli. The Fall of Tripoli in 1289 was spurred by the Venetians and the Pisans, who opposed rising Genoese influence in the area. In 1290, reinforcements of King Henry arrived in Acre and drunkenly slaughtered peaceable merchants and peasants, Christians and Muslims alike. Qalawun sent an embassy to ask for an explanation and above all to demand that the murderers be handed over for punishment. The Frankish response was divided between those who sought to appease him and those who sought a new war. Having received neither an explanation nor the murderers themselves, Qalawun decided that the ten-year truce he had formed with Acre in 1284 had been broken by the Franks. He subsequently besieged the city that same year. He died in Cairo on 10 November 1290, before taking the city, but Acre was captured the next year by his son al-Ashraf Khalil. Despite Qalawun's distrust of his son, Khalil