The siege of Shamakhi was a phase in the Ottoman–Safavid war (1603–1612) that resulted in the Safavid army's success and Shamakhi's return to Iranian rule after 28 years. During the siege, Baku and Derbent also surrendered to the Iranian army, allowing the Safavid state to regain control of Azerbaijan and Dagestan. As a result, the Safavids were able to regain all the lands they had lost during the Ottoman-Safavid War of 1578–1590 between 1603 and 1607.
HistoryLayer draws the world as it was in any year from 123,000 BCE to
2026. Move the slider and the borders redraw for that year; the map
carries 23,890 events, 12,790 people, 837 wars and 13,183 cities, each
one readable in place. Signing in is optional and lets you keep what
you find.