Khoy Khanate

Khoy Khanate was a hereditary Kurdish khanate around Khoy and Salmas in Iran from the 16th century until 1805. The khanate has been described as the most powerful khanate in the region during the second half of the 18th century.
History.
In the 16th century, Shah Tahmasp I combined Khoy and Sokmanabad into one district and made Haji Beg of the Donboli tribe governor. However, after the assassination of Haji Beg in 1548 by the governor of Van, relations between the Donboli and the Shah became tenuous forcing the latter to subdue the tribe with force and many of the leaders of the tribe were massacring. The tribe consequently fled to the Ottoman Empire where they united under Mansur Beg, nephew of Haji Beg. About 400 Donboli members were killed and the massacres were perpetrated by the Qizilbash. The fear of growing Donboli influence in Kurdistan was another reason for the massacre.
In the subsequent period from the late 16th century to early 17th century, Khoy was not under the rule of the Donboli. However, the city returned to the Donboli by the 1620s, since it was stated in a document from 1628 that the ruler of Khoy was a Salman Khan Donboli. Military assistance to the Shah was a condition for the handover. Afterwards, the descendants of Haji Beg would rule Khoy hereditarily and continuously under the title khan until the early 19th century. When the city was returned to the Donboli, the city was in ruins from military conflict with the Ottomans and had to receive a certain amount of tax revenues taken from the districts of Sharur and Dere-Alkis 'for foods'.
When Khoy was captured by Nader Shah from the Ottomans in 1737, the Donboli tribe under Najaf Qoli Khan entered the service of the Shah and also accompanied him in his military campaigns to India, Georgia and Dagestan. In 1743-1744, a powerful uprising took place in Khoy which received support from the local rayah, due to increased taxes by Nader Shah. However, the riots were ultimately suppressed by the Shah who sent in nomadic tribes from Sirvan, Ganja and Yerevan.
According to the British diplomat Harford Jones-Brydges, who was in Iran in the early 19th century and whose work was published in 1833, Hosayn Qoli Donboli fought and defeated the Zand army in 1787 led by Lotf Ali Khan near Shiraz, imprisoning and killing about 18,000 soldiers. However, the castle of Shiraz was not taken and Ali Khan himself was unharmed. Jones-Brydges adds that Agha Mohammad Khan Qajar wished to 'reduce Azerbaijan' and therefore gave his ally Hosayn Qoli Donboli the possession of Tabriz Khanate in 1790. 
The khanate came to an end when Jafar Qoli Khan Donboli switched alliances to the Russian Empire and was given Shaki Khanate in 1806. Jafar Qoli Khan had taken part in the Siege of Erivan in 1804 on the Russian side and received a dagger as a gift which he sought to erect in Khoy.