In the 1841 United Kingdom general election, there was a big swing as Sir Robert Peel's Conservatives took control of the House of Commons. Melbourne's Whigs had seen their support in the Commons erode over the previous years. Whilst Melbourne enjoyed the firm support of the young Queen Victoria, his Ministry had seen increasing defeats in the Commons, culminating in the defeat of the governments budget in May 1841 by 36 votes, and by 1 vote in a 4 June 1841 vote of no confidence put forward by Peel. The Whigs and Tories were at odds over whether Melbourne's defeat required his resignation, with Queen Victoria being advised that Lord Brougham advising her that calling an election would be without precedent, and that it should only be dissolved to strengthen the governments hands, whereas dissolution facing the Whigs in 1841 was expected to result in their defeat. Melbourne himself opposed dissolution, although his cabinet came to accept it, and Melbourne requested Queen Victoria dissolve parliament, leading to an election.
The Conservatives campaigned mainly on the issue of Peels leadership, whilst the Whigs emphasised an impersonal platform of reforming the import duties on corn, replacing the existing sliding scale with a uniform rate. The Whig position lost them support amongst protectionists, and the Whigs saw heavy losses in constituencies like the West Riding, where aristocratic Whig families who held a strong tradition of unbroken representation in parliament were rejected by the electorate. Even radical support coalesced around the Tories, with it being felt that Peel would be more open to electoral reform. Radical opinion also appeared to favour the business background of Peel and his supporters to the aristocratic and political background of Melbourne's Whigs, with it being felt that the Whigs made poor governors.
The Whigs also lost votes to the Irish Repeal group. The Chartists picked up only a few votes despite their popular support, because voting was still restricted to a small percentage of the population. Only 3.17% of the total population voted. It is regarded as having been one of the most corrupt elections in British parliamentary history, the Westminster Review stating that the “annals of parliamentary warfare contained no page more stained with the foulness of corruption and falsehood than that which relates the history of the general election in the year 1841.”