The 1st major figure to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire over existing-working day Afghanistan as well as the bordering region.[8][six] Shortly soon after, The nice Seljuks adopted this title after defeating the Ghaznavid Empire and taking Charge of a fair greater territor