Complex sentence: That year he served as High Sheriff of Oxfordshire and then as MP for Thirsk from April 1784 until his death in 1805.
Split into simpler sentences: That year he served as High Sheriff of Oxfordshire. Sir Gregory served as MP for Thirsk from April 1784 until his death in 1805.