Quba Khanate
It was formed in the middle of the 18th century in the area where the Kura and Aras rivers meet. In 1768 it was dependent on the Quba Khanate. The area was annexed to Russia in 1805 (see Caucasus Viceroyalty (1801–1917)).