The primary significant determine to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who controlled an empire in excess of current-day Afghanistan as well as the bordering location.[eight][six] Before long after, The nice Seljuks adopted this title right after defeating the Ghaznavid Empire and taking Charge of