(CNN) -- Herschelle Gibbs cracked a century as South Africa scored a 61-run victory over Australia in the fourth one-day international in Port Elizabeth for an unassailable 3-1 series lead.
Opener Gibbs celebrates his one-day century as South Africa take a 3-1 series lead against Australia.
Gibbs made 110 and together with AB de Villiers (84) helped the Proteas tear into the visitors' bowling after being put into bat, the pair featuring in a 137-run stand as the hosts totalled 317 for six.
The flamboyant opener brought up his 21st one-day ton in 106 deliveries as South Africa raced past 200 in the 36th over.
Middle-order batsman JP Duminy later forged a 65-run partnership in just 44 balls with Mark Boucher (29 not out) to leave Australia with a tough task.
Dale Steyn made it tougher with a return of four for 44 and was given good support by the spinners as the visitors were dismissed for 256.
Brad Haddin, Michael Clarke and Ricky Ponting all made half-centuries, but it was not enough as Australia fell well short.
They had begun promisingly with Haddin (78) and Clarke (50) forming a 129-run opening partnership in just over 20 overs, before the introduction of spin changed the game.
Johan Botha was first to strike, ending Haddin's 61-ball innings when he had the wicketkeeper caught at long-on by Wayne Parnell.
Roelof van der Merwe then delivered a triple blow by removing Clarke, Callum Ferguson and Michael Hussey.
David Hussey and Ponting tried to rescue the situation, putting on 37 before the former also fell, this time caught and bowled by Steyn for 20.
Australian skipper Ponting was later caught by Albie Morkel at mid-wicket for 53 -- and with him went Australia's last chance.