The primary key determine to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire over current-working day Afghanistan plus the bordering region.[eight][six] Quickly immediately after, the Great Seljuks adopted this title after defeating the Ghaznavid Empire and taking Charge of a fair larger size