 Mawdud was able to hold on to his Afghan realms and Indus valley territories while stabilizing while pushing north into Central Asia and stabilizing his western front with the Seljuqs.Keikavus, author of the "Qabus nama", was a guest at Mawdud's court for seven to eight years.In 1038, Mawdud was declared by his father as the heir of the Empire.