Complex sentence: He purchased his captaincy on 17 September 1825 and was with the 26th foot in the First Anglo-Chinese War.
Split into simpler sentences: He purchased his captaincy on 17 September 1825. He was with the 26th foot in the First Anglo-Chinese War.