Following the Sack of Constantinople by the Fourth Crusade in April 1204, the Byzantine Empire was divided among Latin Crusader states and a few Byzantine Greek remnants, the chief of which were the Despotate of Epirus in western Greece and Albania, and the Nicaean Empire in western and northwestern Asia Minor. Both of the latter claimed to represent the legitimate Empire, and in view of the weakness of the Latin Empire, vied for the recovery of Constantinople. At first it seemed as if the city would fall to Epirus, whose ruler Theodore Komnenos Doukas crowned himself emperor at Thessalonica in 1225/1227. Epirote power however was broken at the Battle of Klokotnitsa in 1230 against Bulgaria.