The initial major determine to obviously grant himself this title was the Ghaznavid ruler Mahmud (r. 998–1030 CE) who managed an empire around current-working day Afghanistan as well as bordering location.[8][6] Before long just after, The good Seljuks adopted this title after defeating the Ghaznavid Empire and taking control of a good much large