 The cathedral of Bergamo was dedicated to S. Alessandro of Bergamo, which lay outside the walls of the town.It was destroyed at the beginning of the 10th century, during the incursions of the Hungarians, and the remains of S. Alessandro were rescued and transferred to the church of S. Vincenzo, inside the city.The church of S. Alessandro was eventually rebuilt (and destroyed again in 1561), but the church of S. Vincenzo continued to serve as the cathedral during the 10th, 11th, and 12th centuries.