Ganja Khanate

The Ganja Khanate () was a khanate under Iranian suzerainty, which controlled the town of Ganja and its surroundings, now located in present-day Azerbaijan.

The khanate was ruled by the Ziyadoghlu clan of the Turkic Qajar tribe, who had previously held the governorship of Karabakh under the Safavid dynasty of Iran.

History
Ganja was a town in the South Caucasus, which had been a part of Iran since the reign of the Safavid king (shah) Ismail I (). It was part of the province of Karabakh, which was governed by the Ziyadoghlu clan of the Turkic Qajar tribe. Along with Erivan, Karabakh formed the Iranian-ruled part of Armenia, known as Iranian Armenia or Eastern Armenia.

In 1735, after having repelled the Ottoman Empire, the Iranian military commander Nader recognized Ughurlu Khan Ziyadoghlu Qajar as the khan of Karabakh. The latter was later the only khan who did not support Nader when he petitioned to become shah of Iran at the assembly in Mughan. This made Nader Shah split the Karabakh province in order to curtail the power of the Qajars. The Zangezur district was given to the beglerbegi (governor-general) of Tabriz; the autonomy of the Armenian Melikdoms was restored, and Borchalu, Qazzaq and Shamshadil were given to the Georgian king Teimuraz II (). Ughurlu Khan was thus only left with Ganja and its surroundings. Nader Shah had Iranian Armenia organized into four khanates; Erivan, Nakhichevan, Ganja, and Karabakh. A khanate was a type of administrative unit governed by a hereditary or appointed ruler subject to Iranian rule. The title of the ruler was either beglarbegi or khan, which was identical to the Ottoman rank of pasha.

In November 1738, Ughurlu Khan died in a battle against Surkhay Khan of the Gazikumukh Khanate. In 1740, his son Shahverdi Khan Ziyadoghlu succeeded him, but in 1743 he had to seek sanctuary with Teimuraz II in Kartli due to supporting a claimant to the Iranian throne, Sam Mirza. Nader Shah subsequently gave the governorship of Ganja to his tupchi-bashi Hajji Khan. Following Nader Shah's assassination in 1747, Iran fell into turmoil, especially in the South Caucasus. There the Georgians and local khans fought over land. 

Shahverdi Khan went back to Ganja, where he overthrew Hajji Khan with the aid of Teimuraz II and Heraclius II. By paying tribute to either the Karabakh Khanate or Georgia, Shahverdi Khan tried to do everything possible to prevent the khanate from being attacked by his neighbors. He also arranged marriages for some of his children in order to form new alliances. His eldest son, Mohammad Hasan Khan, married the sister of Surkhay Khan, while one of his daughters married Ibrahim Khalil Khan of the Karabakh Khanate. After the death of that daughter, one of his other daughters married Ibrahim Khalil Khan. His youngest daughter was given in marriage to Hosein Khan of Shaki, and after the latters death, remarried Mohammad Hasan Agha, the eldest son of Ibrahim Khalil Khan.

By 1762, the Zand ruler Karim Khan Zand () had established his authority across most of Iran, and was eventually acknowledged by Georgia and the various khans of the South Caucasus as their suzerain. He had Shahverdi Khan's brother Reza Qoli taken to the city of Shiraz as a hostage. In 1779, Karim Khan died, which led to renewed internal chaos. In 1780, Shahverdi Khan was killed by one of his companions, and was succeeded by Mohammad Hasan Khan, who continued to pay tribute to Georgia and the Karabakh Khanate. In 1778, another son of Shahverdi Khan, Mohammad Khan, became the new khan as a result of the internal issues there and disputes between him and his brothers. His two brothers, Javad Khan and Rahim, fled to Karabakh and the Georgian city Tiflis, respectively.

Exploiting the instability in Ganja, Heraclius II and Ibrahim Khalil Khan agreed to partition the Ganja khanate in 1780. They took control of Ganja's citadel, blinded Mohammad Khan, and chose Prince Kai-Khosrow Andronikashvili and Hazrat Qoli Beg as their own regents to manage each zone.

Russian conquest

During the first Russo-Persian War (1804-1813), Ganja was considered by Russians, who had earlier supported the Georgian claim to the sovereignty over the khanate, as a town of foremost importance. General Pavel Tsitsianov several times approached Javad khan, asking him to submit to Russian rule, but each time was refused. On November 20, 1803, the Russian army moved from Tiflis, and in December, Tsitsianov started the siege preparations. After heavy artillery bombardment, on January 3, 1804, at 5 a.m., Tsitsianov gave the order to attack the fortress. After fierce fighting, the Russians were able to capture the fortress. Javad Khan was killed, together with his sons. According to a major study of the military events in the Caucasus by John F. Baddeley:

Ganja was renamed Elisabethpol in honor of Alexander's wife Elisabeth. In 1805 the imperial government officially abolished the khanate, and the military district of Elisabethpol was created. Descendants of the Ziyadoghlu Qajar dynasty bore the name of Ziyadkhanov in the Russian empire.

Population 
The majority of the inhabitants in the Ganja Khanate were Shia Muslims. There was also a sizable Christian population in the khanate, who were part of the Armenian Apostolic Church. When the Russian army invaded Ganja in 1804, the city had 10,425 residents.

List of Khans

References

Sources
 
 
 
 
 
 
 
 
 
 
 

Khanates of the South Caucasus
States and territories established in 1747
States and territories disestablished in 1805
History of Ganja, Azerbaijan
18th century in Azerbaijan