John Key, the boy trader of Wall St, has been tasked with trading New Zealand out of its direst economic crisis for many years.
He is preparing to build a Government of all colours, as he reaches across the political divide to work with not just Act and United Future, but also the Maori Party and the Greens.
* National secured 45.5% of party vote
* National won 59 seats, Act 5 (up from 2) and United Future 1 - a 65 seat majority
* Labour won 33.8% of party vote and 43 seats
* Helen Clark resigned as Labour Party leader
* Greens only minor party to cross 5% threshold with 6.4% of party vote
* Unsuccessful Tauranga candidate Winston Peters resigned after NZ First failed to reach 5%
* The Maori Party won five of seven Maori seats - up one from last Parliament
* Auckland swung most strongly towards National and Wellington the least. National took Christchurch from Labour for the first time since at least 1996
* Labour also dropped in the provincial seats
New Zealand voted for a change of direction, and a change of generation.
Helen Clark, acknowledged by friends and foes alike as one of the country's strongest-ever leaders, last night announced her resignation as leader of the Labour Party.
After nine years as Prime Minister and 15 years as leader of her party, her defeat had seemed inevitable in the final days.
"Tonight has not been our night," she told devoted supporters in inner-city Auckland. "In politics we all experience the highs and the lows.
"I have experienced both in my political career. Tonight is a night for the winners to savour, but we won't be going away.
"I will be standing down. It's over and out from me."
Key faces a weighty responsibility: he will take the premiership as the country enters what could be its worst recession in decades.
But he said that New Zealanders had voted for hope, for action and for results.
"New Zealand has spoken. Hundreds of thousands across the country, they have voted for change.
"Thank you for your support, and thank you for your trust. I talked about when I was a boy in a state house, riding my bike past the houses of people more fortunate than me.
"What inspired me then, and still inspires me today, is the belief within ourselves that we have the ability to make our lives better.
"And as it is for individuals, so it is for our country. Because New Zealand has so much more potential. This is not as good as it gets."
Key has vowed to move urgently to inject life back into the failing economy by investing millions of dollars in roads, school building and broadband internet cables.
And he intends to pass legislation before Christmas to cut income taxes by $16 billion in April.
More than 1000 people welcomed the Prime Minister-elect and his wife Bronagh to a glittering party at SkyCity's grand convention centre in the centre of Auckland.
Key had already cut deals before the election to form a coalition with Act and United Future. The three parties, together, had won 65 seats - enough to give them a majority in a 122-seat Parliament.
They do not need the Maori Party's five MPs - but Key will extend his "hand of multi-partisanship" to the Maori Party in the knowledge that he may need them later in the Parliamentary term.
Maori Party co-leader Pita Sharples said he remained hopeful of a ministerial position for the party.
Even the Greens expect to work across the House with the National party on some environmental legislation, as Key tries to broker a diverse and, indeed, sustainable government.
But Act's resurgence prompted a stark warning from Phil Goff, the man tipped to succeed Clark before Christmas as leader of the Labour Party in opposition. He said: "It looks like a rather more right-wing party in government that what John Key might have had us believe."
It was a night that also ended another of New Zealand's most significant political careers.
Winston Peters, the charismatic and mercurial New Zealand First leader, and the country's longest-serving MP, failed to win back his Tauranga electorate, or to get his party over the 5 per cent threshold required by the MMP electoral system.
His resignation speech was gracious and emotional. Peters told supporters the vote was about democracy.
"It has been a great experience, a tremendous experience. To all of you, you have my eternal gratitude.
Mike Williams, the president of the Labour Party, agreed, and wished Key good luck: "Things are not going well for this country."
Labour lost some of its most senior MPs - tourism and rural affairs minister Damien O'Connor, Auckland Central MP Judith Tizard, as well as Mark Burton, Mahara Okeroa and Martin Gallagher.
As Labour licked its wounds, John Key retired home for a good night's sleep, before today beginning the process of building a new Government. He has indicated he will be joined in Cabinet by former National leader Bill English, as Finance Minister, and Tony Ryall, as Health Minister.
Act's leader Rodney Hide is likely to seek responsibility in Cabinet for local government, and for a regulatory review of red tape.
Sir Roger Douglas, 70, the architect of the 1980s Rogernomics free market reforms also returns to Parliament as an Act MP - but Key has said he will not sit around the Cabinet table.
That remains a moot point - Sir Roger said that such decisions could not be made until after the election.
Sir Roger, who was shocked by the state of the nation's finances when he entered Government after the 1984 snap election, said he too was concerned about New Zealand's financial position, and he did not believe the severity of the problems had been recognised.
"I think John Key is in for a bit of a shock tomorrow."
Key was greeted by rapturous crowds as he left his home to drive into central Auckland.
With much of the hope for propping up the economy resting in the commercial powerhouse of Auckland, the city's mayor John Banks was waiting at SkyCity for Key.
National is promising to continue with the $1 billion plan to electrify the city's commuter rail network, complete the North Shore to Manukau motorway network, and has signalled sympathy for the "super city" proposal in saying that regional infrastructure needs to be dealt with regionally.
Peter Dunne, the United Future leader, remains in Parliament as a one-man band - but has also been guaranteed a seat in Cabinet, should he want it.
He is being tipped to continue as revenue minister, a role he has performed for Helen Clark, and rejected speculation that he would accept the role of Speaker.