Gaykhatu invaded and burned his capital Karaman on 16 January 1287,[4] forcing Güneri to retreat to mountains.[5] Gaykhatu's viceroyalty was briefly interrupted by appointment of Samagar from 1289 to 1290. He resumed his activities when Samagar was arrested on 15 October 1290 in Tokat on charges of corruption and was sent back to Iran. Gaykhatu visited Konya on 3 January 1291, confirming appointment of his new tax officer Khwaja Nasir ud-Din and conduction of a new general census.