the castle is closed by walls to the south and the north