Bangladesh beat Ireland by three wickets in a spectacular second one-day international at Chelmsford to take a 1-0 series lead.
Put at 320 to win a match reduced to 45 overs per team by the rain, Bangladesh triumphed with three balls to spare thanks to the 36 steps out of Mushfiqur Rahim.
Najmul Hossain Shanto shot 117 and Towhid Hridoy 68 to set up their chase.
Harry Tector hit 140 from 113 and George Dockrell an unbeaten 74 from 47 in Ireland’s 319-6.
The final game of the series takes place at the same venue on Sunday.
Ireland, who needed to win the series 3-0 to retain hope of automatic World Cup qualification, will take part in a 10-team qualifying tournament in Zimbabwe from next month.
Tector has reached 10 sixes – a record for an Irish player in an ODI – in making his fourth century in his last nine matches. He now averages 53.69 in 31 games in the format.
He added 98 for the third wicket with captain Andy Balbirnie and 115 for the sixth with Dockrell before being beaten by Ebadot Hossain with three overs remaining.
Shanto and Hridoy’s fourth wicket of 131 formed the centerpiece of Bangladesh’s chase.
However, they fell in the space of three overs and Mehidy Hasan’s start left them 286-6, needing 34 of 38 balls and leaving Mushfiqur with only the tail for company.
He was nearly exhausted with 26 needed from 23 deliveries, and Paul Stirling dropped Taijul Islam two balls later.
Josh Little trapped Taijul Islam lbw in the penultimate to leave Bangladesh needing five on the last.
Mushfiqur failed to score the first two deliveries and was caught in the deep back square leg of the third, but Mark Adair was untouched for a full throw to the waist.
Mushfiqur fired the free kick over the head of wicketkeeper Lorcan Tucker to seal a thrilling victory.