Small villages with narrow cobbled streets sit among them , built inland to offer protection against pirate raids .
The small villages were constructed in such a way that they were protected from pirate raids .