This interesting museum is built into the casamatas (casemates or bunkers), a labyrinth of 20 underground rooms used for storage, barracks and shelter for troops in times of siege. In the 18th century these casamatas also served as a prison. Piles of cannonballs fill a central courtyard of the museum, with British and Portuguese cannons strewn about nearby.