Ghaznavids


The Ghaznavid dynasty was a Persianate Muslim dynasty of Turkic mamluk origin. It ruled the Ghaznavid Empire or the Empire of Ghazni from 977 to 1186, which at its greatest extent, extended from the Oxus to the Indus Valley. The dynasty was founded by Sabuktigin upon his succession to the rule of Ghazna after the death of his father-in-law, Alp Tigin, who was an ex-general of the Samanid Empire from Balkh.
Sabuktigin's son, Mahmud of Ghazni, expanded the Ghaznavid Empire to the Amu Darya, the Indus River and the Indian Ocean in the east and to Rey and Hamadan in the west. Under the reign of Mas'ud I, the Ghaznavid dynasty began losing control over its western territories to the Seljuk Empire after the Battle of Dandanaqan in 1040, resulting in a restriction of its holdings to modern-day Afghanistan, Pakistan and Northern India.
In 1151, Sultan Bahram Shah lost Ghazni to the Ghurid sultan Ala al-Din Husayn. The Ghaznavids retook Ghazni, but lost the city to the Ghuzz Turks who in turn lost it to Muhammad of Ghor. In response, the Ghaznavids fled to Lahore, their regional capital. In 1186, Lahore was conquered by the Ghurid sultan, Muhammad of Ghor, with its Ghaznavid ruler, Khusrau Malik, imprisoned and later executed.

Rise to power

Two military families arose from the Turkic slave-guards of the Samanid Empire, the Simjurids and Ghaznavids, who ultimately proved disastrous to the Samanids. The Simjurids received an appanage in the Kohistan region of eastern Khorasan. The Samanid generals Alp Tigin and Abu al-Hasan Simjuri competed for the governorship of Khorasan and control of the Samanid Empire by placing on the throne emirs they could dominate after the death of Abd al-Malik I in 961. His death created a succession crisis between his brothers.
A court party instigated by men of the scribal class – civilian ministers rather than Turkic generals – rejected the candidacy of Alp Tigin for the Samanid throne. Mansur I was installed instead, and Alp Tigin prudently retired to south of the Hindu Kush, where he captured Ghazna and became the ruler of the city as a Samanid authority. The Simjurids enjoyed control of Khorasan south of the Amu Darya but were hard-pressed by a third great Iranian dynasty, the Buyid dynasty, and were unable to survive the collapse of the Samanids and the subsequent rise of the Ghaznavids.
The struggles of the Turkic slave generals for mastery of the throne with the help of shifting allegiance from the court's ministerial leaders both demonstrated and accelerated the Samanid decline. Samanid weakness attracted into Transoxiana the Karluks, a Turkic people who had recently converted to Islam. They occupied Bukhara in 992, establishing in Transoxania the Kara-Khanid Khanate.
Alp Tigin's died in 963, and after two ghulam governors and three years, his slave Sabuktigin became the governor of Ghazna.

Domination

Sabuktigin

Sabuktigin lived as a mamluk, Turkic slave-soldier, during his youth and later married the daughter of his master Alptigin, who fled to Ghazna following a failed coup attempt, and conquered the city from the local Lawik rulers in 962. After Alptigin death, his son Abu Ishaq Ibrahim governed Ghazna for three years. His death was followed by the reign of a former ghulam of Alptigin, Bilgetigin. Bilgetigin's rule was so harsh the populace invited Abu Bakr Lawik back. It was through Sabuktigin's military ability that Lawik was removed, Bilgetigin was exiled, and Sabuktigin gained the governorship.
Once established as governor of Ghazna, Sabuktigin was asked to intervene in Khurasan, at the insistence of the Samanid emir, and after a victorious campaign received the governorships of Balkh, Tukharistan, Bamiyan, Ghur and Gharchistan. Sabuktigin inherited a governorship in turmoil. In Zabulistan, the typical military fief system were being changed into permanent ownership which resulted in the Turkic soldiery unwilling to take up arms. Sabuktigin reformed the system making them all a mustaghall-type fief. In 976, he ended the conflict between two Turkic ghulams at Bust and restored the original ruler. Later that same year, Sabuktigin campaigned against Qusdar, catching the ruler off guard and obtaining an annual tribute from him.
After the death of Sabuktigin, his son by Alptigin's daughter, Ismail, was given Ghazna. Another son, Abu'l-Muzaffar Nasr, was given the governorship of Bust, while in Khorasan, the eldest son Mahmud, was given command of the army. Sabuktigin's intent was to ensure governorships for his family, despite the decaying influence of the Samanid Empire, and did not consider his dynasty as independent. Ismail, upon gaining his inheritance, quickly traveled to Bust and did homage to Emir Abu'l-Harith Mansur b. Nuh. Mahmud, who had been left out of any significant inheritance, proposed a division of power, to which Ismail refused. Mahmud marched on Ghazna and subsequently Ismail was defeated and captured in 998 at the Battle of Ghazni.

Mahmud, son of Sabuktigin

In 998, Mahmud, son of Sebuktigin, succeeded to the governorship, and Ghazni and the Ghaznavid dynasty became perpetually associated with him. He emphasized his loyalty in a letter to the caliph, saying that the Samanids had only been replaced because of their treason. Mahmud received the governorship of Khurasan and titles of Yamin al-Dawla and Amin al-Milla. As a representative of caliphal authority, he championed Sunni Islam by campaigning against the Ismaili and Shi'ite Buyids. He completed the conquest of the Samanid and Shahi territories, including the Ismaili Kingdom of Multan, Sindh, as well as some Buwayhid territory.
By all accounts, the rule of Mahmud was the golden age and height of the Ghaznavid Empire. Mahmud carried out seventeen expeditions through northern India to establish his control and set up tributary states, and his raids also resulted in the looting of a great deal of plunder. He established his authority from the borders of Ray to Samarkand, from the Caspian Sea to the Yamuna.
During Mahmud's reign, the Ghaznavids settled 4,000 Turkmen families near Farana in Khorasan. By 1027, due to the Turkmen raiding neighbouring settlements, the governor of Tus, Abu l'Alarith Arslan Jadhib, led military strikes against them. The Turkmen were defeated and scattered to neighbouring lands. Still, as late as 1033, Ghaznavid governor Tash Farrash executed fifty Turkmen chiefs for raids into Khorasan.

Indian conquests

Mahmud of Ghazni led incursions deep into India, as far as Mathura, Kannauj and Somnath. In 1001, he defeated the Hindu Shahi in the Battle of Peshawar. In 1004-5, he invaded the Principality of Bhatiya and in 1006 the neighbouring Emirate of Multan. In 1008-9, he again vanquished the Hindu Shahis at the Battle of Chach, and established Governors in the conquered areas. In India, the Ghaznavids were called Turushkas or Hammiras.
In 1018, he laid waste the city of Mathura, which was "ruthlessly sacked, ravaged, desecrated and destroyed". According to Muhammad Qasim Hindu Shah, writing an "History of Hindustan" in the 16th-17th century, the city of Mathura was the richest in India. When it was attacked by Mahmud of Ghazni, "all the idols" were burnt and destroyed during a period of twenty days, gold and silver was smelted for booty, and the city was burnt down. In 1018 Mahmud also captured Kanauj, the capital of the Pratiharas, and then confronted the Chandelas, from whom he obtained the payment of tribute. In 1026, he raided and plundered the Somnath temple, taking away a booty of 20 million dinars.
The wealth brought back from Mahmud's Indian expeditions to Ghazni was enormous, and contemporary historians give glowing descriptions of the magnificence of the capital and of the conqueror's munificent support of literature. Mahmud died in April 1030 and had chosen his son, Mohammed, as his successor.

Decline

Twin sons of Mahmud

Mahmud left the empire to his son Mohammed, who was mild, affectionate and soft. His brother, Mas'ud, asked for three provinces that he had won by his sword, but his brother did not consent. Mas'ud had to fight his brother, and he became king, blinding and imprisoning Mohammed as punishment. Mas'ud was unable to preserve the empire and following a disastrous defeat at the Battle of Dandanaqan in 1040, he lost all the Ghaznavid lands in Persia and Central Asia to the Seljuks, plunging the realm into a "time of troubles". His last act was to collect all his treasures from his forts in hope of assembling an army and ruling from India, but his own forces plundered the wealth and he proclaimed his blind brother as king again. The two brothers now exchanged positions: Mohammed was elevated from prison to the throne, while Mas'ud was consigned to a dungeon after a reign of ten years and was assassinated in 1040. Mas'ud's son, Madood, was governor of Balkh, and in 1040, after hearing of his father's death, he came to Ghazni to claim his kingdom. He fought with the sons of the blind Mohammed and was victorious. However, the empire soon disintegrated and most kings did not submit to Madood. In a span of nine years, four more kings claimed the throne of Ghazni.

Ibrahim

In 1058, Mas'ud's son Ibrahim, a great calligrapher who wrote the Koran with his own pen, became king. Ibrahim re-established a truncated empire on a firmer basis by arriving at a peace agreement with the Seljuks and a restoration of cultural and political linkages. Under Ibrahim and his successors the empire enjoyed a period of sustained tranquility. Shorn of its western land, it was increasingly sustained by riches accrued from raids across Northern India, where it faced stiff resistance from Indian rulers such as the Paramara of Malwa and the Gahadvala of Kannauj. He ruled until 1098.

Mas'ud III

became king for sixteen years, with no major event in his lifetime, prologing the period of peace established by his predecessor Ibrahim.
Mas'ud built the Palace of Sultan Mas'ud III and one of the Ghazni Minarets. Signs of weakness in the state became apparent when he died in 1115, with internal strife between his sons ending with the ascension of Sultan Bahram Shah as a Seljuk vassal. Bahram Shah defeated his brother Arslan for the throne at the Battle of Ghazni in 1117.