The previous killed khan left daughters Bakhu Bike and Patimat, Georgian wife Darejan and half-brother Gebek.
[5] Uma Khan's last wife Khistaman, who opposed the coming to power of her husband's brother Gebek in every way fought for supremacy in the khanate too, and she was also supported by the local nobility.
[8][9] Meanwhile, Sultan Ahmed Khan at the end of August 1819, at the head of a 6,000 detachment marched against the fortress of Vnezapnaya, but near the village of Bavtugay on the left bank of the Sulak river, utterly defeated by the tsarist troops fled to the mountains.
[9] As punishment for this, the manager of the civil part in Georgia, Astrakhan and the Caucasus provinces, general Aleksey Yermolov deposed Sultan Ahmed Khan, and entrusted the management of Avar Khanate to the son of Gebek khan Surkhay.
[7] However, in 1826, Sultan Ahmed Khan died, leaving behind his young sons and daughter.