The primary significant determine to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire around present-working day Afghanistan as well as surrounding area.[8][six] Before long after, the Great Seljuks adopted this title after defeating the Ghaznavid Empire and taking control of an even larger