The main important determine to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire around present-working day Afghanistan plus the surrounding area.[eight][six] Soon just after, The good Seljuks adopted this title immediately after defeating the Ghaznavid Empire and taking control of an even