Port Elizabeth - JP Duminy scored his third Test century as South Africa were bowled out for 423 after tea, on day two of the second Test at St George's Park, in Port Elizabeth, on Friday.
The 29-year-old brought up his ton off 199 balls, with 13 fours, as South Africa neared the 400 mark.
Duminy was out lbw to spinner Nathan Lyon for 123 (231 balls, 14 fours) straight after the interval. The strike completed the five-wicket haul for Lyon who ended the innings with figures of 5/130 from his 46 overs.
Before tea, Duminy had shared in a 149 run sixth wicket stand with AB de Villiers.
De Villiers departed for 116 (232 balls, 14 fours, one six) when he chipped the ball straight back to Lyon, as South Africa lost their sixth on 349.
The knock of De Villiers also marked the 12th Test in a row where he passed 50.
Before Duminy made it to three figures, he scored his 1000th Test run as he made it to 77 off the bowling of Peter Siddle in the 127th over.
Wayne Parnell fell off the final ball of the session, caught Brad Haddin bowled Lyon.
In the morning session, the Aussies went wicketless as De Villiers and Duminy resumed on the overnight total of 214 for five.