 The church suffered fires in 889, 1106 and 1149, each time being rebuilt.At the beginning of the 17th century the edifice was in poor condition, and was therefore demolished and rebuilt.Works were finished in 1743–49.