Treaty of Gulistan
Annexation of the Shamkhalate of Tarki and other territories of Dagestan by Russia was concluded by the Treaty of Gulistan in 1813. In 1867 the feudal domain of the Shamkhalate was abolished, and on its territory the Temir-Khan-Shura (now Buynaksk) district of Dagestan Oblast was established.