Ramparts connect the smaller pre-Roman Castillo Menor ( Small Castle ) with the Roman and post-Roman Castillo Mayor ( Main Castle ) , once notorious for its dungeon .
The dungeon able to hold two dozen prisoners and had a dedicated torture chamber .