The Crusader states continued to deteriorate from continuing attacks and political instability. In 1276, the unpopular "King of Jerusalem" Hugh III moved his court to Cyprus. Under Sultan Al-Mansur Qalawun, the Mamluks captured Lattakia in 1278, and conquered the County of Tripoli in 1289. Qalawun concluded a ten-year truce with the Kingdom of Jerusalem in 1284.