Complex sentence: The monastery attracted the nearby peasants to form a small community around the church, which eventually became the town of Saint-Seine-l'Abbaye.
Split into simpler sentences: The monastery attracted the nearby peasants which formed a small community around the church. This eventually became the town of Saint-Seine-l'Abbaye.