Complex sentence: He was promoted to captain, afterward, a major, and finally a lieutenant colonel, Twenty-fourth Regiment, Georgia Infantry, and served with Lee's army until the close of the Civil War.
Split into simpler sentences: He was promoted to captain, then major, and finally a lieutenant colonel, in the Twenty-fourth Regiment, Georgia Infantry. He served with Lee's army until the close of the Civil War.