New Zealand wrapped up the second Test against Bangladesh by an innings and 117 runs, with Ross Taylor taking the final wicket in a fairytale finish to square the two-Test series in Christchurch on Tuesday.
Liton Das cracked a gallant 102 off 111 deliveries for Bangladesh but it was nowhere near enough with the tourists dismissed in their second innings for 278 after being forced to follow on 385 runs behind.
The top order put up gritty resistance in reaching 123 for three, while Liton shared a century partnership for the sixth wicket with Nurul Hasan.
But there was no fight in the tail as New Zealand, the reigning World Test champions, completed a much-needed win after being comprehensively beaten by eight wickets in the first Test.
The 37-year-old Taylor, New Zealand's elder statesman playing his 112th and final Test, had a rare bowl at the end and took the final wicket with Ebadot Hossain caught by Tom Latham for four.
It was a fitting farewell for Taylor, who bowed out of red-ball cricket with a New Zealand record 7,683 runs to his name and 37th in the all-time list of the sport's most prolific run-getters.
Bangladesh were sunk in their second innings by the bounce of Neil Wagner, who took three for 77, while Kyle Jamieson finished with four for 82.
But the foundations for the victory were laid by captain Latham with his 252 to set up New Zealand's mammoth first innings 521 for six declared.
The Bangladesh bowlers failed to capitalise on the green wicket, after winning the toss and putting New Zealand into bat, and when Bangladesh batted the New Zealand pace pair Trent Boult and Tim Southee showed how to use the conditions.
With swing and seam to the fore, the innings was all over in 41.2 overs for 126 with Boult taking five for 43 and Southee three for 28.
When Bangladesh were sent in to bat again, New Zealand produced the third weapon in their bowling armoury, short-ball specialist Wagner.