The main important determine to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire above present-working day Afghanistan as well as the surrounding region.[8][six] Shortly just after, The good Seljuks adopted this title after defeating the Ghaznavid Empire and taking Charge of an excellent mu