Complex sentence: In 1801, he was promoted to the rank of colonel participated in the capture of Madeira, and later appointed governor of Madeira from July 1801 until March 1802, before becoming Military Secretary in 1803 and Quartermaster-General in Ireland in 1804.
Split into simpler sentences: In 1801, he was promoted to the rank of colonel and participated in the capture of Madeira. He was then appointed governor of Madeira from July 1801 until March 1802, before becoming Military Secretary in 1803 and Quartermaster-General in Ireland in 1804.