Complex sentence: In July 1866, Miles was appointed a colonel in the regular army, and in March 1869 became commander of the 5th U.S. Infantry Regiment.
Split into simpler sentences: In July 1866, Miles was appointed a colonel in the regular army. In March 1869 he became commander of the 5th U.S. Infantry Regiment.