Opener Kusal Mendis and Dhananjaya de Silva have hit career-best centuries for Sri Lanka to reach 3-504 on Friday's third day of the first Test against Bangladesh in Chittagong.
Mendis scored 196 and de Silva 173 as Sri Lanka ended the day just nine runs behind the hosts.
They combined for 308 for the second wicket.
At stumps, Roshen Silva was 87 not out and nearing his first century, and captain Dinesh Chandimal was with him on 37.
Resuming on 1-187, Mendis and de Silva kept Bangladesh at bay throughout the morning session.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
Pace bowler Mustafizur Rahman broke through in the post-lunch session with the new ball, bagging de Silva, who tried a pull to the leg side but edged behind.
De Silva's fourth century in his 12th Test was almost flawless with a strike rate of more than 75. His 173 came off 229 balls, with 21 fours and one six. He was out at 2-308.
Mendis then shared a 107-run partnership with Roshen Silva. Mendis was four runs from his maiden double century an over before tea when he charged at left-arm spinner Taijul Islam and was caught close to midwicket by Mushfiqur Rahim.
Mendis survived chances on four, 57 and 83. He hit 22 fours and two sixes in his 196 off 327 deliveries.
With some turn and bounce on offer, Bangladesh sensed an opportunity to peg back Sri Lanka's innings at 3-415 but Silva and Chandimal batted sensibly.

