Complex sentence: In New England the Federalist party was closely linked to the Congregational church, and when the party collapsed, the church was disestablished.
Split into simpler sentences: In New England the Federalist party was closely linked to the Congregational church. When the party collapsed, the church was disestablished.