Trent Boult took two quick wickets after lunch to help New Zealand complete a 122-run victory over Sri Lanka on the fifth day of the first Test at University Oval in Dunedin on Monday.
The visitors were bowled out for 282 having been set 405 runs to win.
Sri Lanka were 224-6 at the lunch break before Boult grabbed both Rangana Herath (six) and Milinda Sarawardana (29) in the first 20 minutes of the middle session before bowlers Mitchell Santner and Doug Bracewell completed the victory.
Santner bowled Dushmantha Chameera for 14 while Suranga Lakmal belted four boundaries in his 23 before he hit the ball straight back to Bracewell to end the match.
The hosts had earlier benefited from two brain explosions by Sri Lanka's top batsmen in the extended first session.
Both Angelo Mathews and Dinesh Chandimal looked comfortable on the benign pitch before Mathews failed to play a shot and was bowled for 25 by Neil Wagner.
Chandimal then also failed to offer a shot to a Santner delivery and was trapped lbw for 58.
The pair, who had put on 56 runs, were both dismissed with the score on 165.
Sri Lanka had resumed on 109-3 and needed to score 296 further runs from 98 overs to achieve the fourth-highest successful run chase in Tests.
Chandimal brought up his 10th Test half-century when he pulled a short ball from Doug Bracewell down to fine leg for a single, though he was not able to fully capitalise as both he and his captain fell shortly after the drinks break.
Kithuruwan Vithanage was also dismissed before lunch when he was trapped lbw to Tim Southee for a counter-attacking 38.
The second match of the two-Test series starts at Seddon Park in Hamilton on December 18.
Scorecard
New Zealand (1st innings): 431 (M. Guptill 156, K. Williamson 88, B. McCullum 75; Pradeep 4-112).
Sri Lanka (1st innings): 294 (D. Karunaratne 84, D. Chandimal 83; Southee 3-71, Wagner 3-87).
New Zealand (2nd innings): 267 (T. Latham 109 not out, K. Williamson 71; Herath 2-62).
Sri Lanka (2nd innings): (overnight 109-3)
D. Karunaratne c Watling b Southee 29
K. Mendis c Watling b Southee 46
U. Jayasundera c Watling b Wagner 3
D. Chandimal lbw Santner 58
A. Mathews b Wagner 25
K. Vithanage lbw Southee 38
M. Siriwardana c McCullum b Boult 29
R. Herath c Guptill b Boult 6
D. Chameera b Santner 14
S. Lakmal c&b Bracewell 23
N. Pradeep not out 4
Extras: (b2, lb4, w1) 7
Total: (10 wickets, 95.2 overs) 282
Fall of wickets: 1-54, 2-64, 3-109, 4-165, 5-165, 6-213, 7-236, 8-249, 9-268, 10-282.
Bowling: Boult 15-2-58-2, Southee 21-6-52-3, Bracewell 19.2-5-46-1, Santner 22-6-53-2, Wagner 17-5-56-2, Williamson 1-0-11-0.
Sometimes you have to risk losing to win as well: McCullum
1st Test: Chandimal, Karunaratne defy New Zealand
India favourites to win ICC World T20?
Will Vizhinjam port fulfill India's maritime dream?
West Indies' Samuels banned from bowling for 12 months