Sri Lanka captain Angelo Mathews led from the front in the second Test at the Riverside on Sunday as his side avoided thembarrassment of another defeat by England inside three days.
But despite Mathews's 80 as Sri Lanka followed on, England was eyeing a series-clinching win.
At the close of the third day, Sri Lanka were 309 for five -- still 88 runs behind England's first innings 498 for nine declared, which featured Moeen Ali's Test-best 155 not out.
Mathews's fourth-wicket second-innings stand of 82 -- Sri Lanka's first fifty partnership of the series -- with opener Kaushal Silva (60) kept England at bay for much of Sunday's play.
Dinesh Chandimal (54 not out) and Milinda Siriwardana (35 not out) built on that platform with an unbroken partnership of 87 that took Sri Lanka to stumps.
If nothing else, Sri Lanka had at least stopped the rot after becoming the first side since New Zealand in England back in 1958 to be bowled out for under 120 in three successive Test innings.
Sunday's second innings saw the talented Kusal Mendis make a brisk 26 before he was caught behind off a James Anderson delivery that nipped away.
Lahiru Thirimanne made 13 before off-spinner Ali bowled him with a classic delivery that turned past the left-hander's outside edge as he pushed forward. Silva's leg-glance off fast bowler Steven Finn, his sixth boundary, saw him to a 111-ball fifty.
Mathews then clipped Stuart Broad through mid-wicket for four and cut him to the point rope, before his slogged six off Ali brought up Sri Lanka's 150.
Ali beat the advancing Mathews, then on 36, only for wicket-keeper Jonny Bairstow to miss the stumping chance. Mathews went on to complete a 63-ball fifty, featuring 30 runs in boundaries.
Finn ended an entertaining stand, however, when his bouncer surprised Silva, whose skyed pull into Bairstow's gloves ended nearly four hours of resistance.
The umpires checked for a possible no-ball, but Finn had narrowly avoided over-stepping and Sri Lanka were 182 for four.
Mathews made his Test-best score of 160 against England in a series-clinching win at Headingley in 2014. But he fell short of three figures on Sunday when Anderson, as he's done so often in becoming England's all-time leading Test wicket-taker, produced a fine leg-cutter that squared Mathews up and took the outside edge, with Bairstow holding a tumbling catch.
Sri Lanka was now 222 for five, with more than 19 overs left before stumps. But with the ground now bathed in sunshine, conditions for batting had improved greatly. England had four overs with the new ball prior to the close, but Chandimal responded by cover-driving Broad for his fifth four to complete a 95-ball fifty.
- Ranji Trophy Live Score, 2023-24 Quarterfinal updates: Shaw, Lalwani dismissed for Mumbai vs Baroda; SAU loses two vs TN
- India vs England Live Score, 4th Test Day 1: ENG 110/4; Ashwin gets Bairstow LBW
- IND vs ENG, 4th Test: Ashwin becomes first Indian bowler to pick 100 wickets against England
- WPL 2024: Spin twins Sophie Ecclestone, Deepti Sharma raring to go in UP Warriorz’ title bid
- Mumbai Indians WPL 2024 team analysis: Squad depth, players to watch out, fixtures