Tossa de Mar has one of the most important medieval city walls on Costa Brava. Medieval Tossa was first mentioned as long ago as 966. The castle, built in 1187, was used for defending the coast, but it declined during the 19th century and its remains were knocked down to build a lighthouse.
Between the 12th and 14th centuries, the walled area was built, as a defense against pirate attacks. Almost the entire original perimeter is preserved, as well as three large cylindrical towers called Codolar, las Horas and Joanąs.
In 1931, the Vila Vella of Tossa was declared a National Historical-Artistic Monument. The city walls in the Cape of Tossa are currently the only example of a fortified medieval town that still remains on the Catalan coast. The beauty of its beaches and its artistic and cultural heritage has made this place a must for tourists