I tried not to make predictions on this blog, but it's quite clear that I thought a minority Labour government was on and that a Tory majority was almost impossible. I was wrong.
The internet is now full of Blairites saying they always knew this was how things would end. With a few dishonourable exceptions (such as Dan Hodges who has been propagandising for the Tories for four and a half years) these people, in private as well as in public, have really been saying that they were pleasantly surprised by Ed Miliband in the election campaign. That he performed well on the television. That the strategy might just pay off.
And let's be honest, before we consider anything else, it might have done! The extraordinary two factors in this General Election - neither of which Ed Miliband had much control over - were the complete disintegration of the Liberal Democrats and the completely rampant success of the Scottish National Party. The scale of the former took almost every psephologist by surprise. The latter - though predicted in the polls - was still on a scale bigger than even Nicola Sturgeon imagined. Let's be honest here, it wasn't just lefties like me that thought Ed Miliband might be Prime Minister now (all be it of a precarious minority government) - even David Cameron thought he might be. These two factors were really the difference between the trailed scenario - the "mess" that might bring a minority government or a second election - and the Tory majority that prevailed. How? The Liberal Democrats vanished even where popular incumbents were expected to hold on, gifting several unexpected seats to the Conservative Party. The SNP trounced the Labour Party in Scotland, for a range of reasons that everybody is still struggling to fully understand. And the knowledge that the SNP were likely to be a powerful bloc in the new parliament and necessary to keep a minority Labour administration in power put off a whole load of English voters. The Tories knew Miliband was not quite the electoral liability they had imagined - or indeed the Blairites had imagined - which is why they constantly spoke of the threat of a "Labour-SNP" government. This talk, supported by swathes of mass media, was effective.
Other than that, Labour's vote share actually increased, more so than the Conservatives, despite the drubbing in Scotland. I don't think it was necessarily essential for Miliband to immediately resign; it's become a faintly annoying convention in modern politics that leaders resign as soon as they lose (a convention that Jim Murphy is currently choosing to challenge).
However, it would be wrong to sit back and simply conclude that an unfortunate series of events, some of them outside Labour's control, delivered a Tory majority. Because these events are not wholly outside Labour's sphere of control and interest; and there were other factors and trends at play that, while not as dramatic as the two I've mentioned, also played their part.
If anybody tells you they have an easy solution to how Labour will win in 2020 then they are an idiot, and I include former Prime Ministers in that! But one thing I am sure of is that the solutions getting the most traction in the mainstream media right now are learning exactly the wrong lessons from this election.
You see, they begin on a falsehood: that Labour fought a 35% strategy with a left-wing policy agenda, and this is what lost them the "aspirational" vote in middle England. I have no inside knowledge of the central command of the ground campaign, but most agree it was professional and extensive. In terms of the policy agenda there was absolutely no "lurch to the left" under Miliband. The truth is that they equivocated, fudged and capitulated to almost every Blairite demand, and it did them no favours whatsoever. The right-wing media said it was hard left; the left said they were "Red Tories". It was neither, of course, but there was no leftward lurch. They voted for a benefit cap - they needn't have bothered. Rachel Reeves said she didn't want the party to represent people out of work. They spend months deciding whether to oppose the Bedroom Tax. The manifesto was based entirely on "fiscal responsibility" and one of the key pledges was "control immigration". All of it pointless: the media had decided that Miliband's Labour was going to spend, spend, spend, mostly represented welfare recipients and would have an open-door immigration policy. They could have spouted the UKIP manifesto and the Mail and the Sun would have reported the identical message to the one they did. At the same time, left-wing voters, especially those who had an alternative to vote for (like the SNP in Scotland, or a high-profile Green candidate in some English constituencies) heard it all, and hated it.
And of course it wasn't all bad. There were some excellent policies. What was lacking was a coherent story. Ed had one - quite a good one - but these more right-wing policies and bits of rhetoric fudged it and made it a difficult one to tell. As such, lots of people who should have voted for Miliband's narrative actively campaigned and voted against it.
The obvious place where this happened was Scotland. The SNP preached anti-austerity. It hardly matters that their manifesto and spending commitments were remarkably similar to Labour's. Labour's story was more cuts and difficult decisions; the SNP's was anti-austerity and the SNP swept up our voters in huge numbers.
But it happened in parts of England too. I haven't done a thorough analysis of how many seats it cost (and we can't know for certain, because we don't know how many "non-voters" were apathetic and how many were calling "a plague on all your houses"). Over 1000 people voted Green in Ed Balls' Morley constituency. More than enough, had they been enthused by Labour's agenda, to keep him in the Commons.
3000 voted Green in Leeds North West - more than enough to see Alex Sobel in the House of Commons and have one less Liberal Democrat there! The same picture can be seen in Derby North. The Greens got over 1 million votes in this General Election. I'm not suggesting that even if Labour had fought a more positive, emphatically anti-austerity campaign that all those voters would have voted Labour, but it is unquestionably the case that many of them would have and that there are seats that Labour could have won under those circumstances in England, not just in Scotland. And indeed in Wales. In Gower, Labour lost by a few hundred votes. Anti-austerity voters choosing Plaid Cymru or the Welsh Greens could have given Labour a comfortable win there.
Although lots of Labour MPs had increased majorities on Thursday, chief among them with the high-profile Labour rebels whose local constituents were fully aware of their anti-austerity, unfudged messages: the likes of Dennis Skinner, John McDonnell and Jeremy Corbyn racked up ever more Labour votes. It's worth remembering that John McDonnell first started fighting Hayes and Harlington when the Tory incumbent had a reasonably comfortable lead. It's now a Labour fortress with McDonnell having nearly 60% of the vote.
Then what of UKIP? Of course UKIP are a party of the right. Where they have performed well in the north of England tends to be in constituencies where the Conservatives used to have a strong presence and no longer do, having been replaced with a new type of "working-class Tory" who prefers a purple rosette. But that is far from being the whole story. I can't be the only person who spoke to voters who were long-term Labour voters who had decided to vote UKIP. Of course there are a range of reasons for this switch and some of them are uncomfortable for liberal lefties who hope everybody could be as chilled out about immigration as we are! But there is more to this switch than immigration. It is a dislike of a political class. So even though the politics of the Labour-UKIP switcher is a polity of the right, their dislike of their former party is not that it is too far from that mythical centre ground, but that it's too close. That the parties are too similar. They disliked Labour's leadership team because they were "too posh" and couldn't really speak to them or for them. Many were nostalgic for an Old Labour, some of whose policies you would expect them to dislike more than Miliband's. However, it is likely that these voters have been alienated from the Labour movement over a much longer period than Green, Plaid and SNP switchers and a change in policy emphasis would have perhaps been unlikely to shift them in 2015.
I am sick of reading comments from people claiming that the election results prove what they've said all along anyway, and therefore the lesson to be learnt from the results is for everybody to realise how right they've always been. This is not my point here. It is undoubtedly a more complex picture than that. There are seats in the South of England - outside London - that were winnable under Blair and seem out of reach of even a modestly more socially-democratic Labour Party. We all encountered voters who were put off by Ed Miliband - whether we think that was fair, or media-fomented or not. I don't claim to have the answers, but the quick way in which the Blairite/Progressite right have pulled out all their old answers and claimed that the facts on the ground prove their analysis correct simply does not stand up to a look at what happened. If Labour moves "back to the centre" (which can only be code for "even further right") then those seats I mentioned above cannot be won back. That is essentially accepting that the Labour Party surrenders Scotland. How many more seats were there that we just held on to because enough potential switchers were persuaded that - imperfect though we are - a Labour government is preferable to a Tory one. Would they still be persuaded of that next time if we've moved further right; if we give them more evidence we're the "Red Tories" they think we are, and no further evidence that we will deliver the change they want to see?