Kilij Arslan IV was executed in 1265, and Kaykhusraw III (1265–1284) became the nominal ruler of all of Anatolia, with the tangible power exercised either by the Mongols or the sultan's influential regents.