Passage: Ghiyath al-Din Kaykhusraw II or Ghiyāth ad-Dīn Kaykhusraw bin Kayqubād (Persian: غياث الدين كيخسرو بن كيقباد‎) was the sultan of the Seljuqs of Rûm from 1237 until his death in 1246. He ruled at the time of the Babai uprising and the Mongol invasion of Anatolia. He led the Seljuq army with its Christian allies at the Battle of Köse Dağ in 1243. He was the last of the Seljuq sultans to wield any significant power and died as a vassal of the Mongols.

Question: How long did Ghiyath al-Din Kaykhusraw II rule?
from 1237 until his death in 1246