Azerbaijan
Who ruled Baku?
Baku dates from about 500 CE. On our historical maps, the ground it stands on has been drawn inside 20 different states, empires and peoples. Read the history of Azerbaijan.
The history of Baku
Baku curves around a sheltered bay on the southern side of the Absheron Peninsula, which juts into the Caspian Sea from Azerbaijan. The peninsula is windswept and dry, but its ground seeps oil and gas, which burned in natural flames visible for miles. For most of its history Baku was a fortified port in the shadow of larger capitals; at the end of the nineteenth century those oil seeps made it the world's leading oil producer and a boom town that grew faster than almost any other in the Russian Empire.
Shirvanshahs, shahs and khans
The Absheron was inhabited long before the town. Rock carvings at nearby Gobustan go back many thousands of years, and the same site preserves a Latin inscription left by a Roman legion in the late first century CE. In late antiquity the area lay within the Sasanian Empire, whose religion of Zoroastrianism honoured fire, and the region's burning ground has long been linked with fire worship; the surviving Ateshgah temple, though, was built by Indian merchants in the seventeenth and eighteenth centuries. Arab armies brought Islam in the seventh century.
From the ninth century Baku belonged to the Shirvanshahs, rulers of the region of Shirvan. After an earthquake struck their capital Shamakhi in 1191, the court moved to Baku for a time, and the town walls and the enigmatic Maiden Tower took on much of their present form in this period. The Mongols overran the region in the thirteenth century. The Shirvanshahs, now vassals of larger powers, built their palace in the old town in the fifteenth century. In 1501 the Safavid shah Ismail I besieged and took Baku, and in 1538 Shirvan was absorbed into the Safavid Empire. The Ottoman Empire held the city for a quarter of a century from 1578. Merchants already shipped oil from hand-dug pits, and Marco Polo had heard of it in the thirteenth century.
When Safavid power collapsed, Peter the Great sent troops across the Caspian, and Baku surrendered to Russia in 1723. Russia handed it back to Persia in 1735, and from 1747 it was the seat of the small Baku Khanate. Russian forces took the city for good in 1806.
Oil boom
Under the Russian Empire Baku became an industrial city. One of the first modern oil wells was drilled at Bibi-Heybat in 1846, and after the state monopoly on oil lands was lifted in 1872 investors poured in, among them the Nobel brothers and the Rothschilds. By 1900 the Baku fields produced about half of the world's oil. The town's population grew from a few thousand to more than 200,000, and oil barons built mansions, theatres and a seafront boulevard beside the walled old town, while workers crowded into the industrial district known as the Black City.
The boom also brought ethnic and social strife. Armenians and Azerbaijanis fought in 1905, and in 1918 the city saw massacres of Muslims in March and of Armenians in September, when Ottoman and Azerbaijani forces captured it. Baku then became the capital of the short-lived Azerbaijan Democratic Republic until the Red Army arrived in April 1920. As the capital of Soviet Azerbaijan it supplied much of the Soviet Union's oil, which made it a principal objective of the German offensive in the Caucasus in 1942, though German troops never reached it.
On 20 January 1990 Soviet troops entered the city to crush the national movement, killing more than a hundred civilians in what Azerbaijanis call Black January. Independence followed in 1991. Offshore oil and gas deals from 1994 and a pipeline to the Mediterranean, opened in the mid-2000s, funded a wave of new building. The walled old city has been a UNESCO World Heritage Site since 2000. Baku has more than two million people and is the largest city on the Caspian Sea.
In pictures
2 images · scroll →Timeline
28 periods- 123,000 BCE – 10,000 BCENeanderthalMap of 123,000 BCE →
- 10,000 BCE – 2000 BCENo state drawn here on the mapMap of 10,000 BCE →
- 2000 BCE – 1500 BCECatacomb cultureMap of 2000 BCE →
- 1500 BCE – 500 BCECimeriansMap of 1500 BCE →
- 500 BCE – 200 BCENo state drawn here on the mapMap of 500 BCE →
- 200 BCE – 100 BCEScythiansMap of 200 BCE →
- 100 BCE – 1 BCESarmatesMap of 100 BCE →
- 1 BCE – 100 CENo state drawn here on the mapMap of 1 BCE →
- 100 CE – 200 CEAlansMap of 100 CE →
- 200 CE – 500 CENo state drawn here on the mapMap of 200 CE →
- 500 CE – 700 CESasanian EmpireMap of 500 CE →
- 700 CE – 800 CECaucasian AlbaniaMap of 700 CE →
- 800 CE – 1000 CEAbbasid CaliphateMap of 800 CE →
- 1000 CE – 1200 CEShirvanMap of 1000 CE →
- 1200 CE – 1279 CEEldiguzids and ShirvanMap of 1200 CE →
- 1279 CE – 1300 CEIlkhanateunder Mongol EmpireMap of 1279 CE →
- 1300 CE – 1400 CEIlkhanateMap of 1300 CE →
- 1400 CE – 1492 CETimurid EmpireMap of 1400 CE →
- 1492 CE – 1530 CEEmirate of the White Sheep TurksMap of 1492 CE →
- 1530 CE – 1600 CEShirvanunder Safavid EmpireMap of 1530 CE →
- 1600 CE – 1650 CEOttoman EmpireMap of 1600 CE →
- 1650 CE – 1783 CESafavid EmpireMap of 1650 CE →
- 1783 CE – 1815 CECaucasian khanatesMap of 1783 CE →
- 1815 CE – 1914 CERussian EmpireMap of 1815 CE →
- 1914 CE – 1920 CEAzerbaijanMap of 1914 CE →
- 1920 CE – 1930 CEAzerbaijanunder USSRMap of 1920 CE →
- 1930 CE – 1994 CEUSSRMap of 1930 CE →
- 1994 CE – todayAzerbaijanMap of 1994 CE →
Quick answers
- Who rules Baku today?
- On the latest map, Baku is in Azerbaijan.
- Who ruled Baku the longest?
- On our maps, the Sasanian Empire, for about 200 years (500 CE to 700 CE).
- How many times has Baku changed hands?
- Our maps show it passing to a new ruler 17 times since 1 CE.
- Who ruled Baku in 1 CE, 1000, 1500 and 1900?
- In 1 CE: no state on the map. In 1000: Shirvan. In 1500: Emirate of the White Sheep Turks. In 1900: Russian Empire.
Dates are the years of our map snapshots, which are decades or centuries apart, so a change shown between two years happened at some point in that gap. The borders come from the historical-basemaps project and are approximate, especially for the ancient world and for peoples without fixed frontiers.
Visit today
See Baku for yourself
Walking tours, museum and monument tickets, and guided visits to the places where Baku's history happened.
Tours and tickets in BakuOn GetYourGuide. We may earn a commission if you book. See our disclosure.