Complex sentence: He transferred to the 7th Dragoon Guards on 8 August 1822 and was promoted to major in the infantry on 10 June 1826.
Split into simpler sentences: He transferred to the 7th Dragoon Guards on 8 August 1822. He was promoted to major in the infantry on 10 June 1826.