The 1st major figure to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire above current-working day Afghanistan and also the encompassing location.[eight][6] Quickly after, the Great Seljuks adopted this title right after defeating the Ghaznavid Empire and taking control of a fair larger territ