Four realms developed from the ruins of the Byzantine Empire by 1209. AlexiosI and David Komnenos consolidated their Empire of Trebizond in northern Asia Minor; Henry of Flanders integrated Thrace and almost all of Greece into the Latin Empire; MichaelI Doukas secured his rule in Epirus; and TheodoreI Laskaris emerged as the unrivaled ruler of western Asia Minor. The balance of power, however, remained unstable, because the four monarchs were rivals, always ready to form alliances against their neighbors. Emperor Henry concluded an alliance with Sultan KaykhusrawI against Theodore, while Theodore allied himself with Kaloyan of Bulgaria's successor, Boril. Henry's vassal, MichaelI Doukas, paid off the ransom of Theodore's father-in-law, AlexiosIII in 1209 or 1210. AlexiosIII avoided Nicaea and went to Konya, seeking asylum at the court of KaykhusrawI, his adopted son.