Former Primary Industries Minister David Carter has seen off a challenge from Labour MP Trevor Mallard for the job of Speaker in Parliament.
It came after Labour nominated its own candidate for the role in a protest move against the National Government for not consulting the opposition before putting Carter forward for the Speaker position.
Labour revealed this morning that it would nominate its own candidate for the role, and this afternoon announced Mallard, a former cabinet minister, as its contender.
"The contact should have been John Key to myself, saying 'we want to put up David Carter', that's the convention. They flouted the convention, they were arrogant about it," said party leader David Shearer.
And Labour had support for its protest challenge, with the Green Party, Mana and New Zealand First backing Mallard as the new Speaker. They too said they had not been informed about Carter's nomination.
"The fact is we were consulted about Mr Mallard, we were never consulted about Mr Carter," said NZ First leader, Winston Peters.
Carter wins speaker voteMichael Parkin (@Michael_Parkin) January 31, 2013
The Green Party said it had opposed Carter's nomination because of previous comments about disability access to Parliament.
"We chose to support Trevor Mallard in today's vote given his views on accessibility issues," said co-leader Metiria Turei.
"Trevor Mallard demonstrated a clearer understanding of the issue, seeing it as an area for parliament to manage rather than a burden for an individual MP."
However, despite the opposition to his nomination, MPs voted Carter into the position.
National won the vote with the support of the Maori Party, Peter Dunn and John Banks, bagging 62 votes from 114 MPs.
But it was a close run-contest, after Key told MPs the vote was an hour later than scheduled, said ONE News Political Editor Michael Parkin.
It was Mallard who saved the day, by tweeting the correct time, ensuring MPs arrived on time to vote.
In a dig to Mallard, Carter acknowledged his tweet in his speech after winning the nomination.
"I will be eternally grateful to the honourable Trevor Mallard that so many members follow his tweets and made sure that all members were in the house to ensure that I had the numbers. So thank you Mr Mallard for your contributions," he said.
Carter becomes Parliament's 29th Speaker, after Lockwood Smith announced he is leaving the job to become High Commissioner in London.
Congratulating Carter, Key said the role was "fitting" to the new Speaker.
"David's 19 years of experience, and his deep understanding of parliamentary procedure, will serve MPs well, and will stand him in good stead, during his tenure as Speaker," he said.
"He has been a hard-working and high-achieving minister, and I have greatly valued his contribution for the past four years."
Meanwhile, Amy Adams, Michael Woodhouse and Nick Smith have been sworn in as ministers in a special ceremony.