 Between 1127 and 1161 the cathedral was rebuilt on the foundation of a basilica dating to the 9th century.However, in 1212, a fire destroyed its timber frame.In 1525 Erasmus of Rotterdam visited Besançon at the invitation of Ferry Carondelet.