Shirvan Khanate (Persian: خانات شیروان, romanized: Khānāt-e Shirvan) or Shamakhy khanate was a Caucasian khanate under Iranian suzerainty, which controlled the Shirvan region around Shamakhy from 1761 to 1820.
Contents
Background
Under the Safavid dynasty of Iran, Shirvan was a leading silk manufacturer and its principal city, Shamakhi, became an important place for trade. In 1724, most of Shirvan was annexed to the Ottoman Empire by the Treaty of Constantinople. In 1734, the Iranian military leader Nader recovered Shirvan and installed Mohammad Mehdi Khan as its beglarbegi (governor-general).
The following year, Mohammad Mehdi Khan was killed by rebellious dignitaries of the province. They had been incited by the governor of Darband, Morad-Ali Soltan Ostajlu. Mohammad Qasem Beg, who was a prominent dignitary of Shirvan and Nader's ishikaghasi-bashi (chamberlain), successfully appealed to Nader to pardon Shirvan. In 1735, Nader had the inhabitants of Shamakhi resettled in New Shamakhi (Aqsu), situated 18 miles north of the Kur River. He then installed as Sardar Khan Qaraqlu the new governor of Shirvan, and soon appointed Heydar Khan Afshar as the ruler of both Shirvan and Darband. In 1743, the Safavid pretender Sam Mirza led a local rebellion, overthrowing Heydar Khan. In 1761, the Zand ruler Karim Khan Zand (r. 1751–1779) approved the request of the inhabitants of Old Shamakhi to overthrow Sardar Khan Qaraqlu and install their own applicant, Hajji Mohammad Ali Khan, as the governor of Shirvan.
History
Hajji Mohammad Ali Khan governed Shirvan until 1763, when Fath-Ali Khan of Quba gained influence there, and appointed his own governors, such as Aghasi Beg and Askar Beg, both members of the same family. Askar Beg, along with supporters from the Khanchoban tribe, returned to Old Shamakhi, and soon became powerful enough to establish control over New Shamakhi. Aghasi Beg and another family member Mohammad Sa'id successfully acquired the title of khan from Karim Khan Zand. The family were in control of Shirvan until 1767, when a combined army from Quba and Shakki captured Old Shamakhi. Fath-Ali Khan of Quba had Mohammad Sa'id imprisoned, while Hosein Khan of Shakki had Aghasi Khan blinded. Shirvan was subsequently divided between Quba and Shakki. Nevertheless, Aghasi Khan later managed to restore his control over Shirvan, in 1774. He was later succeeded by his son Mostafa Khan.
In 1790, Shirvan khans restored their authorities.
After the massacre in Ganja, Mostafa Khan asked the central government in Tehran for assistance, in order to prevent Tsitsianov's advance. The government responded by sending an army under general Pir Qoli Khan Qajar. However, when the general had reached the Mughan plain, he found out that Mostafa Khan had entered negotiations with the Russians. Mostafa Khan hoped that the Russians would recognize a Shirvan Khanate "enlarged" to the boundaries of the Shirvanshah's of the Medieval era. Though Mostafa Khan was uncomfortable with Tsitsianov's proposal, the latter threatened that if he would not agree with his terms, he would replace Mostafa with his younger brother (who was reportedly enthusiastic about it). Anyhow, the Russians invaded the khanate, and on 6 January 1806, Mostafa Khan was forced to submit.
"I, Mostafa Khan of Shirvan, in my name and that of my heirs, remove myself forever from the vassalage or honors of Persia (Iran) or any other state. I declare before the entire world that I do not recognize anyone as my liege, except His Imperial Majesty, the Emperor of All the Russias, and His heirs to the throne. I promise to be a loyal slave to that throne. I swear this by the Holy Qur'an."
Mostafa Khan was allowed to administer the khanate and had to give an annual tribute in gold rubles to the Russians. Furthermore, he had to send hostages to Tiflis (Tbilisi), which had recently been annexed and transformed into the "base" of the Russian Caucasus Viceroyalty. Lastly, he also had to provide food and accommodation for the Russian garrisons. After Tsitsianov was killed in Baku in 1806, Mostafa Khan repudiated his allegiance to the Russians, and re-submitted himself to the shah.
Administration
The Khanate was composed of 17 mahals (districts):
Salyan Mahal
Howz Mahal
Sedenrud Mahal
Khanchoban Mahal
Elat Mahal
Koshun Mahal
Qarasubasar Mahal
Kessan Mahal
Ekeret Mahal
Qobustan Mahal
Lahij Mahal
Rudbar Mahal
Mughan Mahal
Navahin Mahal
Qarabaghlar Mahal
Boluket Mahal
Khazarud Mahal
Khans
Hajji Mohammad Ali Khan (1761–1763)
Aghasi Khan and Muhammad Said Khan (1763–1768)
Fath-Ali Khan of Quba (1768–1774)
Aghasi Khan and Muhammad Said Khan (2nd reign, 1774–1782)
Muhammad Riza Khan (1782-1785)
Fath-Ali Khan of Quba (1785–1789)
Askar Khan (1789)
Qasim Khan (1789–1792)
Mostafa Khan (1792–1820)




