Nelspruit - South Africa beat Wales beat 31-30 (halftime 14-17) in the second test in Nelspruit to win the two-match series 2-0 on Saturday.
As it happened: Springboks v Wales
A late penalty try secured a last-gasp victory for South Africa against Wales in Nelspruit on Saturday, killing Welsh hopes of an historic win.
Wales led for most of the match, but two yellow cards late in the first half and a South African onslaught late in the second that culminated in a penalty try, proved too much for the visitors.
After a lacklustre first Test, Wales played with purpose as they tried to beat the 'Boks for the first time away and dominated much of the match only to be heartbreakingly undone at the last.
With conditions perfect, both teams sought to pass the ball around in the opening stages, probing and prodding for openings in the opposition line.
Dan Biggar opened the scoring when the Springboks were again pinged at the ruck, slotting home a penalty and putting Wales 3-0-up.
After Morne Steyn had missed a chance to bag three points for his side, Wales got the first try of the game.
Alex Cuthbert collected a crash ball, broke through the 'Boks's back line, offloading to Jamie Roberts who powered in to touch down under the posts.
With Wales's tails up and the 'Boks in disarray, Cuthbert crossed the line himself just moments later, with Biggar again making the conversion.
Wales were 17-0 ahead with around a quarter of the game gone.
The wheels then came off for Wales, as close to the half-hour mark they were reduced to 14 men, with Luke Charteris yellow-carded while defending a ruck on his own try line.
The Springbok pressure quickly told.
The home side were awarded a penalty try moments later which resulted in Wales being reduced to 13 men with Biggar joining Charteris in the sin bin.
The Springboks then took further advantage with a fluid, ranging, length-of-the-field try that was eventually run home by Cornal Hendricks, his first try for his country.
That left South Africa trailing 14-17 at half-time.
Wales managed to weather the first minutes of the half and when back to 15 men looked a different proposition.
After putting the ball through pressure phases in the 'Boks's 22, Ken Owens opened the second half scoring with a drive over the line from meters out.
Biggar converted making it South Africa 14 Wales 24.
On 55 minutes, Steyn briefly cut the deficit by three points with a successful penalty, only to be matched seconds later by Biggar's own effort, which brought the score to 17-27.
It was then the Springboks's turn to be reduced to 14 men, when Flip van der Merwe was sin-binned for taking out Wyn Jones in the air.
Another penalty for Biggar on 65 minutes increased Wales's lead to 13 points.
With eight minutes to go, a try from in-form 'Boks full back Willie le Roux and Steyn's conversion put South Africa back within striking distance.
Then in the dying moments, Hendricks was ploughed into touch in a move that referee Steve Walsh judged to be illegal.
South Africa - Tries: Penalty try (2), Cornall Hendricks, Willie le Roux; Conversions: Morne Steyn (4); Penalty: Steyn
Wales - Tries: Jamie Roberts, Alex Cuthbert, Ken Owens; Conversions: Dan Biggar (3); Penalties: Biggar (3)
15 Willie le Roux, 14 Cornal Hendricks, 13 JP Pietersen, 12 Jan Serfontein, 11 Bryan Habana, 10 Morné Steyn, 9 Fourie du Preez, 8 Duane Vermeulen, 7 Willem Alberts, 6 Francois Louw, 5 Victor Matfield (captain), 4 Flip van der Merwe ,3 Jannie du Plessis, 2 Bismarck du Plessis, 1 Tendai Mtawarira
Substitutes: 16 Schalk Brits, 17 Gurthrö Steenkamp, 18 Coenie Oosthuizen, 19 Lood de Jager, 20 Schalk Burger, 21 Ruan Pienaar, 22 Wynand Olivier, 23 Lwazi Mvovo
15 Liam Williams, 14 Alex Cuthbert, 13 Jonathan Davies, 12 Jamie Roberts, 11 George North, 10 Dan Biggar, 9 Mike Phillips, 8 Taulupe Faletau, 7 Josh Turnbull, 6 Dan Lydiate, 5 Alun Wyn Jones (captain), 4 Luke Charteris, 3 Samson Lee, 2 Ken Owens, 1 Gethin Jenkins
Substitutes: 16 Matthew Rees, 17 Paul James, 18 Aaron Jarvis, 19 Jake Ball, 20 Dan Baker, 21 Gareth Davies, 22 James Hook, 23 Matthew Morgan