Numerous truces and alliances were formed and broken over the next few years, as the Byzantine successor states, the Latin Empire, the Bulgarian Empire and the Seljuks of Iconium (whose territory also bordered Nicaea) fought each other. In 1211, at Antioch on the Meander, Theodore defeated a major invasion by the Seljuks, who were backing a bid by Alexios III Angelos to return to power. The losses suffered at Antioch, however, led to a defeat at the hands of the Latin Empire at the Rhyndacus River and the loss of most of Mysia and the Marmara Sea coast in the subsequent Treaty of Nymphaeum. The Nicaeans were compensated for this territorial loss when, in 1212, the death of David Komnenos allowed their annexation of his lands in Paphlagonia.