Graeme Smith's final Test innings ended in failure as South Africa headed for a series defeat against Australia in Cape Town.
Smith 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.
Smith leaves Newlands for the last time during day 4 of the 3rd Test