Complex sentence: Cockrell entered the Missouri State Guard and then later joined the Confederate States Army as a lieutenant and served throughout the Civil War, in which he attained the rank of colonel.
Split into simpler sentences: Cockrell entered the Missouri State Guard and then later joined the Confederate States Army as a lieutenant. He served throughout the Civil War, attaining the rank of colonel.