The ancient city walls of Girona were mainly built in the Middle Ages, expanding upon the Roman city walls. Some sections are among the longest surviving Carolingian walls in Europe, dating back to the 9th century AD. The walls feature numerous towers, offering excellent viewpoints overlooking the old town and its surroundings, as well as distant views of the Pyrenees Mountains.