Baku · Azerbaijan · Self-guided audio tour
Baku Old City: The Mosque a Cannonball Renamed
Find out how a cannonball renamed a mosque built in 1079, why tax breaks were carved into a minaret, and why nobody agrees on the Maiden Tower's age. Then learn how an earthquake brought the Shirvanshahs to Baku.
- Stops
- 7
- App languages
- 30+
- Offline
- Yes
- Updated
- November 2026
Stop 1 of 7 · free to read
The Old Town That Oil Made "Inner"
Wind, fire, empires and an oil boom that pushed Baku past its own walls
You're standing in the lowest capital city in the world. Baku sits twenty-eight metres below sea level, on a dry peninsula that pushes out into the Caspian Sea. People call it the City of Winds. When the cold northern wind they call the khazri gets going, you'll see why.
The walled town around you is Icherisheher, the Inner City. That name is a clue. For most of its history there was no outer city. This hillside fortress by the sea, with walls eight to ten metres high, simply was Baku. By the eighth and ninth centuries it was already crowded with craftsmen and traders. Fire was part of the story from early on. Natural gas seeps out of this ground and burns, and Baku became a major centre of Zoroastrian worship.
Then came the rulers, one after another. The Shirvanshahs made Baku their seat and put their palace at the top of the hill. In the sixteenth century the Persian Safavids ended their dynasty. Ottomans and Russians took the city for a while and then lost it again. From the mid-1700s Baku ran its own small khanate for about sixty years. Then, in 1806, Russia came to stay. The Russian general who came to accept the city's keys was shot dead at the ceremony. Russia took Baku anyway, later that same year.
Keep reading
What really remade Baku was oil. By the 1890s it was producing about half the world's supply. The Nobels and the Rothschilds put money in, local oilmen built their own empires, and the city grew faster than London, Paris or New York. All that growth spilled out past the walls. That's when the old town became the inner one.
It's small, just twenty-two hectares, and it isn't a museum piece. About thirteen hundred families still live here, between the hotels, cafés and mosques. In 2000 an earthquake cracked many of the old walls. Add illegal building on top of that, and the walled city went onto UNESCO's danger list in 2003. It came off in 2009, after Baku stopped the illegal construction and adopted a conservation plan.
Coming up: a tower nobody can agree how old it is, mosques that were paid for and fought over, and a city that took down its own defences. Let's start walking.

The route
7 stops, one story
Find out how a cannonball renamed a mosque built in 1079, why tax breaks were carved into a minaret, and why nobody agrees on the Maiden Tower's age. Then learn how an earthquake brought the Shirvanshahs to Baku.
- 1
The Old Town That Oil Made "Inner"
In 1806 the Russian general sent to accept Baku's keys was shot dead at the ceremony. By the 1890s, this small hillside fortress sat on half the world's oil.
Read it above ↑ - 2
Maiden Tower
The worn Kufic stone that once seemed to settle the tower's date may have started life as someone else's tombstone, brought here and reused by the builders.
- 3
Ashur (Lezgi) Mosque
Authorities renamed this mosque in 2010 without asking its congregation. In 2016 it was closed for repairs, and what followed left Baku's Sunni Lezgins outside its walls.
- 4
Juma Mosque
Under Soviet rule this Friday mosque became a carpet museum. An inscription from 1309 shows the site was already old when an emir ordered it renovated.
- 5
Muhammad Mosque and the Synyg Gala minaret
Peter the Great's warships shelled Baku in 1723, and one shot cost a master builder, Muhammad son of Abu Bakr, his place in the tower's name.
- 6
The Fortress Walls and Gates
Wooden bridges at the Shamakhi and Salyan gates were raised every night, so anyone arriving after dark found no way into the city.
- 7
Palace of the Shirvanshahs
In the 1430s a ruler named Khalilullah buried his mother and his son here. Centuries later, a petition to demolish the whole compound put their tombs at risk.
Hear all 7 stops in the app
The app plays every stop, shows where you are on the map and answers your questions on the way. Free to start your first tour.
Keep exploring
More guides in Baku
FAQ
Questions about this guide
Where does the Baku Old City: The Mosque a Cannonball Renamed audio guide start?
At The Old Town That Oil Made "Inner", in Baku. From there the app takes you from stop to stop with GPS.
How many stops are there?
7 stops: The Old Town That Oil Made "Inner", Maiden Tower, Ashur (Lezgi) Mosque and 4 more. The first one is free to read on this page.
Does it work offline?
Yes. Download the guide and its audio over Wi-Fi, then use it outdoors with GPS without spending mobile data.
Is it free?
The GuideSofia app is free to download, and it's free to start your first tour.
Which language is it in?
This page is in en-US. In the app, the guide is narrated in 30+ languages.
Can I ask the guide questions?
Yes. Open the chat in the app and ask about what you are looking at, local history, food or nearby places.
Take Baku Old City: The Mosque a Cannonball Renamed in your pocket
Download GuideSofia, open this guide and start walking. It's free to start your first tour.