Joe Root made a brilliant attacking century to give England a substantial lead despite Akila Dananjaya's six-wicket haul on day three of the second Test against Sri Lanka in Pallekele.
Root went on the attack to give the tourists a great chance of winning the series with a match to spare, the captain scoring a masterful 124 from only 146 balls.
Rory Burns (59) hit a maiden Test half-century and Ben Foakes continued his dream start to his England career with an unbeaten 51 on a pitch offering plenty of turn on Friday.
Dananjaya, reported for a suspect bowling action in the first Test, took Test-best figures of 6-106 but England were 324-9 with a lead of 278 when play was cut short due to bad light before the rain came.
Joe Leach succeeded with his task of seeing out one over as nightwatchman on day two, but failed to hang around in the morning session, Dilruwan Perera (2-87) trapping him leg before sweeping.
Keaton Jennings (26) and Burns moved England into a lead of 31 with a positive second-wicket stand of 73 before the former was caught at slip reverse-sweeping Dananjaya.
Burns did not allow the Sri Lanka bowlers to settle, striking the ball with power and running superbly between the wickets in a promising knock which included seven boundaries before Malinda Pushpakumara snared him lbw.
England were 109-4 when Perera pinned Ben Stokes leg before without scoring, but Root looked in great touch from the start of his innings and put on 74 for the fifth wicket with Jos Buttler.
Buttler (34) played on attempting to reverse sweep Dananjaya, but Root continued to use his feet expertly, finding the boundary with apparent ease as he took on the spinners.
Root shifted through the gears after bringing up his half-century, Sri Lanka unable to contain the skipper, who continued to charge down the track, smashing Perera for six over midwicket before Moeen Ali departed cheaply.
The magnificent Root moved into the 90s by launching Dananjaya over the ropes and let out a roar after bringing up his 15th Test hundred by steering Suranga Lakmal to the third-man boundary just after tea.
Root was also undone sweeping Dananjaya, but the impressive Foakes had a half-century when he swatted Perera over the ropes after Dananjaya bowled Sam Curran first ball with a beauty and then removed Adil Rashid.
Deteriorating light and a subsequent downpour brought a premature halt to what was England's day, Foakes still there brimming with confidence following his debut hundred in Galle.
|Three-time F1 champion Niki Lauda dies aged 70|
|Pochettino or Sarri for Juve? We´ll see – Lippi|
|Buccaneers release McCoy after nine seasons|
|England want to leave Europe and they´re in two finals – Mancini jokes about Brexit|
|Raptors star Leonard ´will be ready´ to face Bucks – Nurse|
|Iguodala out of Game 4 against Trail Blazers|
|Allegri inducted into Italian Football Hall of Fame|
|Steelers QB Roethlisberger ´genuinely sorry´ for Brown comments|
|Mets´ Cespedes fractures ankle in ranch accident|
|Italy remain at top table, Great Britain rally to relegate France|
|Guardiola convinced Kompany´s destined to return to Manchester City|
|Yastremska sets up Stosur clash in Strasbourg|
|Anderson stars for Lancashire on return from injury|
|Ebden and Seppi shocked in Geneva, Humbert shines at Lyon Open|
|AFC Champions League Review: Spain great Xavi ends playing career with defeat|
|Bernardo Silva makes Champions League pledge after winning Man City award|
|Henin impressed by Halep ahead of French Open defence|
|I love you, I´m out - Departing Kompany has his mic-drop moment in City´s trophy parade|
|Abelardo opts to leave post as Alaves coach|
|Magic Johnson points finger at Pelinka after Lakers power struggle|
|Junaid deletes inflammatory tweet following World Cup squad omission|
|Bosz: Champions League improves chances of keeping Brandt & Havertz|
|PSG insist Mbappe will stay despite forward´s ´new project´ comments|
|Former Salford forward Turgut hospitalised with ´severe injuries´|
|Potter takes over as Brighton and Hove Albion boss|
|Ancelotti happy at Napoli amid Juventus links|
|Hemel Stags on course for Ottawa relocation, New York club a work in progress|
|Nadal overtakes Federer´s top-10 streak|
|Omitting Wahab and Amir would have been foolish - Inzamam|
|Scotland appoint Kilmarnock boss Clarke|
|I´ll keep my place if Pogba arrives at Madrid – Kroos|
|Kroos: Madrid struggles ´normal´ after Champions League dominance|
|Pogba, Hazard and Mbappe in, Bale and Isco out? - Real Madrid set for busy close-season|
|Double amputee Monger stunned by Grand Prix de Pau triumph|
|Walter to take over Stuttgart from next season|
|Giannis expects Milwaukee to buck their ideas up after Game 3 loss|
|Bolivian FA confirms death of referee Victor Hugo Hurtado|
|Australia opener Burns leaves Lancashire for personal reasons|
|Record-breaking female driver Chadwick lands Williams development chance|
|Semedo cleared of concussion to boost Barcelona|
|Iguodala questionable for Game 4|
|Neymar should not captain Brazil at Copa America - Edmilson|
|Wahab, Amir and Asif named in final Pakistan World Cup squad|
|Bale staying at Madrid impossible as Zidane is ´not keen´ - Calderon|
|Kroos agrees Real Madrid extension to 2023|
|Gundogan to renew contract talks with Manchester City|
|Folau opts not to appeal against Rugby Australia ban, still considering options|
|Nadal clear French Open favourite – Djokovic|
|Nedved: No Juve decision amid Sarri and Inzaghi links|
|Gil Marin: We need players totally committed to Atletico|
|Gardner´s big game helps Yankees pull away from Rays|
|This is playoff basketball – Leonard on playing through injury in Raptors win|
|Second most NRL games and 99 tries – Cronk´s career in Opta numbers|
|Spieth: I´m almost back at my best|
|Three takeaways from Raptors´ key Game 3 win over Bucks|
|Trail Blazers star Lillard addresses rib injury|
|Raptors top Bucks in double-OT thriller|
|MLS Review: Nani brace lifts Orlando, Galaxy stunned by Rapids|
|Cronk: It´s been one hell of a ride|
|Johnson upbeat despite falling short|
|Koepka holds on at US PGA – how a dramatic back nine unfolded at Bethpage Black|
|´Phenomenal´ and ´mind-blowing´ – Koepka basks in US PGA triumph|
|NRL great Cronk to retire at season´s end|
|Kevin Muscat to leave Melbourne Victory|
|Bethpage wobble does little to deny Koepka´s status as golf´s dominant major force|
|Brooks Koepka´s timeline of major dominance following US PGA triumph|
|Koepka relieved to retain US PGA title after ´stressful´ finish|
|Allegri seeking a challenge, not a sabbatical|
|Koepka retains PGA title despite back-nine collapse|
|Spalletti tells players to prove they´ve the bottle to play for Inter|