Trent Boult took career best one-day figures as New Zealand completed a tense 24-run win over Australia in Hamilton on Sunday to regain the Chappell-Hadlee Trophy with a 2-0 series victory.
Boult took 6-33 as Australia, who only needed to square the series to retain the trophy, were dismissed for 257 on the final ball of the 47th over as they chased New Zealand's 281 for nine.
The home side's innings had been built on Ross Taylor's 16th ODI century with Dean Brownlie adding his maiden half century in his first ODI innings in more than two years.
Stand-in captain Aaron Finch (56) and Travis Head (53) had put Australia on track for victory but the visitors lost quick wickets after good partnerships before Boult returned to run through the tail.
"I think the collective bowled really well and we managed to take wickets throughout and put pressure on them," man-of-the-match Boult said.
"It was a good series and great couple of games and we're happy to have (the trophy) back."
New Zealand won the first game at Eden Park by six runs but the second in Napier on Thursday was abandoned without a ball being bowled due to an unsafe, wet outfield.
Marcus Stoinis, whose 146 not out in the first game almost single-handedly clinched victory for Australia, looked like being the key wicket again on Sunday when he was well set on 42 with his side 198-6 in the 40th over.
The 27-year-old, however, did not quite get hold of a flighted delivery from left-arm spinner Mitchell Santner and holed out to Jimmy Neesham at long on.
Pat Cummins (27) and Mitchell Starc (29 not out) threatened to get the visitors home with a 51-run partnership in five overs before Boult struck with three wickets.
"Australia showed why they are number one in the world," New Zealand captain Kane Williamson said.
"We felt like we had them under pressure but they kept coming at us. So credit to our guys to soaking up that pressure and taking the games deep and coming out the other side."
Earlier, Taylor's 107 and Brownlie's 63 laid the foundation for New Zealand's innings but the latter's dismissal sparked a middle order collapse and the hosts slumped to 209-6 in the 41st over.
Santner then provided a valuable 38 runs including two fours and a six to end the 50th and final over, which started with Starc taking two wickets from the first two balls.
"We felt that it was a target we could chase down," Finch said.
"While we had a couple of guys get 50s, they don't win games at this level."
D Brownlie c Handscomb b Faulkner 63
T Latham c Hazlewood b Starc 0
K Williamson c Handscomb b Cummins 36
R Taylor c Stoinis b Faulkner 107
N Broom c Handscomb b Faulkner 8
C Munro c Starc b Hazlewood 3
J Neesham b Hazlewood 1
M Santner not out 38
T Southee b Starc 10
L Ferguson b Starc 0
T Boult not out 1
Extras: (LB-6, W-7, NB-1) 14
Total (9 wkts in 50 overs) 281
Fall of wickets: 1-6, 2-76, 3-176, 4-198, 5-205, 6-209, 7-246, 8-265, 9-265.
Bowling: Starc 10-1-63-3, Hazlewood 10-0-44-2, Stoinis 4-0-22-0, Cummins 10-0-47-1, Zampa 7-0-41-0, Faulkner 9-0-59-3.
A Finch c Boult b Williamson 56
S Marsh run out (Santner/Latham) 22
P Handscomb b Boult 0
T Head c Brownlie b Boult 53
G Maxwell c Latham b Santner 0
M Stoinis c Neesham b Santner 42
J Faulkner c Taylor b Boult 0
P Cummins c Santner b Boult 27
M Starc not out 29
A Zampa c Taylor b Boult 1
J Hazlewood b Boult 4
Extras: (LB-12, W-11) 23
Total: (all out in 47.0 overs) 257
Fall of wickets: 1-44, 2-44, 3-119, 4-120, 5-173, 6-174, 7-198, 8-249, 9-253, 10-257.
Bowling: Southee 8-0-39-0, Boult 10-1-33-6, Ferguson 9-1-62-0, Neesham 3-0-17-0, Santner 10-0-50-2, Williamson 7-0-44-1.