Caucasian War
Khunzakh served as the capital of the Caucasian Avar Khanate from the early 13th century until the Caucasian War which ended with the annexation of the khanate into Russia in 1864.