Heron Maxwell, who had recently come into a double inheritance, aspired to the county seat for Dumfries at the by-election of 1804, though he felt bound to support Sir Charles Douglas, if the latter stood. On learning that Sir Charles was ineligible, he expressed his disappointment to his friend Lord Dalkeith that he was not the Duke of Buccleuch’s next choice, but Dalkeith protested that he had known nothing of Heron Maxwell’s ambition. He accepted this explanation and agreed to fall in with Dalkeith’s plans.
In 1807 he was returned for the burghs by Buccleuch with Lord Melville’s blessing. He was listed ‘against the Opposition’ by the Whigs in 1810 and more specifically a supporter of Lord Melville,
