South Africa's Springboks won their first away Rugby Championship away test when they beat Argentina 17-22 in Mendoza.
A last-minute penalty by fly-half Morne Steyn sealed the unimpressive win for South Africa over Argentina in a scrappy Rugby Championship Test.
Argentina have played South Africa 17 times and have still yet to beat the Springboks but they took a massive step up from last week's performance in which they were thumped 73-13.
After the humiliating 60-point defeat in Soweto last weekend, the passionate Pumas were the better side for much of the game and led until eight minutes from time.
The victory is the Springboks first away victory in the TriNations and Rugby Championship since 2009 when they beat the All Blacks in Hamilton.
Argentina's Pumas got the perfect start as Juan Manuel Leguizamon scored in the second minute of the match and Felipe Contepomi converted the try.
The Springboks fought their way back into the match and levelled the scores with a penalty and a try by Bjorn Basson which was converted by Morne Steyn.
Argentina however took the lead back shortly before half time when Marcello Bosch scored their second try.
Steyn added a penalty on the stroke of half time but the Springboks still trailed 17-13 at half time.
South Africa kept Argentina scoreless in the second half and Steyn slotted two penalties in the closing minutes to keep South Africa top of the table -- level on nine points with New Zealand but ahead on points difference.
Argentina gained a losing bonus point while Australia are bottom with none after losing 27-16 to New Zealand in Wellington earlier Saturday.
"We did not play too well," admitted Springboks skipper and centre Jean de Villiers after a Test at the ground where they were lucky to draw 16-16 last season.
"But let us give credit to Argentina for stopping us from imposing control over the game. I was hoping that we could play more expansively.
"The breakdown was a massive fight which both teams contested well, but we must sharpen up in that area before playing in Australia and New Zealand."
South Africa started with the same side that won 73-13 in the first round while Argentina made five changes and still lacked injured skipper and No. 8 Juan Martin Fernandez Lobbe.
Desperate to put the huge loss behind them, the Pumas made a fiery start and were ahead within two minutes when flanker Juan Martin Leguizamon dived over in the corner.
The veteran took the ball after a line-out near the try-line, burst into the short side and swivelled past several Springboks to dot the ball down with centre Felipe Contepomi converting.
Argentina were struggling in the early scrums and South African pressure earned a penalty on nine minutes which ace goal-kicker Steyn placed between the posts.
Within two minutes a far more fired-up Pumas side than that of last weekend regained a seven-point advantage as veteran Contepomi kicked a penalty.
But South Africa drew level on 15 minutes as Steyn converted from the touchline a try by left-wing Bjorn Basson in the left corner at the Estadio Malvinas Argentinas.
After brave defending repelled several Springbok attempts to score in the right corner, Argentina failed to clear the ball and the visitors passed along the backline for Basson to sprint over.
Juandre Kruger went over the try-line soon after only for the score to be disallowed because fellow lock Eben Etzebeth had knocked on in an aerial duel.
South Africa opted to kick for touch a penalty well within the range of Steyn and Argentina drove the green and gold back to leave the visitors questioning the decision.
A Contepomi penalty drifted to the right from in front of the posts, but Argentina were back in front on 37 minutes when centre Marcelo Bosch dived over near the posts.
Patient multi-phase Pumas pressure took them within a few metres of the line and Bosch drove between centre JJ Engelbrecht and prop Jannie du Plessis for a try Contepomi converted.
Steyn narrowed the gap to four points in first-half stoppage time by kicking his second penalty and four minutes after half-time he repeated the feat to leave just one point between the sides.
With Contepomi replaced by Santiago Fernandez, Bosch took over as goal kicker and was not far off target with a long-range attempt midway through the second half.
Argentina led 17-16 with 20 minutes to go -- a far cry from seven days ago when the Springboks ran in nine tries for a record Rugby Championship victory.
There were just eight minutes left when South Africa gained the lead for the first time as prop Marcos Ayerza collapsed a maul and Steyn maintained his 100 percent goal-kicking record from the penalty.
Another Steyn penalty one minute into additional time sealed success for the Springboks who were well below the standard expected.
If the Springboks play as badly as they did in this match against Australia or New Zealand they will be well beaten.
Final Score Argentina 17 (17) South Africa 22 (13)
Tries - J. Manuel Leguizamon, M Bosch.
Pen - F.Contepomi
Con - F.Contepomi 2
Tries - B.Basson
Pen - M.Steyn 5
Con - M.Steyn
Referee: Steve Walsh
Assistant Ref 1:John Lacey
Assistant Ref 2:Pascal Gauzere
TMO : Vinny Munro
Lucas Gonzalez Amorosino, Gonzalo Camacho, Marcelo Bosch, Felipe Contepomi (captain), Horacio Agulla, Nicolas Sanchez, Martin Landajo, , Leonardo Senatore , Juan Manuel Leguizamon, Pablo Matera, Mariano Galarza, Julio Farias Cabello, Juan Figallo, Eusebio Guinazu; ,Marcos Ayerza.
Replacements: Agustin Creevy, Nahuel Lobo, Tomas Lavaninni, Benjamin Macome, Tomas Cubelli, Santiago Fernandez, Juan Imhoff
15 Willie le Roux, 14 Bjorn Basson, 13 JJ Engelbrecht, 12 Jean de Villiers (captain), 11 Bryan Habana, 10 Morne Steyn, 9 Ruan Pienaar, 8 Duane Vermeulen, 7 Willem Alberts, 6 Francois Louw, 5 Juandre Kruger, 4 Eben Etzebeth, 3 Jannie du Plessis, 2 Adriaan Strauss, 1 Tendai Mtawarira.
Replacements: 16 Bismarck du Plessis, 17 Gurthro Steenkamp, 18 Coenie Oosthuizen, 19 Flip van der Merwe, 20 Siya Kolisi, 21 Jano Vermaak, 22 Pat Lambie, 23 Jan Serfontein.