The North Azerbaijan , illustrated by
Jean Chardin in 1673
Azerbaijan, possibly the leading province concerning income and army recruitment, was in a state of chaos by 1711. During the early part of that year, a vague and violent conflict took place in
Tabriz, allegedly resulting in the death of 3,000. In the ensuing years, the inhabitants of the city greatly suffered due to high prices and oppressive management. During the early part of 1719, they revolted against the city's cruel governor,
Mohammad-Ali Khan, who fled as a result. The government in Isfahan subsequently punished the inhabitants of Tabriz with a heavy fine. In 1721, Tabriz was affected by a
deadly earthquake, causing the destruction of 75% of the city and the death of over 40,000 inhabitants.
Shirvan In 1702,
Shirvan was described by the Dutch traveler
Cornelis de Bruijn as one of the key provinces of the Safavid realm, admiring it for its fertility, high agricultural yield and cheap prices. The province was then controlled by Allahverdi Khan, known for his assertive and fair rule. However, when de Bruijin returned to Shirvan in 1707, the province was in disarray due to the mismanagement of Allahverdi Khan's son and successor, who was more interested in women and wine. de Bruijin spoke with locals who stated that they would rather live under Russian rule and would not oppose an invasion by them. In 1709,
Lezghi mountaineers capitalized on the power vacuum in Shirvan by launching raids into the province.
Russo-Persian War In June 1722,
Peter the Great, the then
tsar of the neighbouring
Russian Empire, declared war on Safavid Iran in an attempt to expand Russian influence in the
Caspian and
Caucasus regions and to prevent its rival,
Ottoman Empire, from territorial gains in the region at the expense of declining Safavid Iran. The Russian victory ratified for Iran's cession of their territories in the
Northern,
Southern Caucasus and contemporary mainland Northern Iran, comprising the cities of
Derbent (southern
Dagestan) and
Baku and their nearby surrounding lands, as well as the provinces of
Gilan,
Shirvan,
Mazandaran, and
Astrabad to Russia per the
Treaty of Saint Petersburg (1723).
The East Balochi raids The most exposed part of Iran's frontier was located in the extensive arid lands to the east. The area was populated by tribes that neither the Safavids nor the
Mughals were ever successful in pacifying. In 1699, the
Kerman province was overwhelmed by a Balochi invasion. In response, Soltan Hoseyn appointed the
Georgian prince
Gorgin Khan (George XI) as
beglerbeg (governor) of Kerman. The latter had previously served as the
vali (viceroy) of
Georgia, but had been dismissed in 1688 for helping rebel forces against the Safavid governor of
Kakheti. Brave and strong-willed during warfare, Gorgin Khan preferred to use as the solution to any problem. With the help of his brother
Shahqoli Khan (Levan), he routed the numerically superior Balochis in various encounters. In 1703, as a result of incursions by the
Afghans, Soltan Hoseyn appointed Gorgin Khan as the
sepahsalar (commander-in-chief) and governor of
Qandahar, as well as the
vali of Georgia.
Gorgin Khan's governorship of Qandahar At Qandahar, Gorgin Khan soon competed against
Mirwais Hotak, a chief of the
Hotaki clan of the Afghan
Ghilzai tribe, who also served as the
kalantar (mayor) of the city. An affluent man from prominent family, Mirwais was charitable towards his supporters and the poor. He had been under service of the Safavids for a long time, serving as the
qafilah-salar, whose function was to patrol the caravan passage between Iran and India. However, he was dismissed as
qafilah-salar in 1706, apparently due to his poor service and negligence of his responsibility in collecting fees and taxes. Meanwhile, the Afghan relations with Gorgin Khan had become uneasy due to his oppressive rule. Most sources agree that his rule started to become oppressive quickly after his assumption of power in Qandahar. The (nominally Shi'i) Georgian soldiers of Gorgin Khan concealed goods, seized Afghan girls and women, and increased taxes. They also disregarded the religious freedom that the Sunni Afghans had been guaranteed as a condition for accepting Safavid rule. They were said to have defiled Sunni mosques by bringing pigs and wine inside, as well as taking advantage of underaged girls and 9-10 year old boys, with some of them ending up being killed, and their corpses thrown in front of their parents' homes. The Afghans, aggrieved by this treatment, sent complaints to Isfahan, but they were seized by Gorgin Khan's men at the court and thus never reached Soltan Hoseyn. Mirwais planned to rebel against the Georgians, but was soon arrested and brought to Isfahan under the orders of Gorgin Khan, who was suspicious of him. The latter urged Soltan Hoseyn to eliminate him, or at least prohibit him from going back to Qandahar. During his stay at Isfahan, Mirwais observed the fragility of the Iranian regime, as well as the possibility to benefit from the factional strife there. Through proficient flattery and bribery, he successfully reintegrated himself. He persuaded Soltan Hoseyn that Gorgin Khan was not trustworthy, as he planned to make his rule in Qandahar autonomous, and also planned a Russo-Georgian alliance against Iran.
The rebellion of Mirwais Mirwais was given permission to go on a pilgrimage to
Mecca, where he convinced the religious authorities to declare a
fatwa that gave the Afghans the right to become independent of Iranian control. In 1708, he was sent back to Qandahar as a shadow administrator, where he launched a massive rebellion. In April 1709, the Afghans made a surprise attack against Gorgin Khan and his retinue, killing them in their tents. They subsequently took control over Qandahar, and massacred its Georgian garrison. The news of these developments did not motivate the government to take action. Soltan Hoseyn instead sent two emissaries in a row to protest, but they were both jailed. Soltan Hoseyn then responded by selecting Gorgen Khan's nephew
Khosrow Khan (Kay Khosrow) as the commander of the Afghan expedition. The latter had previously served as the
darugha (
prefect) of Isfahan, and following Gorgin Khan's death became the new
sepahsalar and
vali of Georgia. Khosrow Khan struggled to prepare the expedition, as he was given an insufficient amount of 7,000 to pay for 3,000 soldiers. The grand vizier, as well as members of the anti-Georgian court faction, greatly hindered the release of funds for the expedition. Khosrow Khan instead found reassurance through military support by the
Herat-based Afghan
Abdali tribe, the adversaries of the Ghilzai. After two years of warfare with the Ghilzai, Khosrow Khan finally besieged Qandahar with Abdali assistance. Two months, later the Ghilzai appealed for peace. However, after being demanded of total surrender to the Iranian forces, they continued fighting. In October 1711, Khosrow Khan and his exhausted soldiers were forced to withdraw, due to the summer heat, illness, shortage of supplies, and attacks by the Baluchi, who had joined the Afghans. Khosrow Khan and many of his troops were killed by the pursuing Afghan soldiers, who took their military equipment. In late 1712, the
qorchibashi (head of the mounted cavalry or royal guards) Mohammad Zaman Khan was entrusted with the task of attacking the Afghans whilst assembling an army en route. However, the lack of funds greatly hindered his expedition. Rather than using money from his own treasury, Soltan Hoseyn forced the merchants in Isfahan and
New Jolfa to give a combined amount of 14,000
tomans. The expedition eventually fell apart when Zaman Khan died near Herat in the spring of 1712. He was succeeded by Mansur Khan Shahsevan, whose expedition also ended in failure. He left Isfahan in September 1713 with fifty troops and more or less without any funds. Meanwhile, Sultan Husayn had forced his courtiers to lend him money to construct a new
maydan (town square) in
Farahabad. During the summer of 1713, 500 soldiers were marching towards the east, with no funds and horses and equipped with sticks. Mahd Ali Khan, who governed
Farah, was unable to march towards with his 1,500 soldiers towards Mirwais due to lack of funds. Many of his soldiers had deserted and made the countryside dangerous, causing the locals more trouble than the Afghans. Meanwhile, the local militia of
Marv had revolted due to the lack of pay, and a force of 8,000
Turkmens were marching towards
Mashhad.
The Afghan capture of Isfahan Following the death of Mirwais in 1715, the Iranians failed in their efforts to appease the Afghans through compromises, as Mirwais's son and later successor
Mahmud Hotak () swore to get his revenge against the Iranians. The Afghans advanced into the heartland of Iran in 1720, conquering Kerman. Six months later, they chose to withdraw, but came back the next year, causing chaos in the southeast and eastern part of the country. Nevertheless, Soltan Hosayn continued to use the majority of his time and funds on construction projects. Mahmud and his army swept westward aiming at the shah's capital of Isfahan itself. Rather than biding his time within the city and resisting a siege in which the small Afghan army was unlikely to succeed, Soltan Hoseyn marched out to meet Mahmud's force at Golnabad. Here, on 8 March, the royal army was
thoroughly routed and fled back to Isfahan in disarray. The shah was urged to escape to the provinces to raise more troops but he decided to remain in the capital which was now encircled by the Afghans. Mahmud's
siege of Isfahan lasted from March to October, 1722. Lacking artillery, he was forced to resort to a long blockade in the hope of starving the Iranians into submission. Soltan Hoseyn's command during the siege displayed his customary lack of decisiveness and the loyalty of his provincial governors wavered in the face of such incompetence. Protests against his rule also broke out within Isfahan and the shah's son,
Tahmasp, was eventually elevated to the role of co-ruler. In June, Tahmasp managed to escape from the city in a bid to raise a relief force in the provinces, but little came of this plan. Starvation and disease finally forced Isfahan into submission. It is believed that over 80,000 of the inhabitants of the city died during the siege. On 23 October, Soltan Hoseyn abdicated and acknowledged Mahmud as the new shah of Iran.
Captivity and death Mahmud initially treated Soltan Hoseyn considerately, but as he gradually became mentally unbalanced he began to view the former shah with suspicion. In February 1725, believing a rumour that one of Soltan Hoseyn's sons, Safi Mirza, had escaped, Mahmud ordered the execution of all the other Safavid princes who were in his hands, with the exception of Soltan Hoseyn himself. When Soltan Hoseyn tried to stop the massacre, he was wounded, but his action saved the lives of two of his young children. Mahmud succumbed to insanity and died on 25 April of the same year. Mahmud's successor
Ashraf Khan at first treated the deposed shah with sympathy. In return, Soltan Hoseyn gave him the hand of one of his daughters in marriage, a move which would have increased Ashraf's legitimacy in the eyes of his Iranian subjects. However, Ashraf was involved in a war with the
Ottoman Empire, which contested his claim to the Iranian throne. In the autumn of 1726, the Ottoman governor of
Baghdad, Ahmad Pasha, advanced with his army on Isfahan, sending an insulting message to Ashraf saying that he was coming to restore the legitimate shah to the throne. In response, Ashraf had Soltan Hoseyn's head cut off and sent it to the Ottoman with the message that "he expected to give Ahmad Pasha a fuller reply with the points of his sword and his lance". As the
Iranologist Michael Axworthy comments, "In this way Shah Soltan Hoseyn gave in death a sharper answer than he ever gave in life". == Religious policy ==