Australia's new-look team produced a late rally on the opening day of the fourth Test against South Africa, as they made their return to the field after a week dominated the ball-tampering scandal.
Wicketkeeper Tim Paine captained the side in Johannesburg as the tourists looked to move on at the Wanderers.
Peter Handscomb, Matthew Renshaw and Joe Burns came into the side, replacing the banned trio of former skipper Steve Smith, David Warner and Cameron Bancroft.
Chadd Sayers was also drafted in for a Test debut in place of injured paceman Mitchell Starc, out with a stress fracture in his leg.
South Africa, who lead 2-1 as they aim to secure a first home series victory over Australia since 1970, made an impressive start after winning the toss and electing to bat on a slow pitch.
However, Australia fought back during the extended closing session with some late wickets - including that of Proteas captain Faf du Plessis for a golden duck and AB de Villiers out for a battling 69 - to earn a much-needed uplift in confidence as the hosts finished 313-6.
South Africa opener Dean Elgar has been out for 19 shortly after the drinks break when the left-hander sent a length ball from Nathan Lyon up to Sayers at mid-off.
Aiden Markram, though, remained composed as South Africa reached 88-1 at lunch, before Hashim Amla was then caught in the slips for 27.
The 23-year-old Markram went on to secure a fourth century from just 10 Tests when he pushed Lyon down the leg side for a single at the start of the 50th over.
Just after passing 150, his biggest Test score to date, Markram cut Cummins to Mitchell Marsh at gully to go for 152.
Du Plessis then completely misjudged the next delivery. The South Africa captain shouldering arms as a reversing ball came back quickly to strike him on the front pad.
Australia took the second new ball in the final half hour before the close, and Sayers got his first Test wicket when De Villiers edged behind, with the decision upheld on review.
Nightwatchman Kagiso Rabada followed two balls later, chipping the ball up to Renshaw at silly mid-off.
When stumps was finally called, Temba Bavuma had reached 25 and Quinton de Kock was unbeaten on seven.
Watch day two of the fourth Test between South Africa and Australia from 8.55am, Saturday on Sky Sports Cricket.