Consolidation of the Empire and war with the Kara-Khanids ,
Transoxiana and
Tokharistan Mas'ud then marched towards Ghazni, where he defeated his brother and had him imprisoned, while crowning himself as the new Sultan of the Ghaznavid Empire. Mas'ud shortly released the disgraced statesman
Ahmad Maymandi from prison, and appointed him as his
vizier. He also appointed Ali Daya as the commander-in-chief of the army of
Khorasan, while another general named
Ahmad Inaltigin was appointed as the commander-in-chief of the army in
India who led expedition to
Vanarasi in 1033 AD. Later Majdud was appointed in that position, after Inaltigin's deposition following a unsuccessful revolt against Mas'ud. Although Mas'ud was a great military leader, he was heedless of advice from his officers, which would later result in disaster during his reign. He also suspected the majority of his father's officers of treachery, and even had his own uncle Yusuf and the powerful statesman
Ali ibn Il-Arslan imprisoned. In 1032, Ahmad Maymandi died and was succeeded by
Ahmad Shirazi as Mas'ud's
vizier. Sometime later, Mas'ud's governor and
de facto ruler of
Khwarazm,
Altun Tash, was sent to invade the domains of the
Kara-Khanid ruler
Ali Tigin Bughra Khan, but was
killed at Dabusiyya, a town near
Samarkand. He was then succeeded by his son
Harun.
War in western Iran and clash with Turkic nomads In 1033, Mas'ud captured the fortress of Sarsut, and defeated the Tomara ruler in
Siege of Hansi in 1037 and shortly invaded
Kerman, which was then under the rule of the Buyid ruler
Abu Kalijar. Mas'ud shortly managed to conquer the region, but the inhabitants of Kerman, who preferred Buyid rule, rallied to Abu Kalijar, and, under his vizier
Bahram ibn Mafinna, re-conquered Kerman. During the same period, Ahmad Inaltigin rebelled and defeated an army sent by Mas'ud, who shortly sent another army under an Indian statesman named Tilak. The latter managed to rout Ahmad Inaltigin, who drowned while trying to escape. In 1033, Mas'ud married the daughter of the
Ziyarid Anushirvan Sharaf al-Ma'ali's relative Abu Kalijar, the real ruler of the Ziyarid state. The same year, in order to keep control over his unreliable vassal, the Kakuyid ruler Muhammad, Mas'ud I appointed
Abu Sahl Hamduwi as the governor of Jibal. In 1034, Harun declared independence from the Ghaznavids, and allied himself with the Kara-Khanid ruler Ali Tigin. Mas'ud, however, managed to have Harun assassinated, and Ali Tigin shortly died. Harun was succeeded by his brother
Ismail Khandan, who maintained the alliance with the Kara-Khanids. Meanwhile, the
Seljuq Turks, under the leadership of
Tughril, asked Mas'ud for asylum. Mas'ud, however, considered the Turkic nomads dangerous and sent an army under
Begtoghdi, the newly appointed commander-in-chief in Khorasan. The army was shortly defeated by the Seljuqs, who forced Mas'ud to cede Nasa, Farava and
Dihistan in return for Seljuq recognition of Ghaznavid authority. In 1034, Mas'ud marched an army to
Amul to collect tribute, sacking Amul for four days and later burning it to the ground. In 1035, Mas'ud I launched another invasion of western Iran, where he defeated the rebellious Abu Kalijar. Mas'ud then marched towards Jibal, where he once again defeated the Kakuyid ruler Muhammad, who fled to the Buyids of
Ahvaz, and then to northwestern Iran, where he raised a Turkmen army. In 1037/8, while Mas'ud was campaigning in India, Muhammad once again occupied Ray. Meanwhile, another Kara-Khanid ruler named
Böritigin invaded the Ghaznavid territories and plundered
Khuttal and
Vakhsh. He also managed to conquer
Chaghaniyan and expel the local
Muhtajid dynasty from the region.
War with the Seljuqs and downfall Furthermore, the Seljuqs had begun to gradually subdue the cities of Khorasan, and when they captured
Nishapur, Tughril proclaimed himself the ruler of Khorasan. Mas'ud, after having returned to Khorasan, tried to re-conquer Chaghaniyan but was defeated by Böritigin. However, he expelled the Seljuqs from
Herat and Nishapur. He soon marched towards
Merv to completely remove the Seljuq threat from Khorasan. His army included 50,000 men and 60 or 12
war elephants. He was accompanied by his vizier Ahmad Shirazi, his chief secretary Abu Sahl Zawzani, his generals Ali Daya, Begtoghdi and Subashi, and
Abd al-Razzaq Maymandi, the son of Ahmad Maymandi. A battle shortly took place near Merv, known as the
Battle of Dandanaqan, where the army of Mas'ud was defeated by a much smaller army under Tughril, his brother
Chaghri Beg, and the Kakuyid prince
Faramurz. Mas'ud thus permanently lost control of all of western Khorasan. Although Mas'ud managed to retain his capital Ghazni, he chose to leave the city, and set up a capital in
India. Mas'ud, who blamed Ali Daya and other generals for the disastrous Ghaznavid defeat near Merv, had them imprisoned in
Lahore. However, the army of Mas'ud, which used to hold him in high esteem, revolted against him, and had his brother
Mohammad reinstated to the throne.
Death and aftermath Mohammad then had Mas'ud imprisoned at
Giri, where he was killed either on the orders of Mohammad or Mohammad's son Ahmed. Mas'ud had a son named
Maw'dud Ghaznavi, who later avenged his father by killing Mohammad, and then crowned himself as the new ruler of the Ghaznavid Empire. He also had other sons named
Sa'id,
Izad-yar,
Mardan-shah,
Majdud,
Ibrahim,
Ali, and
Farrukh-Zad. The last three sons also ruled the Ghaznavid Empire in later periods. ==References==