West Indies quick Shannon Gabriel claimed his best match figures in a Test but Sri Lanka recovered from a poor start to move into a strong position after Dinesh Chandimal pleaded not guilty to ball tampering on day four.
Chandimal was charged for allegedly taking sweets out of his left pocket and putting them in his mouth before applying the artificial substance to the ball on Friday.
The tourists took to the field two hours later than scheduled in protest on Saturday, but went straight out into the middle on the penultimate day and recovered from 48-4 to close on 334-8 - leading by 287 as they attempt to level the three-match series in St Lucia.
Kusal Mendis top scored with a classy 87, while Niroshan Dickwella made a quick-fire 62 and Chandimal chipped in with 39 as his side showed great character to take the upper hand.
Chandimal faces a hearing at the end of the Test and has the backing of Cricket Sri Lanka following an incident which has overshadowed what has become an enthralling contest at Darren Sammy National Cricket Stadium.
Gabriel took 5-59 in the first innings and the paceman was comfortably the pick of the Windies bowlers again with 6-57, but Sri Lanka batted superbly to set up an intriguing final day.
WIvSL: Shannon Gabriel dismissed Roshen Silva for his fifth wicket in the @OfficialSLC to become 1st @westindies bowler to take 10 wkts in a Test vs this opponent #Congratulations pic.twitter.com/dhCy0RpZDs— CricketWestIndies (@westindies) June 17, 2018
Sri Lanka looked in danger of suffering a series defeat with a day to spare when they lost three early wickets, a probing Gabriel snaring Kasun Rajitha leg before without scoring and Dhananjaya de Silva before Mahela Udawatte slapped a Kemar Roach delivery to Devendra Bishoo at short cover.
Mendis and Chandimal set about starting a rescue mission, the skipper showing his mettle in difficult circumstances to dig in as his partner played with freedom at the other end.
The elegant Mendis hit Roach into the leg side for two sixes in an entertaining knock and Chandimal rotated the strike before edging Roach (2-75) behind.
Mendis missed out on a deserved century when he chopped on to a delivery from the excellent Gabriel, who also removed Dickwella - but not before he had struck seven boundaries in a rapid half-century - and Roshen Silva (48), but it was very much advantage Sri Lanka at stumps.
23 de febrero 2019
|Bayern Munich 1 Hertha Berlin 0: Martinez sends champions level at top|
|France bounce back as Scotland suffer familiar Paris pain|
|It was obvious! - Lloris furious at Dean decision|
|Maybe the cables crossed in my brain - Pochettino explains Dean row|
|Captaining Ireland an incredible honour - O´Mahony|
|Zazai´s 162 leads Afghanistan to record T20I total|
|Benitez: Ashley and I need to be on the same page|
|Burnley 2 Tottenham 1: Barnes hits late winner after Kane´s goalscoring return|
|Simeone has no gripe with Ronaldo over Atletico Madrid insult|
|Icardi remains sidelined for Inter´s Fiorentina trip|
|Sangakkara leads Sri Lanka plaudits after historic triumph|
|Solari still committed to LaLiga title race|
|Allegri calls on Juventus to ´do something extraordinary´ after Atletico loss|
|DeRozan humbled by reception on bittersweet Raptors return|
|Du Plessis laments lacklustre Proteas display|
|Hard work pays off for Karunaratne´s Sri Lanka|
|De Laurentiis aims jibe at Juventus and Ronaldo|
|BREAKING NEWS: Kane returns for Spurs at Burnley|
|Champions Crusaders outclass Hurricanes|
|Sri Lanka make history with series win in South Africa|
|Mane: Putting pressure on ourselves won´t help Liverpool|
|Thunder´s George: That was a statement|
|Leclerc ready to battle for top Ferrari billing|
|Man United outing was a learning experience – Alexander-Arnold|
|Redknapp expects more twists as under-pressure Liverpool seek to end title drought|
|Chelsea v Manchester City: Myopic Blues should show Sarri faith regardless of Wembley result|
|Westbrook´s streak ends in Thunder win, Raptors best DeRozan in return|
|Johnson happy with patient approach in Mexico|
|Italy, Poland secure World Cup spots|
|Del Potro stunned, Isner through at Delray Beach|
|Klopp: Man United clash not decisive|
|Mbappe, Di Maria partnership pleases Tuchel|
|WATCH: Raptors pay tribute to DeRozan in return to Toronto|
|Trahan in three-way tie for lead in Puerto Rico|
|Trump on Kraft charge: He´s proclaimed his innocence totally|
|Van Uytvanck battles back to stay on course in Budapest|
|Johnson moves into lead, McIlroy two shots back|
|Arsenal must show intensity to get fans on side - Emery|
|Impressive Tsitsipas through to last four in Marseille|
|England fall in line to Cottrell as West Indies level ODI series|
|Fulham ´scared´ after Hernandez handball - Ranieri|
|Gattuso encouraged by AC Milan´s rampant second-half showing|
|City respond to allegations relating to Sancho deal|
|Wenger will not be new sporting director, insists PSG president|
|´You shouldn´t be refereeing´ - Warnock blasts official after heavy defeat|
|Neymar and Mbappe ´2,000 per cent´ staying at PSG|
22 de febrero 2019
|Saints rally to see off Rhinos but Warrington lead the way|
|Gloucester hand Saracens rare Premiership defeat|
|Munster keep the Ospreys grounded as Warriors demolish Connacht|
|I don´t know the meaning of Sarriball - Chelsea boss focused on results|
|Who is Robert Kraft? The New England Patriots owner who helped build an NFL dynasty|
|Cardiff City 1 Watford 5: Deulofeu and Deeney down Bluebirds|
|West Ham 3 Fulham 1: Hernandez´s handling sparks Hammers recovery|
|Three team members treated following McLaren garage fire|
|AC Milan 3 Empoli 0: Piatek´s hot streak continues as Rossoneri roll on|
|Controversy mars Hernandez´s milestone goal|
|Laporte 2025: New deal earned through winning habit from Man City´s pass master|
|Watford and Everton reach agreement over Silva|
|Hodgson inspired by Attenborough ahead of Premier League record|
|Chelsea will challenge Manchester City in EFL Cup final - Laporte|
|Wolff compares Ferrari new recruit Leclerc to young Hamilton|
|Messi not Sevilla´s only worry with Navas in doubt|
|Kvitova outlasts Hsieh, Bencic dumps out champion Svitolina|
|Patriots owner Kraft charged with soliciting prostitution|
|Laporte signs long-term extension with Manchester City|
|Ellis set for Super League comeback with Hull FC|
|Ill Hummels out of Hertha game|
|Halfpenny to make Scarlets comeback against Cheetahs|
|Sri Lanka sense historic win after dramatic day two|
|Lacazette banned for both Europa League last-16 legs|