Complex sentence: He remained out of Parliament for the next twenty years, but in 1852 he was returned for South Hampshire, which constituency he represented until 1857.
Split into simpler sentences: He remained out of Parliament for the next twenty years. He continued to be the Member of Parliament for South Hampshire until 1857.