James Anderson produced a rapid spell and started with the scalp of Stephen Cook Getty Images
Then, two balls later, he removed AB de Villiers for his first pair in Test cricket Getty Images
Loading ...
JP Duminy, under pressure at No. 5, helped steady South Africa's innings Getty Images
Hashim Amla followed his first-innings ton with a much more grafting, but equally important, innings AFP
Hard yards: Ben Stokes bowled a 10-over spell before lunch and accounted for Duminy Getty Images
Amla pressed on towards what would have been his second hundred of the match Getty Images
He went to tea on 96, after accumulating with caution Gallo Images
... having added 117 for the fifth wicket with Temba Bavuma Gallo Images
Bavuma compiled another attractive half-century Gallo Images
But, with rain looming, Amla fell without addition in the first over after the break. The weather then caused a delay before South Africa declared, setting England 382 to win Gallo Images
Alex Hales' series came to an end with a single-figure score, trapped lbw by Kagiso Rabada Getty Images
Morne Morkel's instinctive catch off his own bowling removed Alastair Cook AFP
That left England 8 for 2 and Nick Compton followed soon, a second wicket for Rabada Getty Images
Joe Root battled to the close alongside James Taylor but England still had plenty of work to do Getty Images