 The one of the khanates was Shirvan (1747–1763) which its supremacy was diarchy.At this time, feudal lords struggled against each other in Azerbaijan, in 1755, Khan of Shaki Hazhi Chalabi Khan encircled Agsu city under existing conditions.Hazhi Chalabi Khan retreated after grievous loss in the war around Agsu.