Labour seized the Corby constituency from the Conservatives by a margin of almost 8,000 votes today, in a result which will give a major boost to leader Ed Miliband.
It was the first time in 15 years that Labour has won a House of Commons seat from the Tories in a by-election.
Victorious candidate Andy Sawford suggested it had set the party on track for a successful general election in 2015, declaring: "The road to Downing Street runs through Corby."
The by-election in the Northamptonshire seat, which has strong Scottish connections through its steelworks background, was forced by the resignation of Conservative MP Louise Mensch to spend more time with her family in the USA.
Last night she took to Twitter to accept the blame for her party's failure to retain the seat, which was Labour from 1997 until 2010.
But Mr Sawford said the result was "a damning verdict on (David) Cameron's betrayal of the British people".
Mr Sawford won 17,267 votes, against Conservative Christine Emmett's 9,476, on a 12.67% swing from Tories to Labour, overturning a Tory majority of 1,951 in the 2010 general election.
Liberal Democrats were beaten into fourth place by the UK Independence Party, and Nick Clegg's party suffered the indignity of losing its deposit, despite requesting two recounts.
Shadow business secretary Chuka Umunna dismissed Tory claims that the by-election was a verdict on resigned MP Louise Mensch, insisting it was an endorsement of Labour under Ed Miliband.
"The only person that residents and voters in Corby were talking to me about were David Cameron and George Osborne," he said.
"This is a damning indictment of their failed economic plan, which is hitting people really hard, people are losing their jobs, people are paying huge tuition fees - and in addition to that, it's a continuing endorsement of Ed Miliband's leadership.
"Generally, Corby has voted for the winning party and this is Labour winning back support in a key seat with the key demographics that we need to win support from to win a majority in the next general election. It's good progress."
Mr Sawford said the result was a "damning verdict", delivered by middle England, on David Cameron's premiership.
In his victory speech, he said: "This result is a historic gain for today's One Nation Labour Party.
"Today, Middle England has spoken and they have sent a very clear message to David Cameron."
He added: "Make no mistake, since this constituency existed, no party has formed a government without winning. The road to Downing Street runs through Corby."
Mr Sawford said the result showed that Labour, under Mr Miliband, was earning back the trust of the voters it had lost in 2010.
"This result is a damning verdict on Cameron's betrayal of the British people," he added.
Responding to the Corby result, Prime Minister David Cameron said: "It's a classic mid-term result and obviously made difficult by the fact that the Conservative MP left the seat in question.
"Obviously with mid-term results you listen carefully to what people are saying but when I look across the country and see that Labour haven't won in Bristol, can't win in Swindon, can't win in the middle of Wales, I think it is a very mixed picture and shows there is no enthusiasm for the alternative.
"What the Government needs to do is keep going with the very important plans we have to get our economy and country back on track."
Conservative sources suggested Labour had failed the so-called "Crewe Test" in Corby. For Mr Miliband's party to be doing well in mid-term, it needs to be able to match the Tory performance in the 2008 Crewe by-election, when they took the Cheshire seat from Labour on a swing of more than 17.6%, said a party source.
Labour's swing is comparable to the Monmouth by-election of 1991, when the Conservatives went on to regain the seat and hold on to power in the 1992 general election, said the Tory source.
Adam Lotun, who fought on a disability rights ticket with backing from Scottish groups, came second last, taking only 35 votes.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article