Mahmud died in 1030 and he was succeeded by his eldest son Mas'ud, although not before a difficult political situation in which the two sons of Mahmud each tried to follow their father as ruler.
Mahmud namatay sa 1030 at siya ay Tagumpay ng kanyang anak na lalaki diko Mas'ud, bagaman hindi bago ang isang mahirap pampulitikang sitwasyon na kung saan ang dalawang anak ng Mahmud bawat tried na sundin ang kanilang ama bilang pinuno.