The "Brown Bounce" was in full effect as Labour comfortably held Glenrothes in a crucial by-election.
In a result that seemed to take even party insiders by surprise, their candidate Lindsay Roy coasted to victory with a majority of 6,737.
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 Gordon Brown.