Complex sentence: Upon the outbreak of the Civil War entered the Confederate States Army as a lieutenant and served throughout the war, attaining the rank of lieutenant colonel.
Split into simpler sentences: Upon the outbreak of the Civil War he entered the Confederate States Army as a lieutenant. He served throughout the war, attaining the rank of lieutenant colonel.