Complex sentence: He served in that post for 19 years, giving up the post to run for Congress.
Split into simpler sentences: He served in that post for 19 years. He resigned in order to run for Congress.