The city walls, which had a height of 8–12 meters and a width of 3.5 meters, provided for Baku's security. In the Middle Ages, the fortress walls were 1500 meters long and now the walls are 500 meters long.Walled City of Baku with the Shirvanshah's Palace and Maiden Tower
