Resuming on an overnight score of 321 for 5, Bangladesh failed to come to terms with Darren Sammy
Sammy completed a five-wicket haul to dismiss Bangladesh for 345
Set 277 for victory, West Indies slammed 20 from two overs before Dale Richards was run out
Shakib Al Hasan further dented West Indies by dismissing Omar Phillips for 14
Floyd Reifer steadied the ship, helping West Indies to 66 for 2 at lunch
But the West Indies captain was trapped in front by Mahmudullah soon after the break
When Travis Dowlin was caught by Imrul Kayes at forward short leg off Mahmudullah, Bangladesh were favourites
Shakib then struck a decisive blow, getting rid of Sammy to make it 119 for 6
Mohammad Ashraful's introduction into the attack yielded quick results, as he ended Nikita Miller's defiant 54-ball resistance
Ryan Austin was Mahmudullah's fourth victim, lbw for a duck and the end was near for the hosts
David Bernard did all he could to keep the Bangladesh bowlers at bay, scoring his second half-century of the match, but ran out of partners
Mahmudullah took Bangladesh to the brink of a historic win by getting rid of Kemar Roach, earning a five-wicket haul in the process
Bangladesh stormed to their second win in Tests after Shakib ended the proceedings, dismissing Tino Best
Mahmudullah finished with eight wickets in his debut Test
Tamim Iqbal was named Man of the Match for his maiden Test century
Jubilant scenes in the Bangladesh dressing room