Lahiru Thirimanne's unbeaten 76 frustrated England as Sri Lanka fought back on the third day of the first Test in Galle.
Bowled out for 135 in the first innings, Sri Lanka showed great spirit to reach 156-2 - trailing by 130 - after England had posted 421.
Joe Root progressed to a magnificent fourth Test double century before he was last man out for 228 as England lost their last six wickets for 49 runs.
Sam Curran and Jack Leach took a wicket apiece in Sri Lanka's second innings, but off-spinner Dom Bess rarely threatened on a pitch that has offered assistance to spin since day one.
Kusal Perera contributed 62 to an opening stand of 101 with the patient Thirimanne, who was dropped on 51 by Dom Sibley at gully as he compiled his highest Test score since 2013.
The left-hander will resume alongside nightwatchman Lasith Embuldeniya at 04:15 GMT on Sunday.
England all-rounder Moeen Ali, who tested positive for coronavirus upon arrival in Sri Lanka, spent time at the ground in the afternoon after finishing his quarantine period.
(Source: BBC)