Shamakhi (Şamaxı) — historically rendered as Shemakha or Shemakha Caucasia — is one of the Caucasus region's oldest continuously inhabited cities. Located in Azerbaijan's Shirvan region, it has witnessed empires rise and fall, earthquakes destroy and rebuild, and cultures layer upon each other for over two millennia.
Coordinates: 40.63°N, 48.64°E
Elevation: ~800 m (2,600 ft) — foothills of the Greater Caucasus
Distance from Baku: 120 km (75 mi) northwest — 1.5–2 hours by road
Setting: Mountain slopes of Pirkuli (Pirküli) ridge, surrounded by forests, alpine meadows, and dramatic peaks. The city spreads along river valleys with a distinct vertical zonation.
Ancient capital: Shirvanshahs' capital (9th–16th centuries) — Silk Road hub between Caspian and interior.
Seismic history: 11 major earthquakes recorded (1192, 1667, 1859, 1902, etc.) — each destruction followed by reconstruction, creating archaeological layer cake.
Cultural center: Birthplace of classical Azerbaijani poets (Nizami Ganjavi connection, though born in Ganja; Imadaddin Nasimi, 14th–15th c. Sufi poet). Madrasas, mosques, caravanserais.
Juma Mosque (Friday Mosque): 8th century foundation, rebuilt 19th c. — three-hall design, unique in Caucasus.
Yeddi Gumbaz (Seven Domes): 18th–19th c. royal mausoleum complex.
Shamakhi Astrophysical Observatory: Major Soviet-era facility (1960), 2m telescope, high-altitude astronomy.
Pirkuli Nature Reserve: Alpine biodiversity, Caucasian tur, leopard corridor.
Population: ~35,000. Economy: agriculture (grapes, wine, hazelnuts), tourism (history, nature, astrotourism), crafts (copper, carpet weaving). Climate: mild summers, cold snowy winters. Accessibility improved by new highway tunnels. A living museum where every street reveals layers: Sassanid, Arabic, Seljuk, Mongol, Shirvani, Safavid, Russian Imperial, Soviet, Azerbaijani.