Baku Governorate
Due to a 1859 earthquake in Shamakhi, many of its residents moved to the west establishing a village of Goychay. Because of demographic growth, the Russian Imperial government created Goychay Uyezd within Baku Governorate during its administrative reforms in December 1867. The region was established as an administrative unit of Azerbaijan SSR on 8 August 1930.