Complex sentence: In 1879, he chose to identify himself with the Democratic Party with which he remained for the rest of his life.
Split into simpler sentences: In 1879, he chose to identify himself with the Democratic Party. Sherwood remained with the Democratic Party the rest of his life.