Galle: A 106-run seventh-wicket partnership between captain Mushfiqur Rahim and 19-year-old Mehedi Hasan helped Bangladesh avoid the follow-on in the first Test against Sri Lanka on Thursday.
Bangladesh were all out for 312, two balls after the resumption of play from the tea break that was called early due to bad light.
The tourists were 6-192 and were facing the risk of being asked to bat again after Sri Lanka's first innings total of 494.
However, 85 runs from Mushfiqur and 41 from Mehedi - who took four wickets in Sri Lanka's first innings - ensured The Tigers avoided the follow-on and trail by 182.
Sri Lanka had a chance to dismiss Mehedi when he was just nine but Asela Gunaratne put down the chance. He was also given out leg before wicket at 29 before a success review of the decision.
Off-spinner Dilruwan Perera was called up for the first time in a bid to break the stand and he delivered in his third over when Mehedi was ruled out lbw.
Mushfiqur's stubborn resistance finally ended when he was bowled by Rangana Herath.
Perera was the pick of the bowlers with 3-53 while Herath also chimed in with three wickets.
Brief scores
Sri Lanka - 494 (Mendis 194, Mehedi 4-113)
Bangladesh - 312 (Mushfiqur 85, Sarkar 71, Perera 3-53, Herath 3-72)
Status - Sri Lanka lead by 182 runs