The Chagatai Khanate, or Chagatai Ulus (; ; ; ; ) was a Mongol and later Turkicized khanate that comprised the lands ruled by Chagatai Khan, second son of Genghis Khan, and his descendants and successors. At its height in the late 13th century the khanate extended from the Amu Darya south of the Aral Sea to the Altai Mountains in the border of modern-day Mongolia and China, roughly corresponding to the area once ruled by the Qara Khitai (Western Liao dynasty). Initially, the rulers of the Chagatai Khanate recognized the supremacy of the Great Khan, but by the reign of Kublai Khan, Ghiyas-ud-din Baraq no longer obeyed the emperor's orders. During the mid-14th century, the Chagatais lost Transoxiana to the Timurids. The reduced realm came to be known as Moghulistan, which lasted until the late 15th century, when it broke off into the Yarkent Khanate and Turpan Khanate. In 1680, the remaining Chagatai domains lost their independence to the Dzungar Khanate, and in 1705, the last Chagatai khan was removed from power, ending the dynasty of Chagatai. History Vassal of the Great Khan (1226–1266) When Genghis Khan died in 1227, his son Chagatai Khan inherited the regions roughly corresponding to the defunct Qara Khitai Empire: Issyk-Kul, Ili River, Chu River, Talas River, Transoxania, and the Tarim Basin. Chagatai was not fully independent in his khanate however and still received orders from Karakorum. When he dismissed the governor of Transoxania, Mahmud Yalavach, Ögedei Khan reinstated Mahmud, whose dynasty continued to administer the region even after the death of Chagatai. In 1238 there was a Muslim uprising in Bukhara, but Mahmud's son Mas'ud crushed it the next year before Mongol troops were able to arrive, thereby saving the populace from Mongol vengeance. Chagatai Khan died in 1242 and was succeeded by his grandson Qara Hülegü. He was too young to rule independently so the widowed khatun Ebuskun ruled as regent in his place. In 1246, Güyük Khan replaced him with one of his uncles, Yesü Möngke. Yesü Möngke came to power because he was a personal friend of Güyük Khan. He was a drunkard who left the affairs of the state to his wife and minister Beha ad-Din Marghinani. In 1252 he was deposed by Möngke Khan, who installed Qara Hülegü again. Qara Hülegü died on his way home and was succeeded by his son Mubarak Shah. Mubarak Shah was too