Quba Khanate
The first mention of the Kihnalug toponym is in the works of Yaqut al-Hamawi in the 18th century as "Khinaluk". The first information about the Khinalug people is also from the 18th century. In the 18th century, they were an "independent community" ("jamaat") and at first, the community was a subject of the Shirvan Khanate and later the Quba Khanate. Although being a subject of the Shirvan Khanate, unlike the rest of the population, they were free of any obligations and taxes, except military service.