Kamran Mirza Durrani (Pashto/Persian: کامران میرزا دورانی) was the last Durrani ruler of Herat from 1826 to 1842. He was the son and successor of Mahmud Shah Durrani (). During Kamran Mirza's early life, a lengthy struggle for control of the capital Kabul occurred between his father and his father's half-brother, Shah Shujah Durrani (). In this period, Kamran Mirza governed the city of Kandahar, while his uncle Firuz al-Din Mirza ruled Herat under Iranian suzerainty. When Firuz al-Din rebelled in 1814, Kamran Mirza suppressed the revolt.

In 1818, the Durrani minister Fateh Khan Barakzai deposed Firuz al-Din as ruler of Herat; his troops then plundered the city, and his brother Dost Mohammad Khan raped Kamran Mirza's sister. In revenge, Kamran Mirza captured Fateh Khan and had him executed, which prompted a rebellion by Fateh Khan's brothers. This forced Mahmud Shah and Kamran Mirza to retreat to Herat, the last Durrani stronghold. In 1826, Kamran Mirza became the ruler of Herat after defeating his father, who then withdrew from politics. In an attempt to strengthen Iranian control of Herat, the Iranian crown prince Abbas Mirza besieged Herat in 1833. Although Abbas Mirza died during the siege, Kamran Mirza acknowledged Iran's nominal suzerainty. A second siege took place in 1837–1838 under Mohammad Shah Qajar (), but British intervention forced the Iranians to withdraw. After the British embassy left Herat, Kamran Mirza renewed his allegiance to Iran in 1841.

Most assessments are negative about Kamran Mirza's personality and style of government, with European and Persian records typically mentioning his debauchery. Eventually, in 1842, his minister Yar Muhammad Khan Alakozai took full control of state administration and killed him.

Background

Kamran Mirza is referred to as "prince" in both Afghan and Iranian texts, although they use distinct terms. 19th-century Afghan sources use the title of "Shahzada", while the 19th-century Iranian historian Mohammad Taqi Sepehr uses "Mirza". Kamran Mirza was a son of Mahmud Shah Durrani (), and the nephew of Firuz al-Din Mirza Durrani. They belonged to the Afghan Durrani dynasty, established in 1747 by Ahmad Shah Durrani after breaking away from Iranian rule. Besides ruling much of northern India and eastern Iran, Ahmad Shah's domains also included the cities of Kandahar (his capital), Kabul, Herat, and Balkh, corresponding to modern-day Afghanistan. Under the rule of Kamran Mirza's grandfather Timur Shah Durrani (), Kabul became the new capital. After Timur Shah's death, the Durrani kingdom started losing territory, including its western part to Qajar Iran in 1795 and the majority of its Indian holdings to the Sikh Empire between 1818 and 1821. Only Kabul and Kandahar remained under the Durrani dynasty's direct rule, while Herat and Balkh were held with limited authority.

During Kamran Mirza's early life, a lengthy struggle for the control of Kabul occurred between his father and the latter's half-brother, Shah Shujah Durrani (). During both of Mahmud Shah's rules in Kabul, Kamran Mirza held the governorship of Kandahar. The violent succession of Mahmud Shah had weakened the Durrani kingdom, disrupting the balance of power in Kabul, Kandahar, and Herat. Since Mahmud Shah's succession, Herat had been controlled by his brother Firuz al-Din Mirza.

Iran, which had financed Mahmud Shah in his fight for the Durrani throne, maintained its weak control over Herat despite the intense dynastic struggles within the Durrani family. Located in the historical region of Khorasan, Herat was viewed by Iran's ruling Qajar dynasty as an integral part of the Guarded Domains of Iran. Uncertainty over Herat's status as an Iranian tributary influenced many developments in the early 19th century.

Career under his father In 1807 and 1814, Firuz al-Din Mirza attempted to rebel against Iran, but was defeated both times. During the second time, he was defeated by Kamran Mirza. Firuz al-Din Mirza fled to the Iranian general Ismail Khan Damghani, who convinced Kamran Mirza to stop pursuing Firuz al-Din Mirza, and had the latter restored in Herat under Iranian suzerainty.

In April 1818, the Durrani minister Fateh Khan Barakzai deposed Firuz al-Din Mirza and took over Herat. During this incident, soldiers entered the city, raping and plundering the inhabitants. Fateh Khan and his brother Dost Mohammad Khan entered Firuz al-Din Mirza's harem, raped every woman who attracted their attention and removed their jewelry and clothes. This included Kamran Mirza's sister, who was raped by Dost Mohammad Khan. After Kamran Mirza was informed of the incident by a letter from his sister, he vowed to avenge her. When Dost Mohammad Khan found out about this, he fled to Kashmir. In Herat, the Iranian ambassador was driven out by Fateh Khan, who instructed him to notify the Iranian ruler Fath-Ali Shah Qajar () that Mahmud Shah had assumed power. Worried that Iran would use this as a pretext to conquer Herat, Mahmud Shah quickly sent Kamran Mirza to Fath-Ali Shah's camp with a letter apologizing for the Iranian ambassador's removal and condemning Fateh Khan's behavior. Fath-Ali Shah pressed Kamran Mirza to prove his friendship by either blinding Fateh Khan or surrendering him as a prisoner.

Once back in Kabul, Kamran Mirza informed Mahmud Shah about Fateh Khan's insubordination, the plundering of Herat, and the rape of Mahmud Shah's daughter. Kamran Mirza was subsequently ordered to capture Herat and punish Fateh Khan. Kamran Mirza sent messages to Fateh Khan, stating that he had come to deliver Mahmud Shah's congratulations on his victory over Iran, hiding his real purpose. In Herat, he acted in an accommodating manner, making Fateh Khan feel welcome and persuading him to share breakfast with him every day. Fateh Khan disregarded the warnings from his advisors that Kamran Mirza was untrustworthy. One morning, Fateh Khan attended breakfast with Kamran Mirza, only to find himself surrounded by enemies. After enduring their insults, he tried to leave but was attacked, blinded with a dagger, and imprisoned. Days later, his eyes were gouged out, and the wounds cauterized.

Some months later, Fateh Khan was brought before Mahmud Shah in the town of Ghazni, where he was assured that his life would be spared if he summoned his brothers to personally swear allegiance to Mahmud Shah. He declined because he was afraid his brothers would get the same treatment as him. As a result, he was subsequently executed, which was politically devastating for the Durrani dynasty. His brothers, holding important Durrani governorships, rebelled upon hearing of his death.

Conflict with his father The rebellion forced Mahmud Shah, the rest of his family (including Kamran Mirza) and a handful of loyal followers to withdraw to Herat, which became the last stronghold of the Durrani dynasty. Removed from Herat's fortress by Kamran Mirza in 1819, Mahmud Shah sought safety at the Shrine of Khwaja Abd Allah in the Gazurgah village. He subsequently gathered an army at Maymana and laid siege to Herat. After several months of deadlock, he made an agreement with Kamran Mirza that he would renounce any control over the government in return for being allowed to return to Herat.

In July 1826, Kamran Mirza fell into another conflict with his father and requested direct aid from Hasan Ali Mirza, the Iranian prince and governor of Khorasan, who had earlier supplied him with 500 cavalry soldiers. Before the latter and his forces arrived, Kamran Mirza defeated Mahmud Shah. Following that, Hasan Ali Mirza was invited inside the city by Kamran Mirza and his nobles, who also gave him the keys to the fortress and the city. Hasan Ali Mirza took advantage of the situation to establish a stronger Iranian presence in Herat. He stationed his son Arghun Mirza at the head of 5,000 cavalry soldiers and three cannons, returning to Mashhad in August 1826. Mahmud Shah stepped away from politics, while Kamran Mirza became the new ruler of Herat.

Reign First siege of Herat

After Hasan Ali Mirza was summoned back to Tehran in January 1827, his achievements were reversed after less than three months under the governorship of his son Hulaku Khan. Less than a decade later, widespread anti-Iranian tensions in Herat and Britain's increasing engagement in Afghanistan started to heavily endanger Iran's rule over Herat. The British East India Company had started to advocate for Herat's autonomy as a buffer state between northwestern India, Russia and Iran, even though they had previously supported Iranian rule over the city. In late 1831, the Iranian crown prince Abbas Mirza received the governorship of Khorasan, which led to growing hostilities with Kamran Mirza. The latter received an ultimatum from Abbas Mirza at the beginning of 1833 with two options. He could have the name of the Iranian shah mentioned on coin engravings and in Friday prayers, pay taxes, and release hostages. Alternatively, he could relinquish Herat and appear at the Iranian court.

Kamran Mirza responded by offering a "gift" of 15,000 toman in gold coins, warning Abbas Mirza that demanding more would mean war. In the summer of 1833, Abbas Mirza sent an army to besiege Herat. Abbas Mirza wanted to capture Herat to show his military capabilities, but his advance also served the objectives of the Russian Empire. Iran's control of Herat was seen by the Russians as a threat to British India and a challenge to British objectives in Afghanistan. The Iranian army against Herat was led by Abbas Mirza's sons Mohammad Mirza and Khosrow Mirza, as well as his minister Abol-Qasem Qa'em-Maqam.

As a result, Kamran Mirza made an alliance with the British, whose representatives convinced him to oppose a military takeover by Iran. Capturing a portion of Iranian territory in Sistan was something he also considered. Mohammad Mirza was forced to end the siege and return to Tehran after learning of Abbas Mirza's death in Mashhad in November 1833. There, he was crowned the new crown prince. In late November 1833, Mohammad Mirza summoned the minister of Herat, Yar Muhammad Khan Alakozai, to Mashhad and put him in charge of negotiating a deal with Herat. A treaty was shortly made afterwards, in which Kamran Mirza was required to send one of his sons as a hostage, have the name of the Iranian shah mentioned on coin engravings and Friday prayers, and provide 15,000 toman and 50 rolls of cashmere wool as a "gift".

Even though Herat was officially under Iranian control, the income generated from there had significantly decreased since 1817 and, compared to the more established provinces in Iran, was insignificant.

Second siege of Herat

On 7 November 1834, Mohammad Mirza (now known as Mohammad Shah) succeeded Fath-Ali Shah and quickly renewed Abbas Mirza's plans for Khorasan. He insisted that Kamran Mirza abandon the title of shah, mention his name on coin engravings and Friday prayers, and pay an annual fee. Kamran Mirza declined, claiming that it was his right due to his ancestor Saddu Khan being named Mir-i Afghaniha and given the title of sultan by an Iranian ruler. He added that "the Afghans will never permit any other person to rule over them so long as a single Afghan remains alive in Herat."