Amir Hamza III

The exact date of birth of Amir Hamza is unknown, but it is known that he was one of the three sons of Khan Muhammad, a military leader who predeceased his father Ahmad the Great.

Having captured most of the city, the allies offered ruling Muhammad Hussain Khan to voluntarily surrender the upper fortress.

[7] Already disgruntled over marriage refusal, Amir Hamza captured Derbent with 2,000 soldiers and held it for 3 days with the excuse of visiting his sister.

[9] Meanwhile, he sought better relations with Ghāzī Rustam of Tabasaran, who was his nephew and possessed the strategic gorge of Dyubek that let bypass Derbent for raid campaigns.

[9] Few years later, in 1774, Avar nutsal, persuaded by Aghasi Khan of Shirvan marched on Shamakhi and captured the city briefly.

Nevertheless, coalition defeated Fatali's army of 8,000 in the battle of Gavdushan, near the city of Khudat in July 1774 and forced him to flee to Salyan.

[11] Using the opportunity, Amir Hamza attempted to capture Derbent by ruse, which was ruled by his sister Tuti Bike during the absence of her husband.

But Tuti, according to a legend defended the city walls and ordered to open fire to his army and then sent a detachment, which forced Amir Hamza to retreat to Mushkur.

The official pretext for intervention in the conflict however was the death of a full member of the Russian Academy of Sciences Samuel Gottlieb Gmelin, who was detained by Amir Hamza in 1774.

As the result Fatali Khan recaptured Derbent and sent keys of city to Catherine II and asked to grant him the citizenship of Russia.

Soon on 10 May 1775 Fatali Khan marched on Kaitag Utsmiate and Principality of Tabasaran with a Russian detachment led by major Cridner.

[21] To weaken Kaitags, Fatali Khan also granted Amir Hamza's nephew Muhammad beg 100 families from Quba and founded the eponymous village of Mamedkala for him.

Nevertheless, having raised up to 3,000 cavalry, Amir Hamza passed through Derbent, Quba, Shirvan and plundered Ardabil, and then with property and abundant provisions turned from there to Ganja.

However, Fatali was forced to enter into negotiations with Umma Khan, betrothed him his daughter as his future wife, handed over the revenues of Salyan and 200,000 rubles of indemnity.

According to Jacob Reineggs (1744–1793) he was "vindictive in his anger" and so skillfully knew "how to command the outward appearance of his face and that he is tormented internally by malice, revenge and hatred [...] He is immeasurably courteous, and when he volunteers to help dissenting parties with advice, patronage or power, then everyone will think that he wants to sacrifice all his strength for them, but he knows the surest means after receiving his benefits, which were the only cause of the quarrel.

Mausoleum of Kala Koreysh, where Kaitag utsmies are buried