Top moments of Steven Joyce's political career

Steven Joyce has announced he's closing the door on his colourful political career.

National's finance spokesman announced his resignation on Tuesday, just a week after his failed leadership contest. 

Mr Joyce insisted in a statement he's had a "wonderful" time in Parliament. While that might not have been true all of the time, he's certainly been a memorable politician.

Here are our most iconic moments of Mr Joyce's career.

1. Dildo 

It's not the legacy any politician wants to leave behind, but being smacked in the face with a flying dildo at Waitangi is inarguably Steven Joyce's defining moment.

TPPA protester Josie Butler launched the sex toy at the then-Economic Development Minister in 2016, shouting: "that's for raping our sovereignty".

It was captured on video, making for some pretty iconic screengrabs of the moment the fake penis brushes lovingly over his face.

US host John Oliver dedicated a whole segment of his show to the attack, and the staunch Judith Collins even recently admitted she "laughed out loud" when she saw it.

But Mr Joyce took it on the chin pretty well.

2. Fiscal hole

Mr Joyce fiercely backed his claim of a gaping fiscal hole in Labour's budget in the build-up to the 2017 election - despite numerous economists insisting his $11.7 billion figure was wrong.

If Labour had correctly budgeted, Mr Joyce claimed it "would be left with basically no allocation for increased spending in any area of government outside of health and education for two budgets".

"Everybody's agreed there's a hole," he later added.

"The only debate is about how big it is."

Labour deputy finance spokesman David Clark rubbished his claims, saying the only hole was the one "he's thrown his credibility into". Numerous economists also disputed the figure.

Mr Joyce's old university exam results sheet re-emerged amid the debate, showing he didn't pass eight economics papers as a tertiary student. Many social media users joked that maybe he simply hadn't improved at economics since then.

However, the sheet shows that technically he only failed one - the rest he either did not complete or withdrew from.

Ironically, the one he did fail was called "Labour Economics".

3. "Pretty legal"

After the National Party ripped off Eminem song 'Lose Yourself' in their 2014 election campaign ad, a perhaps too confident campaign manager Mr Joyce reassured the public in the most Kiwi way possible.

"We think it's pretty legal, we think these guys are just having a crack and have a bit of an eye for the main chance because it's an election campaign."

Well, it turns out it was maybe not so "pretty legal" - last October the National Party was ordered to pay the rapper $600,000 for their use of his track.

The $600,000 figure was based on "the hypothetical licence fee that would reasonably have been charged for permission to use a copy of 'Lose Yourself'", Justice Helen Cull ruled.

To be fair, the track was titled 'Eminem-esque'.

4. Novopay

He was known as 'Mr Fix-it' before 2013, but it was the Novopay debacle that cemented Mr Joyce's reputation as a problem-solver. 

The online payroll for education staff had become a thorn in National's side after system errors caused nationwide chaos with incorrect and missed payments. 

Mr Joyce inherited the responsibility for Novopay after a Cabinet reshuffle in 2013. A mass document release placed the blame with Australian HR company Talent2, although embarrassingly National accidentally published some redacted documents. 

Mr Joyce is now widely credited with fixing the system, reducing the error rate for payments down to a more than acceptable 0.2 percent. 

Bonus: Give way rules

One of Steven Joyce's most lasting achievements is probably one you forgot about.

As transport Minister, Mr Joyce oversaw a change to give way rules in 2010 which brought in a new rule that gave vehicles turning left the right of way.

Newshub.