According to a description left by a crusader who took part in the conquest of Silves, the town's defences consisted, in addition to the castle, of three lines of ramparts.
All that remains of these defensive walls are a few stretches built of red sandstone and taipa and a number of towers which once protected the residential area, the "almedina" of Silves.
Of the four gates to the almedina all that remains is the Torreão da Porta da Cidade (the Turret of the City Gate), that consists of a barbican built in the 12th or 13th century which gives access, by way of two corridors, to the city.
Inside the tower are two rooms and annexes which were for centuries the home of the Municipal Council.