The first major figure to clearly grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire around existing-working day Afghanistan as well as bordering region.[eight][six] Soon following, The good Seljuks adopted this title just after defeating the Ghaznavid Empire and taking control of an even larger territo