During Simon's captivity Kartli was governed by his Islamised brother Daud-Khan, adopted son of the shah of Iran. Shah Ismail II later freed Simon, making him an ally against the Ottomans. After this period, Iranian Georgians gained increasing influence and power in politics and the military.