The 1st major determine to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire more than present-working day Afghanistan plus the bordering area.[8][6] Shortly soon after, The good Seljuks adopted this title just after defeating the Ghaznavid Empire and taking control of a fair larger territ