He served under Henry Addington as Under-Secretary of State for Foreign Affairs between November 1803 – June 1804, under Spencer Perceval and the Earl of Liverpool as Joint Secretary to the Treasury between 1809 and 1823, under Liverpool as First Commissioner of Woods and Forests between 1823 and 1827 and under the Arthur Wellesley, 1st Duke of Wellington as First Commissioner of Woods and Forests in 1828 and as Chancellor of the Duchy of Lancaster between 1828 and 1830.