The Khalji Revolution, alternatively spelled the Khilji Revolution, marked a military coup and a period of political and societal transformation in the Delhi Sultanate. It unfolded following the death of the Mamluk sultan Balban and the subsequent incapacity of his successors to effectively govern the Delhi Sultanate. The upheaval commenced and concluded in 1290 when Jalaluddin Khalji seized absolute power, defeating the Turkic nobility and toppling the Mamluks, inaugurating the rule of the Khalji dynasty.
After Balban's death, his underage grandson Qaiqabad ascended the throne. A poor governor, Qaiqabad later fell ill and became paralyzed, leading to the succession of his son, Shamsuddin Kayumars. Amidst this upheaval, two factions arose within the Mamluk court, with the Turkic element led by Aitmar Surkah facing off against Jalaluddin Khalji's group.