Theodore Komnenos Doukas
The kingdom proved to be short-lived, with Thessalonica being captured by Theodore Komnenos Doukas of Epirus in 1224, just twenty years after the kingdom had been founded. The last king, Demetrius of Montferrat, escaped into exile and upon his death ceded the title to Frederick II, Holy Roman Emperor, who some years later ceded it back to Demetrius's family. Their line of titular Kings of Thessalonica ended with the marriage of Yolande of Montferrat to Byzantine emperor Andronikos II Palaiologos in 1284, at which point titular ownership of Thessalonica passed back to the Byzantine emperors.