When the Khwarazmshah Ala al-Din Muhammad took Ghazna, the Kabul region also passed from the Ghurids to the Khwarazmshahs
Ala al-Din Muhammad took Ghazna after annexing Sighnaq to his lands in 1215 and gave it to his son Jalal al-Din; the Ghurid dynasty came to an end. The Kabul region followed the same change of hands as a dependency of Ghazna.
Sources
- TDV İslâm Ansiklopedisi, HÂRİZMŞAHLAR, https://islamansiklopedisi.org.tr/harizmsahlar : «Aynı yıl Gazne’yi aldı ve oğlu Celâleddin’e verdi»