The 1st important determine to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire about existing-working day Afghanistan plus the bordering location.[eight][six] Before long after, the Great Seljuks adopted this title right after defeating the Ghaznavid Empire and taking control of an even great