advance, but suffered a defeat at the hands of David Soslan at the Battle of Shamkor and lost his capital to a Georgian protégé in 1195. Although Abu Bakr was able to resume his reign a year later, the Eldiguzids were only barely able to contain further Georgian forays. The question of liberation of Armenia remained of prime importance in Georgia's foreign policy. Tamar's armies led by two Christianised Kurdish generals, Zakare and Ivane Mkhargrdzeli (Zakarian) overran fortresses and cities towards the Ararat Plain, reclaiming one after another fortresses and districts from local Muslim rulers. Alarmed by the Georgian successes, Süleymanshah II, the resurgent Seljuqid sultan of Rûm, rallied his vassal emirs and marched against Georgia, but his camp was attacked and destroyed by David Soslan at the Battle of Basian in 1203 or 1204. The chronicler of Tamar describes how the army was assembled at the rock-hewn town of Vardzia before marching on to Basian and how the queen addressed the troops from the balcony of the church. Exploiting her success in this battle, between 1203 and 1205 Georgians seized the town of Dvin and entered Ahlatshah possessions twice and subdued the emir of Kars (vassal of the Saltukids in Erzurum), the Ahlatshahs, and the emirs of Erzurum and Erzincan.In 1206, the Georgian army, under the command of David Soslan, captured Kars and other fortresses and strongholds along the Araxes. This campaign was evidently started because the ruler of Erzerum refused to submit to Georgia. The emir of Kars requested aid from the Ahlatshahs, but the latter was unable to respond, it was soon taken over by the Ayyubid Sultanate in 1207. By 1209 Georgia challenged Ayyubid rule in eastern Anatolia and led a liberation war for south Armenia. The Georgian army besieged Khlat. In response Ayyubid Sultan al-Adil I assembled and personally led a large Muslim army that included the emirs of Homs, Hama, and Baalbek as well as contingents from other Ayyubid principalities to support al-Awhad, emir of Jazira. During the siege, Georgian general Ivane Mkhargrdzeli accidentally fell into the hands of the al-Awhad on the outskirts of Ahlat. Using Ivane as a bargaining chip, al-Awhad agreed to release him in return for a thirty year truce with Georgia, thus ending the immediate Georgian threat to the Ayyubids. This brought the struggle for the Armenian lands to a stall, leaving the Lake Van region to the Ayyubids