Bangladesh made their second-biggest one-day international run-chase to complete a 3-0 series victory over New Zealand.
Shamsur Rahman fell agonisingly short of a maiden ODI ton as he was caught behind for 96 but his knock gave the Tigers the platform to successfully chase the tourists’ 307 for five and record a four-wicket win with four balls to spare.
The Black Caps, who lost 4-0 during their last one-day tour to the country, will have felt their total - boosted by Ross Taylor’s eighth ODI century - would have been enough to leave them with a victory to show for their efforts, but their bowlers were unable to deny the hosts a third success.
Having been put in to bat the visitors reached 101 for three, after opening duo Anton Devcich and Tom Latham put on 50 together in eight overs but both fell just short of individual half-centuries while Grant Elliott made just three.
But Taylor - who was dropped on 11 - started steadily before accelerating to a brilliant ton. His first 50 runs came off 69 balls with two boundaries but after Colin Munro's departure - the pair put on 130 for the fourth wicket - he added 57 from a further 24, with seven more fours and three maximums.
Bangladesh had only successfully chased over 300 once before - against Zimbabwe in 2009 - but Rahman’s 96 - including seven fours and four sixes - gave them a great start.
Mominul Haque added 32 before offering a return catch to Devcich and Corey Anderson eventually accounted for Rahman as he searched for the elusive hundred, but Naeem Islam and Nasir Hossain put on 50 together to bring the total within sight.
Naeem fell for 62 with 7.3 overs remaining and victory 54 runs away but Hossain remained unbeaten to the end while Sohag Gazi hit the winning runs in the final over of the contest.