Chittagong, Bangladesh: Sri Lanka spinners led by Rangana Herath took three crucial wickets late in day four to leave Bangaldesh with an uphill task of saving the opening Test on Saturday.
Bangladesh reached 81-3 at stumps, still needing 119 to make Sri Lanka bat again. The visitors declared their first innings at 713-9 in the final session.
Off-spinner Dilruwan Perera dismissed Imrul Kayes for 19 before left-arm unorthodox bowler Lakshan Sandakan got Tamim Iqbal caught behind for 41.
Herath then removed Mushfiqur Rahim for two with his left-arm spin in the last over of the day.
Earlier, Roshen Silva joined the run fest in the morning session to post his maiden Test century after Lanka resumed on 504-3.
He made 109 off 230 balls before becoming the first batsman dismissed on the day.
Silva was Sri Lanka's third century-maker of the innings after Kusal Mendis and Dhananjaya de Silva, who made 196 and 173 runs respectively.
Mehedi ended Silva's impressive innings when the right-hander edged a low delivery to wicketkeeper Liton Das.
Silva shared a 135-run stand with Chandimal for the fourth wicket and hit six fours and a six.
Sri Lanka declared their innings in the third over into the final session with a lead of 200 runs in response to Bangladesh's first innings total of 513.