The 1st important figure to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire in excess of present-working day Afghanistan and also the bordering area.[eight][6] Quickly soon after, the Great Seljuks adopted this title after defeating the Ghaznavid Empire and taking control of an excellent