After the Fourth Crusade (1204) it came under the control of the Frankish Lordship of Salona, but was recovered by the Greek Despotate of Epirus in 1211. The town remained under Epirote control until the division of the realm in , when it passed under the rule of John I Doukas, ruler of Thessaly. In 1311 it was conquered, along with Salona, by the Catalan Company. It was captured by the Ottomans in 1397, but was regained shortly after by the Despotate of the Morea under Theodore I Palaiologos. In 1403 it was ceded briefly to the Knights Hospitaller. In 1447/8 it was refortified by Constantine Kantakouzenos, but this did not prevent its final capture by the Ottomans shortly after.