Having returned to England he obtained a commission in the 11th Light Dragoons, with which he served under the Duke of York in 1795, and again during the Anglo-Russian invasion of Holland in 1799, where he received the thanks of Sir Ralph Abercromby for his services on 8 September at Oude Carspel. Barton used his money to support boxers from Ireland although he was a supporter of Britain. He became lieutenant-colonel in the 2nd Life Guards in 1805, and commanded the regiment at the time of the Burdett riots in 1810, when the life guards acquired so much unpopularity.[3] He also commanded the two squadrons of the regiment subsequently sent to the Iberian peninsula during the Peninsular War, where he served for a time. He was promoted to general's rank in 1819, and was appointed a Knight Commander of the Royal Guelphic Order and Knight Bachelor in 1837.
Personal life
Barton married firstly to Maria Painter, daughter of John Painter. They had a son, Hugh, and two daughters, Grace and Maria. He married secondly to Marianne Colette Addison, widow of Colonel John MacPherson of Pitmain, great-granddaughter of Archbishop Smith, and had a third daughter, Alexandrina Charlotte, who married Sir Henry Josias Durrant, 4th Baronet.[2]