The West Indies have kept their five-match one-day series against Bangladesh alive with a four-wicket win in the third game on Wednesday.
Marlon Samuels notched a match-winning 126 as the visitors chased down Bangladesh's 227 all out with 18 balls to spare in Dhaka to cut the series deficit to 2-1.
Samuels' innings defied a very difficult pitch that did plenty for the spinners throughout.
Coming in at number three, Samuels carted 17 boundaries and two sixes in a calculated and composed display as the wickets fell around him.
Spinner Sunil Narine took best figures of 4-37 for the West Indies, including Bangladesh's top three, as the hosts were bowled out for 227 with five balls remaining.
Mahmudullah produced a defiant half-century with an innings that typified the hosts' never-say-die attitude.
The West Indies chase started poorly as Mashrafe Mortaza dismissed danger man Chris Gayle cheaply in the fourth over, but the next wicket would not come for another 23 overs, with Kieran Powell (47) and Samuels putting on 111 runs.
Abdur Razzak struck in successive overs to dismiss Dwayne Smith (four) and Kieron Pollard (one) which saw the visitors slump to 5-182, but Samuels dug in for another six overs.
Although Samuels fell before the West Indies could complete the chase, his side did enough to complete the victory.