Mahmud's descendants continue to rule over a gradually diminishing empire until 1150, when 'Ala'-ud-Din Husayn of Ghur, a mountain-locked region in central Afghanistan, sacks and burns Ghazna and expels the last Ghaznavid ruler to India.
"What is past is prologue"
― William Shakespeare, The Tempest (C. 1610-1611)