Of the four gates to the residential area (almedina) surrounding the castle, only remains the Torreão da Porta da Cidade ( Turret of the City Gate). Two corridors give access to the city.