The main important figure to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire about present-working day Afghanistan as well as the surrounding location.[8][6] Before long right after, The nice Seljuks adopted this title soon after defeating the Ghaznavid Empire and taking control of an excel