Complex sentence: Creswell served as adjutant general of Maryland from 1862 to 1863 and was elected to the U.S. House of Representatives in 1862, serving from 1863 to 1865.
Split into simpler sentences: Creswell served as adjutant general of Maryland from 1862 to 1863. Creswell was elected to the U.S. House of Representatives in 1862, serving from 1863 to 1865.