Wales have leapfrogged South Africa in the World Rugby Rankings after Ryan Elias' late try in Washington DC on Saturday gave them a 22-20 victory.
Their third consecutive win over the Springboks was worth 1.05 rating points – enough to lift them above the Springboks and Scotland into fifth place, their highest ranking since February last year.
South Africa, who fielded seven debutants in an experimental starting line-up, drop one place to seventh.
Tries from Hallam Amos and debutant Tomos Williams helped Wales into a 14-3 lead at the break, but South Africa fought back strongly and Travis Ismaiel and Makazole Mapimpi scored to put them in the ascendancy.
However, replacement Robert du Preez gifted Wales the win when his clearance kick was charged down and the ball fell kindly to Elias.
Wales now travel to Argentina for two tests against Los Pumas, on 9 and 16 June, while South Africa face England at home in a three-test series.
The only other match to count towards the rankings over the last seven days came in the Asia Rugby Championship where Hong Kong beat Korea 39-5 to claim their maiden title.
As Asian champions, Hong Kong now progress to a home-and-away Asia/Oceania play-off with the Cook Islands for the right to enter the four-team RWC 2019 global repechage tournament in November.
Hong Kong remain in 22nd place in the rankings, having only been able to improve their rating by three-hundredths. Korea stay 31st.
RWC 2019 Tickets
RWC 2019 Official Ticketing site NOW LIVE
Fans can now register interest to apply for Rugby World Cup 2019 tickets
Latest NewsVIEW ALL NEWS
Americas Rugby Championship 2018 - Round 5
CHILE v CANADA: 17-33
URUGUAY v USA: 19-61
BRAZIL v ARGENTINA XV: 8-28