Part 2 · Town, walls and gates
Charles V Wall and the Southport Gates
After corsairs sacked the town in 1540, Spain built a wall straight up the Rock's western slope. Its lower end still forms the southern edge of the old town, pierced by gates.

i
Prioryman, CC BY-SA 3.0At the southern end of Main Street the old town stops abruptly at a wall. Gates lead through it to gardens, a cemetery and the road south. That wall is the lower end of the Charles V Wall, a 16th-century Spanish defence that runs from the edge of the bay straight up the western slope of the Rock. Walking along and through it is one of the easiest ways to see Spanish Gibraltar, which otherwise survives mostly in fragments.
The raid of 1540
In 1540 a fleet of Barbary corsairs from North Africa attacked Gibraltar. They landed on the open southern side of the town, which was poorly defended, and sacked it. Many townspeople were carried off as captives, to be ransomed later.
The raid was a shock to the Spanish crown. Gibraltar was meant to be a frontier fortress guarding the Strait, and it had been taken by surprise from its weak side. The Emperor Charles V, who also ruled Spain, ordered new defences, and Italian military engineers in Spanish service were brought in to design them.
Their answer was a wall across the slope, closing off the town from the south. It began at the shore and climbed the steep western face of the Rock to the ridge, so that no raiding party could land on the southern beaches and walk round into the town.
The wall on the hillside
The lower stretch of the wall, at the south end of town, is easy to see, with gates, gardens and roads alongside it. The upper stretch is harder to follow. It climbs at a startling angle through the scrub and rock towards the ridge, its line visible from below as a pale stripe on the slope.
Parts of the upper wall can be seen from the roads of the Upper Rock, and on a clear day you can follow it almost to the top. It is not a path, and much of it is on steep, broken ground. Enjoy it from the roads and viewpoints rather than trying to climb along it.
The wall was strengthened and altered many times after the 16th century, by the Spanish and later by the British. What you see is not purely of the 1540s, but its line and purpose date from then.
Southport Gates
The gates through the lower wall are known together as the Southport Gates. They are a group rather than a single gate, and each part belongs to a different period.
The oldest arch is the one with the coats of arms. It belongs to the Spanish defences, and above the arch you can make out the arms of Charles V, carved in stone, with later British arms added beside them.
Next to it, a second, wider gate was cut through the wall in the British period to cope with growing traffic. The road and pavements around the gates have been rearranged many times since.
Stand back from the gates and look at the wall itself. Its stonework is uneven, patched and rebuilt in different materials, with plants growing from the joints. Each repair is a small record of a siege, a storm or simply the needs of a busy town.
See also, part 2The Moorish Castle and the Tower of HomageThe Referendum Gate
The newest opening in the wall is a broad, plain arch with gardens on the town side. It is known as the Referendum Gate, cut through the wall to mark the 1967 referendum in which Gibraltarians voted overwhelmingly to keep their link with Britain.

i
Olaf Tausch, CC BY 3.0The arch frames a small garden with palms, a fountain and flowerbeds, a quiet corner beside the busy road. A red telephone box stands against the wall nearby.

i
Olaf Tausch, CC BY 3.0Through the arch, a painted sign marks the way to South Bastion, where the Line Wall along the old sea front meets the Charles V Wall. On festival days the wall is often hung with red and white bunting, the colours of Gibraltar's flag.

i
Ralph, CC BY 2.0Outside the gates
Just outside the Southport Gates lies Trafalgar Cemetery, a small walled burial ground used in the late 18th and early 19th centuries. Some of those buried there died of wounds after the Battle of Trafalgar in 1805; others died in the sieges or in the fever epidemics that hit the garrison and town.
Beyond the cemetery, the road continues south towards the Alameda Gardens and the cable car, and on towards Rosia and Europa Point. Walking south through the gates, you leave the walled town and enter what was, for centuries, the military southern district of the Rock.
For the people of the town, the Southport Gates were for centuries the boundary of daily life. Inside lay houses, churches and markets; outside lay barracks, gardens, cemeteries and the long road south. Passing through them still feels like a change of district, even though the old rules of locked gates and sentries have long gone.
How to see it
- Walk down Main Street from Grand Casemates Square to the southern end; the gates are directly ahead.
- Take time to look at the arms above the oldest arch, best seen in morning light.
- For the upper wall, look up the slope from the gardens beside the gates, or from viewpoints on the Upper Rock roads.
- Do not try to climb the wall or walk along its upper sections, which are steep and unstable.