The Delhi Sultanate was an Islamic empire based in Delhi that ruled over large parts of the Indian subcontinent for over three centuries. It was governed by five successive dynasties of Turkic and Afghan origin before being succeeded by the Mughal Empire.