The initial key figure to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire in excess of present-day Afghanistan and the surrounding region.[8][6] Before long just after, the Great Seljuks adopted this title following defeating the Ghaznavid Empire and taking control of an even bigger territ