Complex sentence: By 1840, he was serving in the Illinois House of Representatives, and he served as Illinois Secretary of State from 1841-1843.
Split into simpler sentences: By 1840, he was elected to the Illinois House of Representatives. He was appointed as Illinois Secretary of State, serving from 1841-1843.