Built under Spanish rule, the coastal towers were widespread on the coast for protection against pirate raids