Wales kept their World Cup quarter-final hopes alive after seeing off Samoa 17-10 at Waikato Stadium in Hamilton on Sunday.
Trailing by four points (6-10) at half-time, Wales dug deep to deny the Samoans victory thanks to a try by wing Shane Williams thirteen minutes from full-time which proved to be the match-winner.
After major upsets in 1991 and 1999 against Samoa, it was Wales' first victory over their bogey team at a World Cup tournament.
The win, following their 16-17 opening loss to South Africa, puts Wales in the box seat to qualify second from Pool D with a likely quarter-final against Six Nations rivals Ireland.
However Wales were given a scare or two along the way and it looked as if Warren Gatland's reign as coach could be brought to an end in his hometown of Hamilton.
In bright and breezy conditions at a packed Waikato Stadium, James Hook's early penalty from the halfway line went narrowly wide and Samoa passed up a golden chance when Sailosi Tagicakibau spilled a low pass just metres from the tryline.
Wales suffered a blow when flanker Danny Lydiate limped off in just the 11th minute to be replaced by Andy Powell. But Hook was gifted an easy three points when Maurie Faasavalu high-tackled pivot Rhys Priestland.
Jamie Roberts crossed on 14 minutes but was brought back for a forward pass and Priestland missed his third drop-goal of the World Cup, before Samoa full-back Paul Williams levelled the scores with a well-struck penalty.
Samoa's forwards disintegrated under a powerful Welsh scrum to give Hook another penalty to make it 6-3.
Despite clearly having issues in the scrum, the Samoans had no such problems in the breakdown -- with their pack happy to hammer away around the fringes of the breakdown to drive Wales back.
And they were left frustrated when an 18-phase spell ended with Fa'asavalu burrowing over from close range, only for the flanker to be pinged for a double movement.
A missed penalty from Williams soon after did little to lift the mood of the Samoans.
However, Samoa had the final say in the first half as their forwards took control and they dealt Wales an enormous hit when another crunching attack culminated in a try to prop Anthony Perenise's on the stroke of half-time. Williams' conversion gave the islanders a 10-6 half-time lead.
Hook was replaced by Leigh Halfpenny at half-time after a shoulder injury and the Welsh reduced the margin to 10-9 when Priestland's penalty fortuitously bounced off the crossbar and over.
The Wales backs were suddenly in the game and centre Jonathan Davies had the tryline at his mercy when a long cross-field kick bounced off his legs, but Priestland then kicked them 12-10 ahead after a ruck infringement.
And Wales were again rewarded for their greater endeavour when Halfpenny broke down the left and fed Davies, whose one-handed pass was gathered off the floor by Williams for his 55th Test try, 13 minutes from the end.
Samoa regrouped and continued to hammer away at the Wales line but they couldn't find a way through. Samoa's forwards massed for one final assault but the attempt was undone when number eight George Stowers lost control of the ball at the tryline.
Wales survive to fight another day.
Man of the match: Sam Warburton did some great work for Wales at key moments, and he was at the forefront of his team's effort, however it's hard to look past Welsh Wizard Shane Williams whose try allowed his team to breathe a little easier.
The scorers:
For Wales:
Try: Williams
Pens: Hook 2, Priestland 2
For Samoa:
Try: Perenise
Con: Williams
Pen: Williams
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 Dan Lydiate, 5 Alun-Wyn Jones, 4 Luke Charteris, 3 Adam Jones, 2 Huw Bennett, 1 Paul James.
Replacements: 16 Lloyd Burns, 17 Gethin Jenkins, 18 Bradley Davies, 19 Andy Powell, 20 Tavis Knoyle, 21 Scott Williams, 22 Leigh Halfpenny.
Samoa: 15 Paul Williams, 14 Sailosi Tagicakibau, 13 George Pisi, 12 Seilala Mapusua, 11 Alesana Tuilagi, 10 Tusi Pisi, 9 Kahn Fotuali'i, 8 George Stowers, 7 Maurie Fa'asavalu, 6 Ofisa Treviranus, 5 Daniel Leo, 4 Kane Thompson, 3 Anthony Perenise, 2 Mahonri Schwalger (c), 1 Sakaria Taulafo.
Replacements: 16 Ti'i Paulo, 17 Census Johnston, 18 Joe Tekori, 19 Taiasina Tuifu'a, 20 Junior Poluleuligaga, 21 Eliota Fuimaono Sapolu, 22 Tasesa Lavea.
Referee: Alain Rolland (Ireland)
There is no hiding the fact that a poor Wallabies side came off second best to the Irish as their key players were superbly contained by a side who in Brian O'Driscoll's words ''dug deep into the well''.
The defending champions were a far superior outfit from the one that edged the Welsh by one point a week ago, and silenced their critics with a comprehensive six-try victory.
The Pumas were full value for their win in a one-sided Pool B encounter that saw seven tries being scored -- six of them to Argentina.
It quickly turned into a procession in Waikato as Ma'a Nonu caused all kinds of problems for the Brave Blossoms, who had rested several of their first-choice players. New Zealand had done something similar during midweek while niggles for Richie McCaw and Dan Carter saw them pull out soon after being named in the starting XV.
Intensity was the name of the game as the protagonists went at each other hammer and tongs.
Four penalties and a drop-goal from Dan Parks were enough to hand Scotland four pool points in a try-less encounter in wet conditions.
The Canucks outscored Tonga three tries to two in a cracking game, and were full value for their win after leading 10-7 at half-time.
Samoa speedster Alesani Tuilagi bagged a hat-trick to help his team along to a comprehensive six-tries-to-two Pool D win.
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.
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.