Wales completed a first clean sweep of autumn Tests and extended their unbeaten run to nine after toppling South Africa 20-11 at the Principality Stadium.
First half tries by prop Tomas Francis β his first for Wales β and full-back Liam Williams sent Wales on the way to a fourth successive victory over the Springboks.
But it was a tense and tight affair, with South Africa responding to a 14-point deficit inside 16 minutes by hitting back through centre Jesse Kriel's touchdown, plus a penalty apiece from Handre Pollard and Elton Jantjies.
Wales, though, ultimately prevailed, claiming a 10th win from 12 starts this year, with fly-half Gareth Anscombe kicking two conversions and his replacement Dan Biggar decisively landing 68th and 72nd-minute penalties.
Warren Gatland's team will head into the 2019 Six Nations Championship unbeaten since the midway point of last season's tournament, while he has also enhanced squad strength in depth through the continued emergence of players like Ellis Jenkins, Aaron Wainwright, Adam Beard and Dillon Lewis.
Flanker Jenkins, a late replacement in the starting line-up for an injured Dan Lydiate, took his chance superbly, excelling in attack and defence, but he suffered a nasty-looking injury during the dying seconds and was carried off.
Skipper Alun Wyn Jones was not far behind Jenkins in terms of work-rate and impact, and Biggar made a telling contribution off the bench as Wales equalled their longest winning run since 1999.
Both teams made enforced late changes, with Lydiate being replaced by Jenkins, who captained his country to victory over South Africa in Washington DC almost six months ago.
The Springboks, meanwhile, lost wing Sbu Nkosi, who suffered a leg injury during the warm-up and was replaced by Toulouse speedster Cheslin Kolbe, with Damian Willense taking Kolbe's place on the bench.
And Jenkins made his presence felt just 10 minutes into the contest, making a superb run inside South Africa's 22 before foxing Springboks hooker Malcolm Marx by throwing a dummy pass, and Francis capitalised by claiming his first Test touchdown.
Anscombe converted, and Wales were off and running, putting South Africa under further pressure, and a second try arrived six minutes later that was stunning in its simplicity.
Wales had an attacking scrum 15 metres out from South Africa's line, before Gareth Davies rifled possession to his half-back partner Anscombe, whose long floated pass found Williams, and the Saracens back finished impressively.
Anscombe's touchline conversion opened up a 14-point advantage, and although Pollard opened the Springboks' account through a long-range penalty, he missed from similar range shortly afterwards and Wales held a comfortable lead heading into the second quarter.
South Africa rallied as half-time approached, though, and scrum-half Embrose Papier's kick and chase was only halted when he knocked on trying to collect possession after breaching Wales' last line of defence.
The Springboks continued to press, with centre Damien De Allende spinning over Wales' line β but Jenkins got underneath him and prevented the touchdown β then South Africa sacrificed a kickable penalty for an attacking scrum, Jenkins turned possession over and the home side led by 11 points at the break.
South Africa dominated early in the second period, yet they encountered a powerful Wales defence led by Jenkins and skipper Alun Wyn Jones.
But the breakthrough arrived after 56 minutes when sustained Springboks pressure was rewarded after number eight Duane Vermeulen tore at the heart of Wales' defensive line, before possession was moved wide and full-back Willie Le Roux sent an unmarked Kriel over.
South Africa then made further inroads, with Jantjies booting an angled penalty to make it 14-11, setting up a tense final quarter that started with Biggar replacing Anscombe as Wales sought possession and territory.
And the Northampton number 10 immediately made his presence felt, assuming tactical control just when Wales needed it, before kicking two late penalties that ensured Wales maintained winning momentum and positioned themselves impressively ahead of another Six Nations challenge.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Andrew Baldock, Press Association Sport Rugby Union Correspondent');
ga('pacontentapi.set', 'dimension2', '1c50398a-16c2-4955-8939-60e53ea3d3a6');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:uk,paservice:sport:world');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:rugby-union');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Wales stretch winning run to nine Tests with win over South Africa'});