COLOMBO: Bangladesh cricketer Sabbir Rahman (R) plays a shot past a fielder as Sri Lankan wicketkeeper Niroshan Dickwella (C) looks on during the fifth and final day of the second and final Test cricket match between Sri Lanka and Bangladesh at The P. Sara Oval Cricket Stadium in Colombo yesterday.— AFP

COLOMBO: Opener Tamim Iqbal top-scored with 82 runs in the second innings as Bangladesh pulled off a historic four-wicket win over Sri Lanka in the second Test in Colombo yesterday.

The rare win for Bangladesh-just their fourth away from home and first against Sri Lanka in 18 attempts-ended the two-Test series in a draw after the visitors endured a 259-run loss in the opener in Galle.

Chasing a target of 191, teenage batsman Mehedi Hasan hit the winning run after an anxious half hour in the final session on the fifth day, getting Bangladesh across the line in 57.5 overs.

Tamim laid the groundwork with his 22nd Test fifty, teaming up with Sabbir Rahman who made 41 runs and shared 109 for the third wicket with the left-hander.

Sri Lanka struck in phases through spinners Dilruwan Perera and skipper Rangana Herath, who grabbed three wickets each, but lacked the cutting edge to deny Bangladesh from celebrating their 100th Test match in style.

Bangladesh began looking nervous when Tamim-who faced 82 balls and hit seven fours and a six-hoisted a catch to Dinesh Chandimal off Perera just before the tea break.

Perera then removed Sabbir through a successful review after the bowler's initial appeal for a leg-before was rejected, giving Sri Lanka an outside chance for a win.

Mushifiqur Rahim and Shakib Al Hasan got Bangladesh through to the tea break with 35 runs still needed, but Herath got a lucky breakthrough soon after the resumption as Shakib dragged a ball to stumps on 15.

Mushfiqur remained unbeaten on 22 to take Bangladesh home with some support from debutant Mosaddek Hossain, who made 13 runs during the crucial period.

Skipper Herath earlier in the morning thought to have given Sri Lanka some control once he picked up two wickets in two balls to leave Bangladesh struggling at 38-2 at the lunch break.

Herath claimed his first wicket when opener Soumya Sarkar, charging down the pitch, was deceived by a turn and lofted a catch to Upul Tharanga at mid-off for 10. Imrul Kayes edged the next ball to slip fielder Asela Gunaratne for a duck.

Perera and Suranga Lakmal frustrated Bangladesh for more than an hour with the bat as Sri Lanka added 51 runs to their overnight 268-8 before finishing up for 319 in their second innings. Perera hit his fourth Test fifty off 174 balls while tail-ender Lakmal smashed 42 off 48 balls. The duo shared 80 runs for the ninth wicket before Bangladesh separated them through a run out. - AFP