Graeme Smith's final Test innings ended in failure as South Africa headed for a series defeat against Australia in Cape Town.
Smith, who surprisingly announced his international retirement after yesterday's play, made just three runs before falling to Mitchell Johnson for the fourth time in the three-Test series.
His side were chasing 511, after David Warner followed his first-innings 135 with 145 in the second as Australia piled up 303 for five in 58 overs before declaring.
The Proteas ended the day 70 for four, which actually represented a good recovery after a terrible start.
Smith got off the mark with three from his second ball, but saw opening partner Alviro Petersen fall lbw to Ryan Harris for nine.
Worse was to follow as Smith edged Johnson off his hip to Alex Doolan at short-leg.
He was warmly saluted by the crowd and kissed the badge on his helmet before raising his bat in acknowledgement, but it was a sad farewell.
Johnson then splattered Dean Elgar's stumps before he had scored to leave the hosts 15 for three at tea.
A fifty stand between Hashim Amla and AB de Villiers followed only for the former to go lbw to James Pattinson for 41 after an unsuccessful review.
That capped off a fine day for Australia, who had earlier been led by the superb Warner.
The opener struck another sublime century, taking his run-tally for the series to an incredible 543.
In supporting Warner, Chris Rogers struck 39, Alex Doolan 37, Shane Watson 25 and Steven Smith 36 not out, while Kyle Abbott grabbed 3-61.