Георгиевский трактат
Two years after Umma Khan's death in 1801, the khanate voluntarily submitted to Russian authority following the Russian annexation of Georgia and the Treaty of Georgievsk, but this was only confirmed after considerable Russian successes and the victory in the Russo-Persian War of 1804–1813, after which Persia lost southern Dagestan and many of the rest of its Caucasus territories to Russia. The 1828 Treaty of Turkmenchay indefinitely consolidated Russian control over Dagestan and other areas where the Avars lived and removed Iran from the military equation.