Sri Lanka ended the third day of the second Test against Pakistan at 309/9 in their second innings, holding an overall lead of 82 runs.
Sri Lanka had a difficult start to the match, being bowled out for just 98 runs in their first innings.
Pakistan responded with 325 runs in their first innings, securing a substantial lead of 227 runs.
Trailing by 227 runs, Sri Lanka began their second innings and fought back to reach 309/9 by the close of play on day three, taking their overall lead to 82 runs.
Sri Lankan captain Kusal Mendis scored 53, while Sonal Dinusha contributed 54. Milan Rathnayake remained unbeaten on 60 at stumps.
For Pakistan, Aamer Jamal claimed three wickets, while Mohammad Abbas and Razaullah took two wickets each.
With just one wicket remaining, Sri Lanka will look to extend their lead when play resumes on the fourth day.