Cape Town - Recalled flyhalf Morne Steyn kicked all the points for South Africa in an 18-10 Rugby Championship victory over Australia in Pretoria on Saturday.
Victory for the Springboks, who led 12-10 at half-time, snapped a three-match losing streak in a competition already won by New Zealand.
Steyn, starting in place of struggling Elton Jantjies, kicked four penalties and two drop goals as South Africa rose to second on the standings with one round remaining.
Australia have lost all seven Tests at Loftus Versfeld stadium and the latest defeat will be particularly bitter given the amount of second-half possession they enjoyed.
A near-50,000 crowd at one of the Springbok strongholds roared their approval when after only four minutes Steyn slotted a drop goal to open the scoring.
It was the first drop goal of the Rugby Championship this season after 644 minutes of tries, conversions and penalties.
Australia were soon on the front foot in perfect southern hemisphere spring conditions and levelled on eight minutes when centre Bernard Foley kicked a close-range penalty.
After a further six minutes of largely Wallabies pressure, the visitors scored the only try of the opening half through prop Scott Sio to build a 10-3 advantage.
It was a special moment for the 23-cap loosehead front row forward as he scored his first Test try, which stemmed from South Africa winger Bryan Habana failing to find touch with a clearance kick.
Australia patiently went through the phases before Sio dived over under the posts after taking a pass from fellow prop Sekope Kepu.
Foley converted and soon after Wallaby winger Reece Hodge saw his ambitious 65-metre penalty attempt fall just short.
Steyn narrowed the gap to four points with his first penalty of the match, the kick going over off a post to the relief of the veteran playmaker.
A turnover virtually on their try-line got the Springboks out of jail before the first half swung in favour of the hosts when Wallabies full-back Israel Folau was sin-binned on 34 minutes.
Folau blocked 2007 World Rugby Player of the Year Habana as he pursued his own kick ahead and English referee Wayne Barnes did not hesitate to raise the yellow card.
Steyn kicked the resultant penalty, and another one minute into additional first-half time to leave South Africa 12-10 ahead at half-time.
Hodge, who replaced Foley for long-range shots at goal, missed two kickable penalty attempts in the opening 12 minutes of the second half as the visitors pressed.
South Africa chose only two backs among eight replacements and when scrumhalf Rudy Paige was concussed just before the hour mark, he had to be replaced by loose forward Willem Alberts.
Winger Francois Hougaard took over from Paige and Alberts came into the back row with another loose forward, Jaco Kriel, becoming an emergency winger.
Steyn was well wide with his fourth penalty attempt as the South Africans took a rare breather from relentless Australian pressure.
But the flyhalf made two telling late contributions, kicking a penalty and a drop goal to secure victory.
Penalties: Morne Steyn (4)
Drop goals: Morne Steyn (2)
Try: Scott Sio
Conversion: Bernard Foley
15 Pat Lambie, 14 Bryan Habana, 13 Jesse Kriel, 12 Juan de Jongh, 11 Francois Hougaard, 10 Morne Steyn, 9 Rudy Paige, 8 Warren Whiteley, 7 Oupa Mohoje, 6 Francois Louw, 5 Pieter-Steph du Toit, 4 Eben Etzebeth, 3 Vincent Koch, 2 Adriaan Strauss (captain), 1 Tendai Mtawarira
Substitutes: 16 Bongi Mbonambi, 17 Steven Kitshoff, 18 Julian Redelinghuys, 19 Lood de Jager, 20 Willem Alberts, 21 Jaco Kriel, 22 Lionel Mapoe, 23 Willie le Roux
15 Israel Folau, 14 Dane Haylett-Petty, 13 Samu Kerevi, 12 Bernard Foley, 11 Reece Hodge, 10 Quade Cooper, 9 Will Genia, 8 Sean McMahon, 7 Michael Hooper, 6 Dean Mumm, 5 Adam Coleman, 4 Rob Simmons, 3 Sekope Kepu, 2 Stephen Moore (captain), 1 Scott Sio
Substitutes: (one to be omitted) 16 James Hanson, 17 James Slipper, 18 Tom Robertson, 19 Kane Douglas, 20 Scott Fardy, 21 Lopeti Timani, 22 Nick Phipps, 23 Tevita Kuridrani, 24 Sefa Naivalu