Quba Khanate
Finally, Mountain Jews who escaped attacks and persecutions joined the shelter of heading Husseinanli (Husayn Ali) Khan in Quba. The Quba Khanate, in development during the rule of Hussein Khan (1722-1758) and his son Fatali Khan (1758-1789), consist of the northern lands of Azerbaijan and southern Dagestan, from Derbent to Lankaran. Since 1722, Mountain Jews have settled in the territory of Gudyalchay.