Complex sentence: Humphreys was commissioned a captain in the Confederate States Army in 1861 and was subsequently promoted to brigadier general after the Battle of Gettysburg in 1863.
Split into simpler sentences: Humphreys was commissioned a captain in the Confederate States Army in 1861. He was subsequently promoted to brigadier general after the Battle of Gettysburg in 1863.