Ghiyath al-Din
After Ali ibn Mu'ayyad was defeated and killed, Iskandar settled in Herat. There he was present when the Turco-Mongol ruler Timur () besieged it in 1381. He subsequently betrayed Ghiyath al-Din II and handed the city over to Timur. According to the account of the Persian historian Hafiz-i Abru (d. 1430), it was the Kartids, and not Sarbadarids that Iskandar first joined. He was successful in the Kartid efforts against Ali ibn Mu'ayyad, and was as a result rewarded with the governorship of the city of Nishapur. In 1375, Iskandar betrayed Ghiyath al-Din II by joining an anti-Kartid rebellion supported by local "dervishes" and the Muzaffarid ruler in Shiraz, Shah Shoja Mozaffari (). The rebellion failed, but Ghiyath al-Din II ultimately pardoned Iskandar, who remained in Herat until its capture by Timur.