History
The Absheron peninsula has been inhabited since prehistory, as the rock carvings of Gobustan — hunters, boats, dancers and animals cut into the rocks over many thousands of years — show. Natural gas vents that burned on the hillsides drew fire-worshippers, and a Roman legion left an inscription at Gobustan in the 1st century AD, the easternmost Latin inscription known.
In the Middle Ages this was the realm of the Shirvanshahs, a dynasty that ruled Shirvan for centuries from Shamakhi. Repeated earthquakes pushed them towards Baku, where they built their palace in the 15th century inside the walled town around the Maiden Tower. Shirvan became a Safavid province, then, after Persian power waned, the Baku and Shamakhi khanates, until Russia absorbed them in the early 19th century. Shamakhi remained the provincial capital until an earthquake in 1859 moved the seat to Baku.
Oil transformed everything. Baku's boom from the 1870s drew the Nobel brothers, the Rothschilds and local millionaires such as Zeynalabdin Taghiyev, and built the grand facades outside the old walls. In Soviet times Baku was the Union's major oil city, and Sumqayit was built as a chemical city; the anti-Armenian violence there in February 1988 was one of the first episodes of the Karabakh conflict. On 20 January 1990 Soviet troops entering Baku killed well over a hundred civilians, a day remembered as Black January. Since the 1990s the offshore fields of the Caspian have paid for a new Baku of glass towers, seaside parks and international events.
