Jack Leach struck three times with the new ball as England positioned themselves for a series-clinching victory in the second Test against Sri Lanka.
The tourists set a winning target of 301 after being bowled out for 346 on the fourth morning, Ben Foakes finishing 65 not out after he and James Anderson added a further 22 for the final wicket.
By lunch at Pallekele Stadium Sri Lanka's prospects of completing the chase had diminished considerably, Leach's triple strike leaving them 93 for three and relying on the burgeoning partnership between Dimuth Karunaratne (54no) and Angelo Mathews (28no).
Above all else the home side would have wanted a stable opening partnership, at least enough to plant the seeds of doubt about the manageability of the pitch.
Instead Leach, used from the start with Sam Curran off the field receiving treatment for a side injury, tempted Kaushal Silva down the track in his second over.
The hard Kookaburra turned heartily and bounced obligingly, foxing the batsman but not Foakes, who completed a difficult stumping with nonchalance.
Leach's second victim, Dhananjaya de Silva, was not so much beaten by the left-armer as by Keaton Jennings' stunning reflex catch at short-leg.
Jennings was instinctively tumbling away from a full-face connection when he flung a hand out and clung on brilliantly.
When Kusal Mendis was given lbw on the sweep, England wisely calling for DRS, Sri Lanka were 26 for three and adrift.
An unbroken 67-run stand for the fourth wicket offered a warning that the deal was not yet done but both men had scares.
Karunaratne was given lbw to Adil Rashid just before lunch, gambling on a review which showed the ball spinning too much and missing leg stump, while Mathews was dropped on seven when Ben Stokes put down a low, wide chance at slip.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Rory Dollard, Press Association Sport Cricket Correspondent, Kandy');
ga('pacontentapi.set', 'dimension2', '45f50b5a-e496-48d4-be93-6241c212903b');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:uk,paservice:sport:world');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:cricket');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Jack Leach spins England into strong position in Kandy'});