The first major determine to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire around existing-working day Afghanistan along with the encompassing region.[8][6] Quickly after, the Great Seljuks adopted this title just after defeating the Ghaznavid Empire and taking control of an excellent