The exact number of gates in the medieval city walls is unknown, but at least three can be mentioned, corresponding to the main roads leading out of the town to reach the cultivated fields.

There was no gate on the west side because there was no perceived danger from the mountains. Of the three, the most important was the Jàpacu gate, probably named after the rather common name of people who lived in the neighborhood.

It served as an exit to reach the entire eastern part of the territory, all the way to the sea, where, however, the worst danger could come from: the Turks, predators who sometimes even kidnapped young people.

The gate is neither wide nor tall, perhaps to prevent the enemy from easily storming in. It was located next to the Bastion, a formidable defensive structure from which anything could be launched at anyone attempting to enter the town as an enemy.

The gate, the only one remaining, is in poor structural condition and risks collapsing if urgent and proper measures are not taken.