Paceman Rubel Hossain stunned New Zealand with four wickets to help Bangladesh beat the tourists by three runs on Sunday and complete a 4-0 series sweep.
New Zealand were bowled out for 171 with just three balls remaining and just shy of their target of 174, with Rubel taking the final wicket when he bowled Kyle Mills in a dramatic finish at the Sher-e-Bangla Stadium.
Rubel finished with four for 25 -- his best figures in limited-overs internationals -- as Bangladesh successfully defended what was a meagre total.
Rubel removed dangerman Brendon McCullum and helped reduce New Zealand to 20-5 with his fierce opening spell of 3-13 before Daniel Vettori and Grant Elliott put on 86 for the sixth wicket.
Vettori, the New Zealand captain, made 43 and Elliott top-scored with 59 as the tourists recovered before the momentum shifted back.
Captain Shakib Al Hasan had earlier top-scored for Bangladesh with 36 off 47 balls. Opener Imrul Kayes made 34 as the home side were bowled out in 44.2 overs.
Vettori took 3-32 and Mills 3-36.
Vettori, McCullum return to New Zealand squad
NZ paceman Martin gets surprise contract renewal
Shreya Ghoshal mesmerises New Zealand
India elect to bat in first ODI vs NZ
Kyle Mills ruled out for four months