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.
|Mourinho sacked: The mystique has gone as United spell ends in divorce|
|´He´s an interest not only for us but for many´ - Zola praises rumoured Chelsea target Wilson|
|Mourinho sacked: Pochettino focused on Spurs amid Manchester United rumours|
|Mendis eyes double-century for departing Samaraweera|
|Mourinho sacked: Zola expects Jose to be in another job ´soon´|
|Mourinho sacked: Five reasons it went wrong at Manchester United|
|Mourinho sacked: Jose´s Manchester United record in Opta stats|
|Mourinho sacked: Pogba, Ronaldo and Jose´s biggest bust-ups|
|Mourinho sacked: Blanc, Solskjaer - the men who could steady the United ship short-term|
|Mourinho sacked: The football world reacts|
|Mourinho sacked: What former United stars said after Liverpool loss|
|Mourinho sacked: Where next for the axed Manchester United boss?|
|UEFA to investigate alleged racist incidents at Vidi-Chelsea|
|Australia unchanged for rest of India series|
|Mourinho sacked: Pogba´s tweet a dig at departing Man United boss?|
|Newton left frustrated by shoulder injury as Panthers lose again|
|Mourinho sacked: Pochettino & Zidane lead potential Man Utd replacements|
|Mourinho sacked: Neville urges Man United to go for Pochettino|
|Boylen pleased to see Bulls react to red rag in Thunder fracas|
|Icardi and Inter ´very far´ apart in contract negotiations|
|Mourinho leaves Manchester United|
|Curry humbled by latest milestone|
|Robertson: ´Unbelievable´ Alisson will bounce back from error|
|Curry scores 15,000th regular-season point in Warriors win|
|Rams star Gurley ´day-to-day´ with knee inflammation|
|Saints poised to clinch NFC top seed after topping Panthers|
|Mathews, Mendis centuries frustrate New Zealand|
|Kohli: Relentless Australia deserved victory|
|Relief for Paine and Australia after ending Test drought|
|Australia level series with dominant win over India|
|Libertadores holders River learn group as CONMEBOL boss calls for end to violence|
|Chargers RB Gordon planning to return against Ravens|
|Kobe Bryant visit motivated Browns´ Jabrill Peppers|
|De Bruyne: Fatigue not behind injury woes|
|´That´s not my concern´ - Broncos coach Joseph on job security|
|Lowry on Leonard´s free agency: I just want him to be happy|
|Yankees give Sabathia $500K bonus despite ejection|
|Ronaldo confirmed Juventus interest in January – Mendes|
|Lakers guard Rondo to begin rehab stint in G League|
|Saiz to leave Leeds United for Getafe|
|Whyte thinks Joshua rematch is ´only a matter of time´|
|Greenwood stars as Man United end Chelsea´s FA Youth Cup dominance|
|Panthers tight end Olsen expects ´full recovery´ after surgery|
|Derby County 0 Nottingham Forest 0: Lampard´s men fourth after tense stalemate|
|Clermont lose former All Black Toeava for six months|
|MLS unveils revamped playoff format for 2019 season|
|Ferrari to celebrate Schumacher´s 50th birthday with museum exhibition|
|Rabiot set for PSG exit after cancelling contract talks|
|Pepe departs financially troubled Besiktas|
|Philadelphia Flyers fire coach Dave Hakstol|
|Eagles to start Foles v Texans|
|PSG matches against Montpellier and Dijon rearranged|
|Martial agent clouds long-term future after United trigger extension|
|Zverev to make major final in 2019, predicts Ferrero|
|Canelo, Crawford, Lomachenko and the other pound-for-pound contenders|
|Barcelona boss Valverde admits to Lyon uncertainty|
|Club World Cup: Maverick Quintero gets another chance on the big stage|
|Henderson to miss majority of Ireland´s Six Nations campaign|
|Gentner to play on despite father´s death|
|Just good banter – Australia and India not concerned by Paine-Kohli exchange|
|Titans CB Logan Ryan out for season with broken leg|
|Suns send Trevor Ariza to Wizards for Kelly Oubre, Austin Rivers|
|Mourinho charge for ´improper´ language dismissed|
|Are the Knicks for sale? Depends on the offer, says Dolan|
|Klopp´s Liverpool are vulnerable – Neuer|
|Warrington: Frampton not an elite fighter|
|I want to finish the job off - Yates confirms Giro d´Italia focus in 2019|
|Atletico confirm Filipe Luis hamstring injury|
|Best backs Schmidt to lead Lions in 2021|
|Barcelona´s Vermaelen out for a month with calf injury|