Shaki Khanate

The Shaki Khanate (also spelled Shakki; ) was a khanate under Iranian and later Russian suzerainty, which controlled the town of Shaki and its surroundings, now located in present-day Azerbaijan.

History
Since 1551, Shaki had been under the control of Safavid Iran (1501–1736), being part of its Shirvan province. It was governed by different tribal leaders, who were given the title of toyuldar (fief-holder). Following Nader's expulsion of the Ottoman Empire from the South Caucasus, Ali-Mardan and later Najaf Qoli were given the responsibility of governing Shaki. However, in 1743 a rebellion emerged under the leadership of the local leader and former tax-collector Haji Chalabi Khan as a response to the ineffective management by Nader's deputies. Najaf Qoli was murdered by the rebels, who chose Haji Chalabi Khan to be their khan. Nader Shah subsequently appointed the local leader Ja'far as the new khan, despite failing to expelling Haji Chalabi Khan from his fortress. 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. The khanates were still seen as Iranian dependencies even when the shahs in mainland Iran lacked the power to enforce their rule in the area. A zealous Muslim, Haji Chalabi was a grandson of the priest of the former church of Kish.

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. Haji Chalabi Khan subsequently made an alliance with the Lezgians. When he repelled an attack south of the Aras river by one of the pretenders to the Iranian throne, his status as khan of Shaki became unquestioned. The Georgian monarchs Heraclius II ((r. 1744 – 1798)) and Teimuraz II ((r. 1732 – 1762)), who wanted to expand their own control over a significant portion of the South Caucasus, started to feel threatened by Haji Chalabi Khan's power.

In their upcoming battle against Haji Chalabi Khan, Heraclius II and Teimuraz II made an alliance with the following khans; Ahmad Khan Donboli of Khoy, Panah Ali Khan of Karabakh, Kazem Khan of Qaradagh, and Shahverdi Khan of Ganja. However, before the battle started, Heraclius II and Teimuraz II had all the khans imprisoned, demanding them to submit to their rule and pay tribute. Near Shamkhor, Haji Chalabi Khan encountered the Georgian kings, defeated them, and freed the khans who were being held captive. A second Georgian offensive against Haji Chalabi Khan near the Alazani river also failed.

In 1755, Haji Chalabi Khan died and was succeeded by his son Agha Kishi Beg. In addition to fortifying the town of Shaki, he carried on his father's policy of maintaining cordial ties with the nearby khanates of Shirvan and Quba. Agha Kishi Beg married the daughter of the Qazi-Qomuq chief in Daghestan, Mohammad Khan. In 1759, Agha Kishi Beg was persuaded to a meeting where he was killed by Mohammad Khan and the latters ally Soltan Ali, a well-known local figure. A grandson of Haji Chalabi Khan, Muhammad Husayn Khan Mushtaq, was sent away to safety in Shirvan by the dignitaries of the Shaki khanate. He came back some months later, expelled the Qazi-Qomuq, and reinstated his family's rule in Shaki. He had a new palace constructed and created several mahals (districts) inside his realm, each of which was under the control of a different governor.

By 1762, the Zand ruler Karim Khan Zand ((r. 1751 – 1779)) 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. In 1772, Muhammad Husayn Khan Mushtaq was compelled to relocate his capital to the nearby village of Nukha.

Even though Haji Chalabi Khan's descendants were to retain rule over the Shaki Khanate according to the 1805 agreement, Ivan Gudovich soon disregarded that term as he did not have faith in a family that had a history of regularly switching allegiances and betraying each other. Gudovich therefore gave control of the Shaki Khanate to Jafar Qoli Khan Donboli, a chieftain from the Kurdish Donboli tribe who opposed the Qajar dynasty and had proved his loyalty to the Russians during their siege of Erivan in 1804. On January 12, 1807, Jafar Qoli Khan and Gudovich signed a new treaty as the previous one had been signed with a family that was no longer in power. Jafar Qoli Khan and his followers from Khoy were despised by the dignitaries of Shaki. They requested that the Russians reinstall Salim Khan or his blind brother, Mohammad Hasan Khan. Gudovich declined, calling Salim Khan a traitor and the cause of the deaths of numerous Russian soldiers during his uprising. Jafar Qoli Khan died in 1814 and was succeeded by his son Ismail Khan Donboli.

Ismail Khan Donboli was an unpopular khan, and after his death in 1819, the Russian Empire abolished the Shaki Khanate. This led to all the sons of the khan to flee to Iran. Suleiman Khan, one of the sons, returned to Russia in the late 1820s, and enlisted in the Russian army. He was among those dispatched to Warsaw, and the tsar also met him in 1841. However, he returned to Iran in the early 1840s and was even given a gift by the shah. Russian authorities intended to fire Suleiman Khan because they were angered by what they saw as betrayal. Suleiman Khan ultimately turned himself in to the Russian embassy in Tabriz, claiming that his family in Iran had forced him to stay there.

Administration
The administrative and literary language in the Shaki Khanate until the end of the 19th century was Persian, with Arabic being used only for religious studies. Persian was also spoken in the judiciary. The khanate produced its own coins, first in the name of Nader Shah and then in the name of Karim Khan. A large portion of their coinage was completely nameless by the end of the 18th-century. While a few uncommon issues of Derbent contain a vague reference to one of their khans, none of the khans ever put their names on their coins, due to lacking the legitimacy of an sovereign monarch and any claims to independence. These northern Iranian coins were made entirely of silver and copper.

Demographics
The population mainly consisted of Turkic-speaking groups, and a minority of Lezgians, Armenians, and Mountain Jews.

List of khans

 * 1743–1755: Haji Chalabi Khan
 * 1755–1759: Agha Kishi Beg
 * 1759–1780: Muhammad Husayn Khan
 * 1780–1783: Haji Abdulqadir Khan
 * 1783–1795: Muhammad Hasan Khan (first time)
 * 1795–1797: Salim Khan (first time)
 * 1797–1802: Muhammad Hasan Khan (second time)
 * 1805: Fath-Ali Khan (first time)
 * 1802–1805: Salim Khan (second time)
 * 1806: Fath-Ali Khan (second time)
 * 1806–1814: Jafar Qoli Khan Donboli
 * 1814–1819: Ismail Khan Donboli