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.
|O´Neal thinks his Lakers teams could ´easily´ beat Warriors|
|A-League to add two clubs by 2020|
|Curry says he was ´obviously joking´ about moon landing comments|
|Now the beautiful part starts – Ronaldo ready for Champions League knockout stage|
|Bayern have a lot more potential – Lewandowski not satisfied despite top spot|
|Lyon star Fekir shares plaudits for Champions League progression|
|Mourinho not surprised by United´s defeat to Valencia|
|Motivation no issue for Benfica, claims Vitoria|
|Lewandowski finishes Champions League group stage as top scorer|
|Mourinho: We scored two goals and lost 2-1!|
|England have a diamond - Guardiola hails City´s Foden|
|Sterling´s carefree display invites us to love football more than others hate|
|Juventus achieved their objective, despite everything going wrong – Allegri|
|Never say never - Schmidt not ruling out All Blacks role|
|Bologna´s winning start ended in BCL|
|Di Francesco critical of Roma performance|
|Shakhtar Donetsk 1 Lyon 1: Fekir fires French side through in Group F|
|Benfica 1 AEK Athens 0: Grimaldo sends hosts out on a high|
|Young Boys 2 Juventus 1: Hoarau double seals famous victory|
|Manchester City 2 Hoffenheim 1: City through as group winners after Sane brace|
|Ajax 3 Bayern Munich 3: Kovac´s men clinch top spot in Amsterdam thriller|
|Valencia 2 Manchester United 1: Jones scores own goal as Red Devils limp through|
|Solari accepts responsibility for Madrid´s heaviest home defeat in Europe|
|WATCH: Rooney backs Rocky ahead of Canelo showdown|
|McLaren to collaborate with Team Bahrain Merida|
|Las Vegas to host 2020 NFL Draft|
|Stade teenager tragically dies after neck injury|
|Cahill may need to leave Chelsea if he wants to play, admits Sarri|
|Viktoria Plzen 2 Roma 1: Chory winner takes hosts into Europa League|
|Real Madrid 0 CSKA Moscow 3: Champions humiliated at Bernabeu|
|Sarri condemns ´disgusting´ Sterling abuse|
|Hansen hails outstanding Ben Smith ahead of Pau switch|
|Foden, Sterling start for Manchester City v Hoffenheim|
|Sky decision will not affect us in 2019, insist Froome and Thomas|
|Al Ain 3 Team Wellington 3 (aet, 4-3 on penalties): Shootout heartbreak for semi-pros in Club World|
|Jackson to remain Ravens´ starting QB despite Flacco return|
|Rams headline 2019 NFL International Series home teams|
|Rams headline International Series home teams for 2019|
|Atlanta want ´exciting football´ from new boss amid Bielsa links|
|Atlanta still yet to receive ´serious´ bid for ´Bale-like´ Almiron|
|Tottenham v Manchester United to be held at Wembley|
|Matip facing six weeks out with fractured collarbone|
|I´ve had quite a lot of calls – Brailsford encouraged by Team Sky interest|
|Afghanistan Football Federation president provisionally banned by FIFA|
|Knee injury rules Huddersfield´s Mooy out of Asian Cup|
|Arnautovic tipped for Man United move by Austria team-mate Sabitzer|
|Arsenal legend Adams to become RFL president|
|My love for football still burns strong – Toure speaks out amid talk of Premier League return|
|Noble contract extended to 2021|
|Split with Sky is an opportunity, says Brailsford|
|Van der Burgh rolls back the years, two more medals for Hosszu|
|Maitland-Niles praises Sterling for speaking out|
|Life is tough for him right now - Celtic striker Griffiths to take time away from football|
|Froome: Team Sky keen to continue with new partner|
|Emery confirms Koscielny to play against Qarabag|
|Llorente keen on Athletic return|
|I love the guy - Pocock backs under-pressure Cheika|
|Fit-again Ozil in line for Arsenal return against Qarabag|
|Raheem Sterling named Premier League Player of the Month|
|Two more Ligue 1 games postponed due to unrest|
|Pace attack among India´s best ever - Arun|
|Premier League has fostered ´excessive aggression´ among fans, says Scudamore|
|Sharks back Flanagan amid NRL investigation|
|Not good for my recovery! Hoddle delights in Spurs´ Champions League heroics|
|Harris backing Starc to fire in Perth|
|No fears over Atleti´s second-place finish for Simeone|
|Clippers buckled under Raptors pressure - Rivers|
|Icardi: Inter deserved to qualify|
|Team Sky future unclear as Sky opt to end involvement in cycling|
|PSG had to change mentality - Thiago Silva|