Complex sentence: He gained the rank of Major-General in the British Army and held the office of "aide-de-Camp" to King William IV between 1830 and 1837.
Split into simpler sentences: He gained the rank of Major-General. He held the office of Aide-de-Camp to HM King William IV between 1830 and 1837.