Complex sentence: The basilica was consecrated on 5 June 1864 and replaced a church of the same name built in 1214 and restored in the 15th century.
Split into simpler sentences: The basilica was consecrated on 5 June 1864. It replaced a church of the same name built in 1214 and restored in the 15th century.