Choresm-Schahs
After the death of Mu'izz al-Din in 1206, his nephew Ghiyath al-Din Mahmud succeeded him as the ruler of the Ghurid dynasty. Atsiz, however, challenged the rule of Ghiyath al-Din Mahmud and demanded the throne for himself, and requested aid from the Khwarazmian dynasty, who declined his request. Ghiyath al-Din Mahmud later died in 1212, and was succeeded by his son Baha al-Din Sam III, who was one year later carried by the Khwarazmians to Khwarezm, who finally agreed to help Atsiz, and made him ascend the Ghurid throne.