Wales wrapped up top spot in Pool C of the Rugby World Cup after they saw off Georgia 43-19 at Stade de la Beaujoire in Nantes on Saturday.
Louis Rees-Zammit crossed the try-line on three occasions while Tomas Francis, Liam Williams and George North also scored as they made it four wins out of four.
Wales now prepare for a quarter-final next Saturday but will be sweating over the fitness of fly-half Gareth Anscombe, who pulled out of this game in the warm-up.
Anscombe's late replacement Sam Costelow kicked five conversions and a penalty, although Georgia fought back to 24-19 adrift at one point through tries from Merab Sharikadze, Vano Karkadze and Davit Niniashvili, with Luka Matkava kicking two conversions.
A protracted mass brawl late in the game that spilled over the touchline and involved replacements from both sides saw Niniashvili and Wales substitute Taine Basham yellow-carded.
Wales were home and dry by this stage, although there was more injury concern when number eight Taulupe Faletau went off nursing what appeared to be a wrist problem.
Costelow mixed his running and kicking game well in the early stages, but Wales could get no change out of a well-organised Georgia defence.
There were plenty of errors in perfect playing conditions from both sides, but Wales broke the deadlock after 16 minutes.
A powerful lineout drive put Georgia on the back-foot, before Tomos Williams' short inside pass resulted in Francis going over for a try that Costelow converted.
Wales had settled into a rhythm, and they struck from another attacking lineout just seven minutes later.
Lock Will Rowlands secured quality possession and, when the ball was moved wide Liam Williams finished impressively. Costelow's conversion made it 14-0.
A Costelow penalty then opened up a 17-point advantage, and Wales appeared to be well on their way to a fourth successive pool victory.
Georgia regrouped as the first-half drew to a close, and Sharikadze claimed a try that Matkava converted following a sustained spell of pressure.
It was a warning for Wales that they could not switch off as they took a 17-7 lead into the interval.
Georgia began the second period on the front foot, but a midfield fumble saw North find Rees-Zammit, and the Gloucester speedster cruised clear from 60 metres out to claim his third try of the tournament.
Costelow converted, and it was exactly what Wales required after Georgia had threatened a fightback before the break.
Warren Gatland changed the entire front row after 50 minutes, with Nicky Smith, Elliot Dee and Henry Thomas all joining the action.
And while Wales were comfortably ahead, Georgia kept searching for attacking opportunities in their final game of the competition after defeats against Australia and Fiji and a draw with Portugal.
🏴 Try as soon as it got to Louis Rees-Zammit. #WALvGEO #RWC2023 pic.twitter.com/ck8du7Elnm
― Planet Rugby (@PlanetRugby) October 7, 2023
Their resilience was then rewarded with 20 minutes left when replacement hooker Karkadze went over and Matkava converted.
And Georgia immediately conjured a third try, this time from Niniashvili, making it 24-18 and giving Wales plenty to be concerned about.
Gatland's team were in danger of unravelling, but just when they needed it, Rees-Zammit applied a brilliant finish for his second try which Costelow converted, making it 31-19.
And when Rees-Zammit claimed his hat-trick crossing, Wales were home before North's try ― and Wales' sixth ― completed the scoring, with Japan or Argentina now awaiting as their quarter-final opponents.
The teams
Wales: 15 Liam Williams, 14 Louis Rees-Zammit, 13 George North, 12 Nick Tompkins, 11 Rio Dyer, 10 Sam Costelow, 9 Tomos Williams, 8 Taulupe Faletau, 7 Tommy Reffell, 6 Aaron Wainwright, 5 Dafydd Jenkins, 4 Will Rowlands, 3 Tomas Francis, 2 Dewi Lake (c), 1 Gareth Thomas
Replacements: 16 Elliot Dee, 17 Nicky Smith, 18 Henry Thomas, 19 Christ Tshiunza, 20 Taine Basham, 21 Gareth Davies, 22 Dan Biggar, 23 Mason Grady
Georgia: 15 Lasha Khmaladze, 14 Akaki Tabutsadze, 13 Giorgi Kveseladze, 12 Merab Sharikadze (c), 11 Davit Niniashvili, 10 Luka Matkava, 9 Vasil Lobzhanidze, 8 Tornike Jalagonia, 7 Beka Saginadze, 6 Mikheil Gachechiladze, 5 Konstantine Mikautadze, 4 Nodar Cheishvili, 3 Beka Gigashvili, 2 Shalva Mamukashvili, 1 Guram Gogichashvili
Replacements: 16 Vano Karkadze, 17 Nika Abuladze, 18 Irakli Aptsiauri, 19 Vladimer Chachanidze, 20 Giorgi Tsutskiridze, 21 Gela Aprasidze, 22 Tedo Abzhandadze, 23 Demur Tapladze
Referee: Mathieu Raynal (France)
Assistant Referees: James Doleman (New Zealand), Pierre Brousset (France)
TMO: Brendon Pickerill (New Zealand)
Tries from Damian Penaud (two), Louis Bielle-Biarrey, Thomas Ramos, Matthieu Jalibert, Peato Mauvaka and Yoram Moafana (two) helped Les Bleus to victory.
Los Teros were impressive in the opening quarter and almost took the lead through Manuel Ardao but, after Damian McKenzie touched down, the All Blacks cut loose.
The maximum haul puts the Springboks on 15 points at the end of their pool campaign, with rivals Ireland (14) and Scotland (10) set to face off next weekend to determine who finishes first, second and third in the toughest group of this year's tournament.
The five-point haul in Saint-Etienne puts the Wallabies one point ahead of Fiji in Pool C, but crucially the islanders still have one fixture to play next week.
Darcy Graham was no doubt the standout player, lighting up the game with four tries and a number of other thrilling surges during the match.
The Pacific Islanders needed a win with a try bonus-point over the Lelos to make sure of their place in the last-eight, but they could only touch down two times.
It was a day to remember for fly-half Nicolas Sanchez who became the second centurion for Argentina, following in the footsteps of Agustin Creevy. Fittingly it was the veteran playmaker who opened the scoring with a ninth-minute try.
A grand total of 14 tries were chalked up by a rampant All Blacks outfit, who seem in ominous form since their opening night defeat to host nation France.
With Argentina expected to claim five points against Chile over the weekend, the Brave Blossoms will then face Los Pumas in a winner-takes-all showdown.
The win puts the South Americans level on points with New Zealand in Pool A, who they face next Thursday, although the All Blacks have a game in hand.
Wales were outstanding as 23 points from replacement fly-half Anscombe, who came off the bench after Dan Biggar's injury on 12 minutes, floored Australia.
The maximum haul puts the Scots on five points ahead of facing Romania before their Pool B campaign ends with a mouth-watering match against Ireland.
It was a captivating 80 minutes at the Stade de France as both sides threw everything at each other, with the Irish prevailing against the 2019 champions.
The success leaves Steve Borthwick's outfit on 14 points in Pool D, with one game remaining against Samoa on October 7 as they look to wrap up top spot.
In an enthralling encounter, Portugal came from 13-0 behind to launch a stunning fightback as they held an 18-13 lead before Tengizi Zamtaradze scored a try in the game's dying moments to clinch the draw for the Lelos.
The rain didn't help but there was little entertainment and attacking quality on show, with Los Pumas grinding out a vital win in the race for the knockouts.
It was a record victory for Les Bleus as they cruised to a bonus-point success, with 54 points racked up in the opening half and 42 in a second in a canter.
The Uruguayans were much the better side in the first half and deservedly went 17-7 ahead at the interval through Nicolas Freitas' score, a penalty try and Felipe Etcheverry's drop-goal.
The famous win throws Pool C wide open as the islanders move on to six points, level with Australia and four behind Wales with two matches still to play.
It was far from pleasing on the eye but the Red Rose got the job done as they backed up their opening triumph over Argentina with a bonus-point success.