Complex sentence: He unsuccessfully contested Andover in 1868, and won the seat in 1874, holding it until 1880.
Split into simpler sentences: He unsuccessfully contested the Parliamentary constituency of Andover in 1868. He won the seat in 1874 and held on to it until 1880.