Graeme Smith made three in his final Test innings as South Africa slid towards a heavy defeat at the close on the fourth day of the series-deciding third Test against Australia on Tuesday.
Chasing a victory target of 511, the hosts will resume on 71 for four on the final day despite a valiant effort from AB de Villiers and Hashim Amla who survived 31 overs before the latter was out 20 minutes before stumps.
South Africa had lost openers Smith and Alviro Petersen (nine), as well as Dean Elgar (nought), as Australia were rampant before tea.
Smith flicked a rising Mitchell Johnson delivery on to his thigh and the ball looped gently to Alex Doolan at short leg, an inglorious end for one of the game's greats who was given a guard of honour by the touring side as he came out to bat.
It was a tame way for Smith's 205th Test innings to finish but it was in keeping with his poor form in a series in which he has scored just 45 runs in six innings.
The South African captain, who announced his retirement from international cricket last night, bowed out having made 9,265 runs at an average of 48.25 in 117 Tests, 109 of those as captain.
De Villiers survived 100 balls for his 16 with all thoughts of scoring gone and survival the only thing on his mind.
He and Amla added 53 for the fourth wicket off 184 balls, a stand ended when Amla was trapped lbw by a reverse-swinging delivery from James Pattinson.
"Hopefully we come out tomorrow and bowl straight at the stumps, that's the line I think we have to bowl," Australia opener David Warner said in a TV interview.
"It was quite tough to get through the wall (Amla) there, but we know if we get can the ball reversing then we are in the game."
De Villiers will resume on Wednesday with nightwatchman Kyle Abbott (one) hoping for a repeat of their performances in Adelaide and Johannesburg in the last 18 months where they batted for 148 and 136 overs respectively in the fourth innings to seal draws.
Faf du Plessis, who will bat next, scored battling centuries in both those innings to steer the Proteas to safety.
"There has been a lot of emotion around with Graeme deciding to give up international cricket, but I suppose it is also motivation for the guys to ensure we fight hard for the skipper," South Africa coach Russell Domingo said.
"We have got six wickets in the bank and we are going to fight hard tomorrow. It has been done before at Newlands, I remember England were four down a few years ago and hung on for a draw. We were four down in Adelaide, so we know it can be done."
The struggles of the home side were in sharp contrast to the Australia innings, when Warner made batting look easy as he bludgeoned 145 from 156 balls and the tourists declared their second innings on 303 for five.
It was a second century of the match for the left-hander, who took his runs total in the series to 543, averaging 91.
Warner received support from Chris Rogers (39) and Steve Smith (36 not out), but was the dominant figure in all his partnerships as he scored nearly half his side's runs.
Abbott was the most successful South Africa bowler with figures of three for 61, including the wicket of Warner who edged a slower ball to wicketkeeper De Villiers.
Image: Graeme Smith walks back to the pavilion after being dismissed
Photograph: Shaun Roy/Reuters