England 158 (Pope 67, Jansen 5-35, Rabada 4-81) and 97 for 0 (Crawley 57*, Lees 32*) need 33 runs to beat South Africa 118 (Jansen 30, Robinson 5-49, Broad 4-41) and 169 (Elgar 36, Stokes 3-39, Broad 3-45)
London: England are closing in on a series-clinching victory over South Africa after a supreme bowling display on the fourth day of the third Test at the Kia Oval.
The home side bowled South Africa out for 169 to leave 130 required for a 2-1 triumph.
England's bowlers collectively used the prodigious movement on offer, Stuart Broad and Ben Stokes taking three wickets each, James Anderson and Ollie Robinson both claiming two.
In a frantic start to the chase that made a Sunday finish a possibility, England raced to 97-0 in 17 overs and were only halted by the fading light.
Zak Crawley reached his fifty from 36 balls, his first half-century in 17 Test innings, and ended 57 not out. He will return alongside Alex Lees, who is unbeaten on 32, with 33 more required for victory.
That was the second time in the day England had batted, their first innings earlier wrapped up for 158.
After resuming on 154-7, England lost the final three wickets for four runs in 16 legal deliveries, part of an overall collapse of six wickets for 29 runs.
South Africa wiped out the deficit of 40 for the loss of only one wicket, and were arguably in charge at 83-1, until England's skilful bowlers got to work.
England were in real danger of wasting a strong position on a day when The Oval continued to show respect to Her Majesty Queen Elizabeth II - black armbands are still being worn, images of the Queen continue to be shown on the big screens and much of the signage around the ground remains black.
South Africa dominated the morning, as England meekly lost their last three wickets in only 13 minutes before the Proteas moved ahead by lunch.
However, as the ball swung in the afternoon, the hosts cut through a South Africa batting line-up that could not find a way to cling on.
The prospect of England winning on Sunday, after only two days of play, was raised when they were left with around 100 minutes to reach their target.
The intention was clear in a frenetic start as Crawley and Lees were swept along by the growing belief of a rapt crowd.
England took 27 from the first three overs, an approach entirely in keeping with their summer revolution under captain Stokes and coach Brendon McCullum.
The light faded and the tension rose. Crawley kept England on track until the umpires intervened to boos from the spectators.
This was another relentless display by the England bowlers, who have allowed South Africa a total in excess of 179 only once in five innings this series.
South Africa lost their last nine wickets for 86, a collapse started by an error of judgement from captain Dean Elgar, who failed to review an lbw decision off Broad when the ball would have missed leg stump.
Broad was rewarded for attacking the stumps. Ryan Rickelton was also lbw and Keshav Maharaj bowled, Broad climbing to 566 Test wickets, fifth on the all-time list and second in terms of seamers, behind only Anderson.
Stokes hooped the ball throughout. He had earlier taken the first wicket - Sarel Erwee caught at first slip - before the captain returned for a marathon spell either side of tea when he bowled Marco Jansen and had Kagiso Rabada edge to third slip.
Twice Robinson got the ball to jag back from outside off stump, first to have Wiaan Mulder chop on, then for Khaya Zondo to be pinned leg before not knowing whether to play or leave.
Anderson's first scalp was Keegan Petersen steering to third slip and he persuaded Kyle Verreynne to sky a caught and bowled for a final wicket that signalled England's charge.