Karamanids captured Konya on two more occasions in the beginning of the 14th century, but were driven out the first time by emir Chupan, the Ilkhanid governor of Anatolia, and the second time by Chupan's son and successor Timurtash.