The first main figure to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire in excess of present-working day Afghanistan and also the bordering region.[eight][6] Quickly right after, the Great Seljuks adopted this title soon after defeating the Ghaznavid Empire and taking Charge of an excellent