Berkyaruq

Rukn al-Din Abu'l-Muzaffar Berkyaruq ibn Malikshah (1079/80 – 1105), better known as Berkyaruq (برکیارق), was the fifth sultan of the Seljuk Empire from 1094 to 1105.

The son and successor of Malik-Shah I ((r. 1072 – 1092)), he reigned during the opening stages of the decline and fragmentation of the empire, which marked the rise of Turkoman atabegates and principalities, which would eventually stretch from Kirman to Anatolia and Syria. His reign was marked by internal strife, mainly against other Seljuk princes. By his death in 1105, his authority had largely vanished. His infant son Malik-Shah II briefly succeeded him, until he was killed by Berkyaruq's half-brother and rival Muhammad I Tapar ((r. 1105 – 1118)).

Name
Berkyaruq is a Turkic word meaning "firm, unwavering light". Contrary to their Ghaznavid predecessors—who had largely abandoned their Turkic heritage in favour of Persian—the Seljuks maintained and took pride in their origins, carrying Turkic names such as Berkyaruq, Arslan Arghu or Sanjar.

Background
Born in 1079 or 1080 in the Seljuk capital of Isfahan, Berkyaruq was the oldest son of Malik-Shah I ((r. 1072 – 1092)) and the latter's cousin, the Seljuk princess Zubayda Khatun. Berkyaruq was only thirteen at the time of his father's death in November 1092, meaning that there were no princes of age to inherit the vast Seljuk empire. Berkyaruq's half-brother Muhammad Tapar was eleven, while another half-brother named Mahmud was four. A brother of Malik-Shah titled Tutush I, who ruled Syria on his brother's behalf, claimed the throne as the only adult, but gained little support from the Turkic elite. Malik-Shah's death thus marks the start of the decline and fragmentation of the empire, with amirs and palace elites trying each to gain power by supporting one of his young sons as sultan. This would ultimately mark the start of Turkoman atabegates and principalities, which would later stretch from Kirman to Anatolia and Syria.

One of Malik-Shah's wives, Terken Khatun, in cooperation with the Seljuk vizier Taj al-Mulk, installed her four-year-old son Mahmud on the throne at Baghdad. She convinced the Abbasid caliph al-Mustazhir ((r. 1094 – 1118)) to have the khutba (friday sermon) read in Mahmud's name, and sent an army under the amir Qiwam al-Dawla Kirbuqa to take Isfahan and capture Berkyaruq. Meanwhile, the family and supporters of the deceased Seljuk vizier Nizam al-Mulk (known as the "Nizamiyya"), led by the Turkic slave-soldier (ghulam) Er-Ghush, supported Berkyaruq. They had Berkyaruq smuggled out of Isfahan and sent to his atabeg (guardian) Gumushtigin in Saveh and Aveh, who had him crowned at Ray.

Initial challenges and consolidation of power
Although Berkyaruq was generally supported by the Nizamiyya, the modern historian Clifford Edmund Bosworth states that "this does not necessarily imply that the Nizamiyya had a collective policy, for none of the sons of Nizam al-Mulk was his father's equal in ability, and opportunism and personal factors seem often to have swayed them". The Nizamiyya were most importantly looking to seek vengeance against Taj al-Mulk, who was believed to have been behind the death of his rival Nizam al-Mulk (which according to modern historian Andrew Peacock, was probably partly true). A battle took place between the two factions in January 1093, resulting in the defeat of Mahmud's supporters and the capture of Taj al-Mulk. Berkyaruq, aware of Taj al-Mulk's bureaucratic prowess, was willing to make him his vizier. Taj al-Mulk had even managed to appease a section of the Nizamiyya through bribery. Still, this was not enough: the Nizamiyya, thirsty for revenge, secured his execution on 12 February. Terken Khatun soon summoned the Seljuk prince Ismail ibn Yaquti to attack Berkyaruq. Although the former had raised an army of Turkoman from Azerbaijan and Arran, he was defeated and executed by Berkyaruq's atabeg Gumush-Tegin. Terken Khatun then tried to reach out to Tutush, but suddenly died in 1094, with her sickly son Mahmud dying a month later. Berkyaruq also had to deal with his uncle Tutush, who invaded the Jazira and western Iran, seizing the city of Ray. He was, however, killed by Berkyaruq's forces near the same city on 25 February 1095. Berkyaruq thus managed to consolidate his authority in western Iran and Iraq, and was also acknowledged as the sultan by al-Mustazhir. During the chaos that ensued, Malik-Shah's brother Arghun Arslan conquered most of Khurasan (except the city of Nishapur), attempting to establish his own principality in the province. Berkyaruq first sent an army under his uncle Bori-Bars ibn Alp-Arslan in 1095 to conquer Khurasan, but the latter was captured and killed. He sent a second army under his half-brother Ahmad Sanjar in 1097, but before anything occurred Arghun Arslan was killed by one of his own ghulams, due to his brutal treatment of his subjects. Berkyaruq appointed Sanjar as the vassal ruler (malik) of Khurasan, giving him his own atabeg (Amir Qumaj) and vizier (al-Tughrai).

Berkyaruq then led an expedition as far east as Tirmidh, where he confirmed the Qarakhanids Sulayman-tegin and Mahmud-tegin as the vassal rulers of Transoxiana. He also appointed Qutb al-Din Muhammad as the new governor of the Central Asian region of Khwarazm, thus marking the start of the Khwarazmian dynasty. He spent seven months in the city of Balkh, and then returned to the west. However, after leaving his eastern possessions, the area was plunged into a series of revolts, including one by the Seljuk prince Dawlatshah. The name of Berkyaruq started to get excluded from the coins struck at Nishapur, which testifies to the slow disintegration of his rule in Khurasan. Preoccupied by continuous internal issues, Berkyaruq was unavailable to respond to the advent of the First Crusade in Syria in 1097. The crusaders besieged Antioch and sacked Ma'arrat al-Nu'man. Furthermore, Berkyaruq had little reason to help the Seljuks of Syria, who fought amongst themselves, dividing the country. The northern part was ruled by Fakhr al-Mulk Radwan, and the southern part by Shams al-Muluk Duqaq. When the Crusaders entered Syria, Ridwan shifted his allegiance from Berkyaruq to the Fatimid Caliphate.

Conflict with Muhammad I Tapar
The most difficult challenge that Berkyaruq faced was the rebellion of his half-brother Muhammad in 1098 or 1099. The rebellion had been encouraged by Nizam al-Mulk's son Mu'ayyid al-Mulk, who had formerly served Berkyaruq and played a key-role in the defeat of Tutush. After his dismissal by Berkyaruq, he entered into the service of Muhammad, who appointed him as his vizier. Mu'ayyid al-Mulk made use of his newfound position to exact vengeance on his rivals, which was made easier because Muhammad had yet to reach adulthood (approximately 17 years old at the time). The Nizamiyya and the prominent families of Isfahan also joined Muhammad, stopping Berkyaruq from entering the city. The rebellion was launched from Muhammad's base at the city of Ganja in Arran, which had been given to him as an iqta' (land grant) by Berkyaruq back in 1093.

Muhammad's capture of Ray exposed the vulnerability of Berkyaruq's realm. Sa'd al-Dawla Gawhara'in, the shihna (military administrator) of Baghdad, soon joined Muhammad, which implies that the city was also added to his domain. Nevertheless, the five-year war continued to be indecisive, with Baghdad repeatedly changing hands. Even with the support of Sanjar (who despised Berkyaruq), Muhammad was unable to defeat his rival. Berkyaruq's authority continued to weaken, and by 1104, with his treasury exhausted, he was forced to sue for peace. A treaty was subsequently made, which acknowledged Muhammad as the ruler of southern Iraq, northern Iran, the Diyar Bakr, Mosul and Syria, while Berkyaruq was acknowledged as the ruler of the rest of Iran (including Isfahan) and Baghdad. The treaty, however, did most likely not display the true circumstances of the situation. The following year (1105), there were no coin mints citing the name of Berkyaruq in the central Islamic lands. En route to Isfahan, he died of tuberculosis at the age of 25 near the town of Borujerd, and was succeeded by his infant son Malik-Shah II. Baghdad was subsequently captured by Muhammad, who had Malik-Shah II killed.