Complex sentence: In 1702, the town had only 2 400 inhabitants but during this period of peace, it undertook various works and became prosperous again.
Split into simpler sentences: In 1702, the town had only 2 400 inhabitants. With this period of peace, it undertook various works and became prosperous again.