Treaty of Gulistan
The region came under Russian control in 1806 during the Russo-Persian War of 1804 to 1813, and was formally annexed in 1813 following the signing of the Treaty of Gulistan.