Labour MP Charles Chauvel has taken a parting shot at his colleagues, saying they should stop searching for the enemy within.
Mr Chauvel, a supporter of former leadership contender David Cunliffe, gave his valedictory speech in Parliament last night.
The Wellington-based MP is heading to New York to take up a position with the United Nations.
In his speech last night, Mr Chauvel said those responsible for Labour's failed 2011 election campaign should resign - and the party should move on.
"It's unproductive to keep trying to locate and exclude the supposed enemy within.
"Instead, in order to avoid history repeating, it's time for an honest, open and overdue assessment of why the 2011 campaign produced Labour's worst ever electoral result."
Those responsible should make dignified exits, Mr Chauvel said.
In a thinly veiled dig at David Shearer's recent reshuffle, he said the "undoubted talent and diversity" of Labour's caucus should be included in the shadow cabinet.
Mr Chauvel said he wanted to see Mr Shearer as prime minister by the end of next year. "I regret that I won't be his attorney-general and I appreciate the statement that he shares that regret."
- Fairfax Media
Who do you think won Key v Cunliffe's second debate?Related story: Leaders debate reveals more even contest