The 1st major determine to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire about existing-day Afghanistan and the surrounding area.[8][six] Shortly after, the Great Seljuks adopted this title soon after defeating the Ghaznavid Empire and taking Charge of a fair larger territory which integ