Complex sentence: In 1632 the Ursuline convent of Flavigny was founded and in the early 18th century a new residence for the Abbot of Flavigny was constructed; by that time the abbacy had become corrupt and was held by a layman who had little to do with the town.
Split into simpler sentences: In 1632 the Ursuline convent of Flavigny was founded, and in the early 18th century a new residence for the Abbot of Flavigny was constructed. However, by that time the abbacy had become corrupt and was held by a layman who had little to do with the town.