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.
|Liverpool v Manchester United: Salah, Mane and Firmino v Rashford, Martial and Lukaku in Opta number|
|Canelo open to GGG trilogy as he chases place in Mexican history|
|The big Friday Premier League quiz|
|Harden posts record fourth 50-point triple-double in win over Lakers|
|Barcelona squad happy with Dembele, says Alba|
|Chargers rally past Chiefs to clinch playoff spot|
|WATCH: Chargers top Chiefs on dramatic two-point conversion in final seconds|
|Suns owner Sarver committed to keeping team in Phoenix|
|Chargers WR Allen leaves with injury after near-spectacular catch|
|Socceroos not giving up on Mooy for Asian Cup|
|Cooper says Raiders owner wanted to trade him to Cowboys|
|Pochettino jokes Levy is ´worried´ about losing him|
|Barcelona would welcome Morata – Alba|
|Toure not a priority for West Ham – Pellegrini|
|Koscielny no certainty to face Southampton, says Emery|
|We gifted the game – AC Milan boss Gattuso furious after Europa League exit|
|My season starts now, says Koscielny|
|Cipriani ´at peace´ with latest England snub|
|Laporte: Deschamps must have personal reasons for France snub|
|Morata injury not too serious, claims Chelsea boss Sarri|
|Hansen to leave: All Blacks coach returning focus to World Cup defence|
|I want to fight the champion! - Joshua reiterates Wilder in April ambition|
|Gundogan glad to leave Christmas holidays behind|
|I know how it feels and it hurts - Gundogan on Sterling abuse|
|Celtic 1 Red Bull Salzburg 2: Scottish champions through despite defeat|
|Olympiacos 3 AC Milan 1: Rossoneri crash out of Europa League|
|Arsenal 1 Qarabag 0: Lacazette on target as Saka shines|
|Hansen to leave: All Blacks will take time to name replacement|
|Chelsea condemn alleged anti-Semitic chanting from fans|
|Hansen to leave: The best Opta facts from New Zealand coach´s tenure|
|Hansen to leave: Five contenders to be the next All Blacks coach|
|Hansen to leave: Highs and highs of his All Blacks reign|
|Hansen to leave All Blacks after World Cup|
|Rapid Vienna 1 Rangers 0: Late Ljubicic winner sends Gerrard´s men out|
|Beckham continues to miss Giants practice with quad injury|
|Vidi 2 Chelsea 2: Giroud spares Sarri´s side in lacklustre draw|
|Paris Saint-Germain and Marseille fixtures among latest Ligue 1 cancellations|
|Santos turn to ex-Argentina boss Sampaoli|
|Muller could miss Champions League last 16 after Tagliafico kick|
|Home hope Bekker out in front at Alfred Dunhill Championship|
|Van Bommel in touch with Robben over PSV reunion|
|Pinarello chief confident over Team Sky future|
|Stade make Ospreys tickets free in tribute to teenager|
|WRC great Loeb seals Hyundai switch|
|Madrid rumours better than sack talk, says Pochettino|
|Nadal to join Federer at 2019 Laver Cup|
|Prigoda smashes world record, Hosszu dethroned in Hangzhou|
|Former Juve CEO Marotta takes over at Inter|
|Glenn to stand down as FA boss next year|
|Muller apologises to Tagliafico for kick to the head|
|Pereira pleads for more Manchester United chances|
|Griffin hails ´phenomenal´ Lowry after Warriors demolition|
|I´ve played with Zidane and Henry, but Messi is something else – Pires|
|Dragons forward Jack de Belin charged with sexual assault|
|Durant: Raptors are the real deal|
|Cocu bids farewell to Fenerbahce after ´mutual agreement´ is made over October sacking|
|Australia unchanged for historic Perth Test|
|Champions League draw: The possible last-16 ties|
|Southee happy to be back on home soil|
|I wouldn´t swap Dembele for Neymar – Pires|
|Canelo ready to risk heavy weather against Fielding|
|Raptors upstage Warriors, Davis leads Pelicans with 44 points|
|India skipper Kohli excited by green Perth wicket|
|PSG? I haven´t decided my future yet – De Jong|
|Marcelo: Real Madrid don´t have attitude problem|
|India pair Ashwin, Rohit ruled out of second Test|
|Kovac: Ajax-Bayern draw was amazing|
|Sims re-signs with Dragons until 2022|
|Derrius Guice injury update: Redskins RB (knee) has rehab setback, undergoes 3 more procedures|
|Emery: Arsenal could sign defender in January|