Complex sentence: In 1861 he joined as a private the Eighth Pennsylvania Cavalry and in 1862 he was commissioned as a second lieutenant.
Split into simpler sentences: In 1861 he joined as a private the Eighth Pennsylvania Cavalry. In 1862 he was commissioned as a second lieutenant.