# Mahmud II (Seljuk sultan)

Mughith al-Dunya wa'l-Din Mahmud bin Muhammad (b. 1104 – 11 September 1131) known as Mahmud II was the Seljuk sultan of Iraq from 1118–1131 following the death of his father Muhammad I Tapar. At the time Mahmud was fourteen, and ruled over Iraq and Persia.

## Biography

During Mahmud's early reign, his vassal king Garshasp II, who was a favorite of his father Muhammad I, fell into disgrace. Slander about him spread to the court that made him lose confidence, and made Mahmud send a military force to Yazd where Garshasp was arrested and jailed in Jibal, while Yazd was granted to the royal cupbearer. Garshasp, however, escaped and returned to Yazd, where he requested protection from Mahmud's rival Ahmad Sanjar (Garshasp's wife was the sister of Ahmad). Garshasp urged Ahmad to invade the domains of Mahmud in Central Persia, and gave him information on how to march to Central Persia, and the ways to combat Mahmud. Ahmad accepted and advanced with an army to the west in 1119, where he together with five kings defeated Mahmud at Saveh. The kings who aided Ahmad during the battle were Garshasp II himself, the emirs of Sistan and of Khwarazm, and two other unnamed kings. After being victorious, Ahmad then restored the domains of Garshasp II.
Ahmad then proceeded as far as Baghdad, whereupon Mahmud was married to one of Sanjar's daughters, made his uncle's heir, and forced to give up strategic territories in northern Persia.
Mahmud's younger brother Mas'ud revolted against him in 1120, but the civil war ended the following year due to the intervention of the atabeg of Mosul, Aqsunqur al-Bursuqi, and Mas'ud was pardoned. In 1126, al-Bursuqi was murdered by Assassins, believed have been under orders from Mahmud. In 1127, he appointed Anushirvan ibn Khalid as his vizier, but had him removed from the office the following year. In 1129 Mahmud officially recognized the authority of Imad al-Din Zengi, who had supported him against a revolt led by al-Mustarshid, caliph of Baghdad, in Syria and northern Iraq. Mahmud ruled from Isfahan, while his Shihna military governors for Iraq were based in Baghdad, except for a campaign which he led personally against the Caliph of Baghdad in 1126.
Mahmud, then aged 27, died on 11 September 1131. His death was followed by a civil war between his son Dawud, and his brothers Mas'ud, Suleiman-Shah, and Toghrul II. His other son Alp Arslan ibn Mahmud was ruler of Mosul under the protection of atabeg Zengi.

## Family

In around 1116, Mahmud was bethrothed to his cousin Mah-i Mulk Khatun, also known as Mahd-i Maymun, the daughter of his uncle Sultan Ahmad Sanjar. The marriage took place in around 1119. Her dowry was portrayed as a precious treasure transported on elephants from Khurasan to Mahmud in Iraq. The two together had a son. In 1121, a fire consumed the palace that Mujahid al-Din Bahruz had built for Mahmud. The blaze resulted in Mah-i Mulk losing precious possessions, including jewels, ornaments, furnishings, and clothing. She died in 1122, after which Sanjar asked for the return of the gold and jewellery his daughter had, but Mahmud refused to give back the jewellery. In 1124, Sanjar sent another daughter, Amir Sitti Khatun, to be Mahmud's wife. They had a daughter, Gawhar Nasab Khatun and a son, Malik-Shah III. She exercised great influence at Mahmud's court and supported Mazyadid Dubays bin Sadaqa. In 1129, Vizier Abul-Qasim al-Anasabadhi, who was arrested by Mahmud, but was later freed by Sanjar was appointed as her vizier by Sanjar. She died in 1129. After her death Dubays' position fell apart. Another wife was Ata Khatun, the daughter of Garshasp II, the son of Ali ibn Faramurz and Arslan Khatun, the daughter of Chaghri Beg. They had a son Ala al-Daula Ata Khan. Another wife, who was the mother of Mahmud's son, Alp Arslan, died while living at the residence of Aq Sunqur al-Bursuqi. According to Ann Lambton, Zahida Khatun, the wife of Atabeg Boz-aba was probably the mother of Mahmud's son Muhammad. One of his concubines was the mother of his daughter Turkan Khatun, who married Sulaiman Shah, one of the great-grandsons of Qavurt. Some other daughters were Zinat Khatun and Zumurrud Khatun. His sons were Dawud, Malik-Shah III, Muhammad II, Alp Arslan, Farrukh Shah and Ala al-Daula Ata Khan.