Some Pakistani nationalists state that Pakistan is the successor state of Islamic empires and kingdoms that ruled medieval India for almost a combined period of one millennium, the empires and kingdoms in order are the Abbasid Caliphate, Ghaznavid Empire, Ghorid Kingdom, Delhi Sultanate, Deccan sultanates and Mughal Empire.