Australia have avoided a first Test series whitewash at home with a consolation seven-wicket victory over South Africa on day four of the third day-night Test at the Adelaide Oval.
The Proteas, who won the series 2-1 after successes in Perth and Hobart, were bowled out for 250 before the Kangaroos hauled in a target of 127 runs before the meal break.
David Warner made 47, Steve Smith 40 and Matt Renshaw, the England-born opener, 34 not out off 137 balls.
Earlier, Stephen Cook converted his overnight 81 into 104 for South Africa as Mitchell Starc took 4-80.
Victory ended Australia's run of five successive Test defeats, while the Proteas' series triumph was their third in a row Down Under.