Complex sentence: He was ill between August 1851 and February 1852 and sold his commission the following year, but decided to remain in Ireland.
Split into simpler sentences: He was ill between August 1851 and February 1852 and decided to sell his commission the following year. After selling his commission, Boycott decided to remain in Ireland.