Last updated on 2 minutes ago.
Ross Taylor was bowling in a Test for the first time in four years.
The second Test is in Hagley Oval.
The New Zealand dec was 521-6.
Bangladesh 126 (Yasir 55; Boult 4-53).
The series was drawn at one apiece.
The scorecard is a summary of what happened.
Ross Taylor ended his Test career by taking the winning wickets as New Zealand beat Bangladesh by aninnings and 117 runs to draw the series.
In the second Test in New Zealand, Taylor took just his third Test wicket when he took Ebadat to the ground with his part-time off-spinner.
The first Test was won by the tourists and the series is tied at one game each.
Taylor said it was a great way to finish.
The guys gave it to me and I wanted to finish with a win.
It was an emotional game for me and my family.
Taylor finishes his 112-match Test career as New Zealand's highest run-scorer in the format, with 7,683 runs, including 19 hundreds, at an average of 44.66.
Between January and April, he will play six one-day internationals against Australia and the Netherlands.
Taylor was given a guard of honour by Bangladesh on his way to the crease on day two for his final Test score of 28 as the hosts made 521-6.
The follow-on was enforced after Bangladesh was 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110 888-739-5110
Liton Das hit a century off 114 balls as the Tigers reached 105-2 in the second half of the game.
Bangladesh was put on a sixth-century by Das and then by Kyle Jamieson, who took 4-82, but they were quickly reduced to 269-9.
With one over until the new ball was available, Tom Latham brought on Taylor, who struck with his third delivery as Hossain skied it to Latham, leaving Bangladesh 278 all out.