Defending champions South Africa were made to work extremely hard for a 17-16 win over Wales in a thrilling encounter in Wellington on Sunday.
Trailing 16-10 with fifteen minutes left, the Springboks had to dig deep to produce a try for replacement wing Francois Hougaard and clinch a hard-fought victory by the skin of their teeth.
Fiji still top Pool D on five points, but South Africa will now expect to win the "Group of Death."
After going behind in the early stages (South Africa led 10-6 at the break) Wales produced an outstanding hour of rugby to wrestle the lead back from the pool favourites.
Wales could not complain of a lack of opportunities as they had the lion's share of possession for the majority of the game.
Indeed, much of the pre-game talk centred around the Welsh pack's ability to match their opponents for physicality, but the men in red stood up to the challenge and have every reason to feel bitterly disappointed after coming mighty close to a memorable win.
South Africa looked dangerous in the first twenty minutes, but were outplayed for most of the remainder of the game bar a five-minute spell that produced the winning try.
Once the (mild) victory celebrations are done, the Springboks will also be sweating over the fitness of two key players after Jean de Villiers and Victor Matfield were forced off early with rib and hamstring injuries respectively.
South Africa were out of the blocks at a furious pace and took the lead after just three minutes when Frans Steyn scored in the corner. Jaque Fourie's initial break had put the Boks on the front foot before the ball was sent wide to Steyn, who smashed James Hook out the way to remind everyone of who the current world champions are.
After a shaky start, Wales settled down and Hook put them on the scoreboard after Pierre Spies was pinged for going off his feet.
The Welsh looked perplexed when referee Wayne Barnes denied them three more points when he adjudged that Hook's second penalty attempt had not crept inside the upright.
Morne Steyn extended South Africa's lead at the end of the first quarter by adding a penalty to his earlier conversion but Hook replied around the half-hour mark to leave the scores at 10-6. And so it remained until the break.
Wales spent the better part of 20 minutes camped in the Springbok half after the restart, dominating the battle for possession in the tight exchanges and impressing on attack.
Hook narrowed the gap to a single point on 50 minutes before number eight Toby Faletau crashed over at the end of an overlap to give Wales the lead going into the final quarter.
Shocked into action, the Springbok reply wasn't long in coming. Without their core leadership group (John Smit and Matfield were already off) they first made the brave decision to kick for touch rather than at goal from a penalty. True to form, they rumbled forward to open a gap on the side of a ruck through which Hougaard came flying to latch onto Fourie Du Preez's short pass and finish under the sticks.
Morne Steyn's conversion gave the champs a 17-16 lead.
Rhys Priestland missed a late drop and Hook couldn't find the mark with a penalty at the death, handing the Springboks an unconvincing victory.
Man of the match: A mention must go to Springbok openside Heinrich Brüssow, who was a tackling machine. But Wales skipper Sam Warburton was the standout player with a phenomenal display at the breakdown.
Moment of the match: There can only be one: Francois Hougaard's try came at the end of South Africa's only real attack in the second half ... one was all they needed.
Villain of the match: If you're Welsh, we know who you would pick, but we're not going down that road.
The scorers:
For South Africa:
Tries: F. Steyn, Hougaard
Cons: M. Steyn 2
Pen: M. Steyn
For Wales:
Try: Faletau
Con: Hook
Pens: Hook 3
South Africa: 15 Frans Steyn, 14 JP Pietersen, 13 Jaque Fourie, 12 Jean de Villiers, 11 Bryan Habana, 10 Morné Steyn, 9 Fourie du Preez, 8 Pierre Spies, 7 Schalk Burger, 6 Heinrich Brüssow, 5 Victor Matfield, 4 Danie Rossouw, 3 Jannie du Plessis, 2 John Smit (c), 1 Tendai Mtawarira.
Replacements: 16 Bismarck du Plessis, 17 Gurthrö Steenkamp, 18 CJ van der Linde, 19 Johann Muller, 20 Willem Alberts, 21 Francois Hougaard, 22 Butch James.
Wales: 15 James Hook, 14 George North, 13 Jonathan Davies, 12 Jamie Roberts, 11 Shane Williams, 10 Rhys Priestland, 9 Mike Phillips, 8 Toby Faletau, 7 Sam Warburton (c), 6 Danny Lydiate, 5 Alun Wyn Jones, 4 Luke Charteris, 3 Adam Jones, 2 Huw Bennett, 1 Paul James
Replacements: 16 Lloyd Burns, 17 Ryan Bevington, 18 Bradley Davies, 19 Andy Powell, 20 Tavis Knoyle, 21 Scott Williams, 22 Leigh Halfpenny.
Venue: Wellington Regional Stadium, Wellington
Referee: Wayne Barnes (England)
Assistant referees: George Clancy (Ireland), Vinny Munro (New Zealand)
Television match official: Matt Goddard (Australia)
The match was played in rainy conditions and although Ireland held the upper hand in most facets of play, they struggled to breach their opponents' defence.
The Golds had struggled to shake off the Azzurri until a second-half masterclass saw them pull away from Nick Mallett's passionate outfit.
The Pumas will count themselves unlucky not to have done what they did to France four years ago after shelling 18 points due to wayward attempts from Felipe Contepomi and Martin Rodriguez.
A bonus point means that les Bleus move level with New Zealand at the top of Pool A, but it was far from plain sailing as the Japanese made a mockery of many of the bookies' predictions.
The brave Namibians can hold their heads up high after producing a more than competitive performance, leading twice in the early stages of the match. However Fiji's attacking prowess was just too hot to handle in Rotorua.
Against all odds, Romania had the Scots hanging on the ropes after leading by three points with ten minutes of the match remaining.
It was hardly a vintage 80 minutes but with the job done and dusted before the break, it is difficult to blame the hosts for taking their foot off the gas.
This is what Test rugby is all about!
The lethal finisher, who was playing his third match since suffering that horrific Super Rugby injury, was one of four on the comeback trail.
Both teams scored two tries but three penalties from the boot of home fly-half Dan Parks proved the difference after 80 minutes.
Les Bleus -- who beat the Irish 19-12 in Bordeaux last Saturday -- will name their RWC squad on Sunday while Ireland name theirs on Monday.
Wales led 14-3 at half-time thanks to try from number eight Andy Powell and a handful of penalties from James Hook.
The All Blacks scored the only try of the game, but were outmuscled up front by their hosts. The whole Bok team tackled their hearts out and Steyn's strong tactical kicking, especially in the second half, allowed them to keep the visitors pinned back.
Despite plenty of possession and territory for the home side, it was USA errors that allowed Canada to run in three tries during the match.
The Azzurri trailed 17-14 at half time before two second half tries courtesy of their experienced front row saved the day.
France raced to a deserved 13-0 lead by the half-hour mark as they dominated every facet of play.
It was less a case of Wales winning than England losing as the visitors failed to capitalise on their complete dominance in terms of both territory and possession.
The Wallabies scored all their points in the second half as they came back from being 6-0 down at half-time, scoring the only try of the game through centre Pat McCabe.
Eddie O'Sullivan's side hit back immediately though and scored fifteen points in a good spell. Takudzwa Ngwenya was continually a threat.
Wales did outscore their hosts by three tries to two but a couple of drops from Jonny Wilkinson saw England win the first of this two-legged affair.
Ireland looked to be heading to a 6-3 win until London Irish centre Ansbro scorched over the whitewash with four minutes remaining following good running from replacement Nick de Luca.
Any hopes Australia had of ending their 25-year Auckland drought were ripped to pieces by their dominant hosts, who charged to a 17-0 lead at the break and never looked like losing.