From Kamachia to Shirvan
Ptolemy’s 2nd-century Geography mentions Kamachia, commonly associated with Shamakhi. By the medieval period, the city had become a political and commercial centre of Shirvan, positioned between Caucasus passes and routes leading toward the Caspian. Earthquakes repeatedly interrupted that role, especially after 1191, when Shirvanshah Akhsitan I shifted his court toward Baku.
- The 1667 earthquake killed thousands and was recorded by travellers passing through Safavid Shirvan.
- After the 1859 earthquake, the Shemakha Governorate’s administrative capital moved permanently to Baku.





