The 1268 Cilicia earthquake further devastated the country. In 1269, Het'um I abdicated in favour of his son Levon II, who paid large annual tributes to the Mamluks. Even with the tributes, the Mamluks continued to attack Cilicia every few years. In 1275, an army led by the emirs of the sultan invaded the country without pretext and faced Armenians who had no means of resistance. The city of Tarsus was taken, the royal palace and the church of Saint Sophia was burned, the state treasury was looted, 15,000 civilians were killed, and 10,000 were taken captive to Egypt. Almost the entire population of Ayas, Armenian, and Frankish perished. Truce with Mamluks (1281–1295) In 1281, following the defeat of the Mongols and the Armenians under Möngke Temur by the Mamluks at the Second Battle of Homs, a truce was forced on Armenia. Further, in 1285, following a powerful offensive push by Qalawun, the Armenians had to sign a ten-year truce under harsh terms. The Armenians were obligated to cede many fortresses to the Mamluks and were prohibited to rebuild their defensive fortifications. Cilician Armenia was forced to trade with Egypt, thereby circumventing a trade embargo imposed by the pope. Moreover, the Mamluks were to receive an annual tribute of one million dirhams from the Armenians. The Mamluks, despite the above, continued to raid Cilician Armenia on numerous occasions. In 1292, it was invaded by Al-Ashraf Khalil, the Mamluk sultan of Egypt, who had conquered the remnants of the Kingdom of Jerusalem in Acre the year before. Hromkla was also sacked, forcing the Catholicossate to move to Sis. Het'um was forced to abandon Behesni, Marash, and Tel Hamdoun to the Turks. In 1293, he abdicated in favor of his brother T'oros III, and entered the monastery of Mamistra. Campaigns with Mongols (1299–1303) In the summer of 1299, Het'um I's grandson, King Het'um II, again facing threats of attack by the Mamluks, asked the Mongol khan of Persia, Ghâzân, for his support. In response, Ghâzân marched towards Syria and invited the Franks of Cyprus (the King of Cyprus, the Templars, the Hospitallers, and the Teutonic Knights), to join his attack on the Mamluks. The Mongols took the city of Aleppo, where they were joined by King Het'um. His forces included Templars and Hospitallers from the kingdom of Armenia, who participated in the rest of the offensive. The combined force defeated the Mamluks