Complex sentence: By 1861, Barton had become a Captain in the Union Army when he resigned his commission joining the 3rd Arkansas Infantry as a Lieutenant Colonel in the Confederate Army.
Split into simpler sentences: By 1861, Barton had become a captain in the Regular Army. With the outbreak of the Civil War, he resigned his commission and joined the 3rd Arkansas Infantry as a lieutenant colonel in the Confederate army.