Opener Shai Hope has smashed an unbeaten 146 for West Indies to beat Bangladesh and level the three-match ODI series.
The hosts made 7-255 and Hope single-handedly thwarted the hosts with a career-best ODI knock to hold together the winning reply of 6-256 and keep the series alive.
The third and final match is on Friday back at Sylhet.
Bangladesh looked set to secure a third straight bilateral series win when it exposed the West Indies tail at 6-185.
But Hope shared an unbeaten 71 off 64 balls with Keemo Paul for the seventh wicket, in which Paul contributed only 18.
The West Indies needed 32 off the last 18 balls to win and scored 10, including a Hope six back over bowler Rubel Hossain.
The equation dropped to 22 off 12, and Hope brought victory in sight by hitting Mustafizur for three boundaries - all of them from the same perfectly manufactured shot - in a 16-run penultimate over.
Paul ended up hitting the winning runs, as the West Indies finally beat Bangladesh on this tour after three heavy defeats in the tests and first one-dayer.
Hope's match-defining innings was laced with a dozen boundaries and three sixes.