Colombo: Bangladesh beat Sri Lanka by 45 runs in the second Twenty20 international to finish the two-match series with a draw in Colombo on Thursday.
Mustafizur Rahman claimed 4-21 while Shakib Al Hasan bagged 3-24 as Bangladesh dismissed Sri Lanka for 131 runs in 18 overs after scoring 176-9 at R. Premadasa Stadium.
Chamara Kapugedara struck highest 50 runs for Sri Lanka, facing 35 balls.
Bangladesh's win spoiled a brilliant hat-trick by the home side's veteran fast bowler Lasith Malinga, who finished with 3-34 runs.
Shakib made highest 38 runs for Bangladesh while openers Imrul Kayes and Soumya Sarkar chipped in with 36 and 34 runs respectively.
Sri Lanka won the first match by six wickets on Tuesday.
Earlier, Lasith Malinga became only the fifth bowler in the history of Twenty20 internationals to claim a hat-trick as Sri Lanka restricted Bangladesh to 176-9.
Malinga bowled Mushfiqur Rahim and Mashrafe Mortaza and trapped debutant Mehedi Hasan lbw in his final over to finish with 3-34.
His feat, the second Sri Lankan to achieve the mark after team-mate Thisara Perera, spoiled a good start by Bangladesh, who were bidding for a perfect send-off to their captain Mashrafe who is retiring after the series.
Imrul Kayes and Soumya Sarkar added 70 runs in a record opening partnership to give the visiting side a solid start at the R. Premadasa Stadium after Mashrafe won the toss and opted to bat in his final Twenty20 international.
Imrul and Soumya surpassed Tamim Iqbal and Anamul Haque's 63 runs against Nepal in an ICC World Twenty20 in 2014, which was Bangladesh's best start until this game.
Soumya made 34 off 17 balls before he was caught and bowled by Asela Gunaratne while Imrul, who replaced injured Tamim Iqbal in the starting line-up, was run out after making 36 off 25 balls.
Shakib and Sabbir Rahman shared another 46 runs for the third wicket before Sri Lanka had another success as Vikum Sanjaya bowled Sabbir for 19 runs.
Nuwan Kulasekara bowled Shakib to end his prolific 31-ball innings of 38, the highest for Bangladesh before Malinga's hat-trick stunned the visitors.
Brief scores
Bangladesh - 176 for 9 (Shakib 38, Kayes 36, Sarkar 34, Malinga 3-34)
Sri Lanka - 131 (Kapugedera 50, Rahman 4-21, Shakib 3-24)
Result - Bangladesh won by 45 runs