Gordon Brown has hailed Labour's victory in the Glenrothes by-election as a vote of confidence for the Government's response to the economic downturn. Pundits had predicted that the SNP would capture the seat left vacant by the death of MP John McDougall but in end the result was not even close with Lindsay Roy winning by almost 7,000 votes. Speaking to reporters in Downing Street, the Prime Minister said: "What I have learned from this by-election is that people are prepared to support Governments that will help people through the downturn and offer real help to people. "They are less willing to support people who have no idea about how to solve the problems we have got." Although the margin was down a third on that achieved at the 2005 general election, the win will be seen as a huge personal boost for Mr Brown. The constituency borders the Prime Minster's Kirkcaldy and Cowdenbeath constituency and Mr Brown staked political capital by visiting it twice during the campaign - breaking the precedent that premiers stay away from by-elections. Mr Brown's wife Sarah was also deployed to help bring in support. Delivering his victory speech, Mr Roy praised Mr Brown, saying: "I pledge my support to the leader of this country, someone who has worked very hard on behalf of all of us, not just in Fife, but in Scotland and the UK during these volatile economic times." Labour's terrible run prior to Glenrothes saw them thrashed in local elections and stripped of the London mayoralty, before losing a 7,000 majority at the hands of the Tories in Crewe and Nantwich in May.