Shemakha uezd

The Shemakha uezd was a county (uezd) within the Baku Governorate of the Russian Empire, and then of Azerbaijan Democratic Republic and Azerbaijan SSR until its formal abolishment in 1929. The county was located in central part of the Baku Governorate, bordering the Javad uezd to the south, Baku uezd to the east, Geokchay uezd to the west and Kuba uezd to the north. The administrative centre of the county was the city of Shemakha (present-day Shamakhi).

Administrative divisions
The prefectures (участки) of the Shemakha uezd in 1917 were as follow:

History
The county was established in 1840 and was initially made part of the Caspian Oblast, and later became the capital of the Shemakha Governorate in 1846. But due to an earthquake in 1859, the city and most of the county suffered great damage. Subsequently, capital of the Shemakha Governorate was moved from Shemakha to Baku and the governorate was renamed Baku Governorate.

Russian Empire Census
According to the Russian Empire Census, the Shemakha uezd had a population of 121,842 on 28 January 1897, including 64,732 men and 57,110 women. The majority of the population indicated Tatar to be their mother tongue, with significant Armenian, Russian, and Tat speaking minorities.

Kavkazskiy kalendar
According to the 1917 publication of Kavkazskiy kalendar, the Shemakha uezd had a population of 161,552 on 14 January 1916, including 86,659 men and 74,893 women, 159,621 of whom were the permanent population, and 1,931 were temporary residents:

Soviet census (1926)
In 1926, the population of the county declined to 91,185.