Fatali Khan
Meanwhile, the blinded ruler of Shamakhi - Aghasi Khan could escape to Karabakh and gathered his detachment. He got involved Sheki Huseyn of Sheki and Avar’s nutsal Mersel Khan, who didn’t want strengthening of the Khan of Quba. Avar’s nutsal sent an armed detachment under the guidance of his sons Bulach and Magomed Mirza. In a following struggle among Huseyn Khan, Aghasi Khan and the sons of Avar nutsal from one side and Fatali Khan from the other, the first ones were destroyed, both sons of Avar nutsal were perished, Huseyn Khan escaped to Sheki and Aghasi Khan to Kotevan. In 1774, nutsal disputed against Fatali Khan and he could capture Shamakhi together with Aghasi Khan of Shamakhi. But, soon, Fatali Khan set out to Shirvan with the army and detachment led by the Khan of Baku Melik Mahammad Khan, though “many dargwa people” came to his help. Nutsal was defeated near Old Shamakhi. Fatali khan promised him a safety and invited him for discussions to himself where nutsal was murdered by akushins.