Dale Steyn rediscovered his best form to bowl South Africa into a commanding position on the second day of the third and final Test against Australia at the WACA Ground on Saturday (December 1).
Steyn's four-wicket haul helped decimate the Australian first innings and hand his side a 62-run lead, before Graeme Smith and Hashim Amla ripped the match away from Australia.
Smith and Amla shared in a thrilling 178-run stand for the second wicket at almost seven runs an over as South Africa took a stranglehold on the top ranking in Test cricket.
At stumps, South Africa were 230 for 2 in their second innings, representing an overall lead of 292 runs with eight wickets left and three days still to play.
Amla was on 99 from just 84 balls with his 18th Test century beckoning, while Jacques Kallis, dropped on three by Nathan Lyon off the bowling of Mitchell Starc, was on 17.
The highest successful run chase at the WACA is South Africa's 414 for 4 in 2008.
Smith fell for 84 late in the day, brilliantly caught by a diving Lyon at deep square-leg off Starc to end a devastating partnership in just 25.3 overs with Amla.
Defending just 225 after winning the toss and electing to bat on the opening day, South Africa rallied behind the fast bowling of Steyn to rout the home side for 163 off 53.1 overs.
Steyn had barely been a factor in the series, with just five wickets in the first two Tests, but tore through the Australian top order to finish with 4 for 40 off 16 overs.
Having already claimed the wicket of Ed Cowan for a first-ball duck late on the first day, he devastated Australia in the first 30 minutes on Saturday.
The home side resumed at 33 for 2 and collapsed dramatically. In his first over of the day, Steyn removed David Warner, caught behind for 13 when he slashed at a wide delivery, despite the Australian asking for the decision to be reviewed.
Steyn then removed night watchman Lyon three balls later for seven, caught at gully by Faf du Plessis. Ricky Ponting strode to the crease to huge applause in his farewell Test, but lasted just over 15 minutes before being trapped lbw by Vernon Philander (2/55) for four, another Australian decision review failing.
Michael Clarke's golden run of form came to an end when he became Steyn's fourth victim, caught behind for just five from a searing delivery. Australia were 45 for 6, having lost four wickets for just 11 runs.
It would have been 45 for 7 had Amla's throw at the stumps from mid-off, with Matthew Wade well out of his crease and having given up the cause, been a direct hit.
Wade made it a costly miss as he top-scored with a counter-attacking 68 off 102 balls that included three sixes.
Robin Peterson cleaned up the tail to finish with 3 for 44, John Hastings the last man to fall for 32 when Alviro Petersen caught the ball, threw it up in the air as he stepped back over the boundary rope, and then stepped back into play to complete a clever catch.