Doug Bracewell was the hero of the hour as New Zealand secured an unlikely seven-run triumph over Australia after a thrilling finish at Hobart's Blundstone Arena.
Chasing a target of 241 for victory in the second Test, Australia fell agonisingly short despite a heroic maiden century from David Warner.
A last-wicket partnership worth 34 between Warner and Nathan Lyon had taken the game to the wire.
But Bracewell removed Lyon to clinch the victory, capping a display in which he took 6-40. Tim Southee provided solid support as he took 2-77.
Rookie opener Warner finished unbeaten on 123, carrying his bat through the Australian innings, but it was not enough for his team.
Bracewell had taken three quick wickets before lunch and skipper Ross Taylor sensed the time was right to attack in the afternoon session with Southee then introduced. And together Bracewell and Southee bowled unchanged brilliantly to seal New Zealand's first win in Australia since 1985.
Aside from a tough chance that was dropped by Jesse Ryder from Peter Siddle, New Zealand's packed slip cordon did the business by snaring six catches in the Australian innings.
Australia, on 173-5 at lunch, had still looked to be in a strong position, particularly when Warner found the five runs he needed to post his maiden Test century early in the second session.
Together with Brad Haddin (15) he provided a steadying influence after the wobble late in the morning.
But when Haddin went driving at a wide one and was caught at slip by Taylor it triggered a collapse as Australia lost four wickets for seven runs, with Siddle (2), James Pattinson (4) and Mitchell Starc (0) falling in the space of two overs.
Warner had seemingly been hampered by a back complaint during the morning session - and he was forced to carry a huge burden after the break in first reaching his century and then trying to guide his side home with wickets tumbling at the other end.
Lyon joined Warner at the crease with 42 required for victory and survived two reviewed LBW decisions as the pair chased what was becoming an increasingly unlikely victory.
But Warner's brave resistance ended when Lyon was the last dismissed, bowled by Bracewell for nine, sparking wild celebrations among the New Zealand players.