New Zealand beat Bangladesh by two wickets after a thrilling end to their day-night match at the Oval.
Set 245 to win, New Zealand was cruising at 218-5 in the 43rd over, but the loss in consecutive overs of allrounders Colin de Grandhomme and Jimmy Neesham left tailenders Mitchell Santner and Matt Henry at the crease, both on 0.
With the pro-Bangladeshi crowd whipped up by their team suddenly back in contention, any hint of a dismissal was wildly cheered.
Santner and Henry got off the mark with singles and combined for 20 runs in less than three overs. Then Henry was bowled for 6 with New Zealand needing seven to win and two wickets left.
Santner and Lockie Ferguson held their nerve, and the end came in a rush thanks to two wides, a Ferguson tickle to the third man boundary, and a Santner boundary through the covers to complete the victory with 17 balls to spare.
Earlier, Shakib Al Hasan removed openers Martin Guptill (25) and Colin Munro (24), and should have had captain Kane Williamson run out on 8 while he was bowling.
Williamson was short of the crease by more than a foot when the bails were taken out, but video showed wicketkeeper Mushfiqur Rahim knocked off the bails with his right arm before he caught the ball.
Then Ross Taylor, while on 10, survived being run out by an inch. He was fortunate the throw to Mushfiqur was too high.
Williamson and Taylor went on to generate a 100-run partnership with the captain making 40 and Taylor 82.
Bangladeshis packed the Oval in hope of a double celebration beside Eid al-Fitr, the holiday marking the end of Ramadan, but they had little to cheer in the first half of the match.
Bangladesh was bowled out for 244 inside 50 overs, put in on a fresh pitch which was slower than expected.
The top five batsmen all made starts but invariably got themselves out under pressure to escape New Zealand's grip.
Shakib Al Hasan, the third Bangladeshi to play 200 ODIs, top scored with 64. He was the only batsman to make more than 30.
The New Zealand battery, backed up by smart fielding, was disciplined and Henry led with 4-47.