Scotland have reached the Rugby World Cup quarter-finals after a tense 18-16 win over Six Nations rivals Italy in a tense and ill-tempered winner-take-all clash in Saint Etienne.
The Scots maintained their proud record of never having failed to reach the World Cup last eight thanks to six penalties from the ultra-accurate Chris Paterson.
Italy scored the only try of the match through skipper Alessandro Troncon, with full-back David Bortolussi adding one conversion and three penalties for their 16 points.
Scotland went into the game as slight favourites following the injury to Italian skipper Marco Bortolami and having rested their top players in the 40-0 defeat to group winners New Zealand in Edinburgh last weekend.
The Scots drove into attack from the kick-off and were rewarded with a penalty after just two minutes which Paterson converted for a 3-0 lead, and were down 6-0 shortly after through Paterson's second penalty.
Flyhalf Dan Parks' boot put the Italians under more pressure and Marco Bergamasco was yellow-carded for deliberately blocking a try-scoring chance as the Scots threatened their line.
However the Italians, down to 14 men, stunned Scotland with the only try of the game five minutes later as flyhalf Ramiro Pez put in a towering up-and-under that full-back Rory Lamont spilled under pressure in front of his posts.
Italy regained possession and skipper Troncon scurried over with Bortolussi converting for a 7-6 lead.
The Italians went further ahead through a huge Bortolussi penalty from just inside the opposition half after a Scottish player entered a ruck from the side.
Italy began dominating through their powerful pack, but further bouts of ill-discipline allowed Paterson to kick a further two penalties in the space of four minutes and put Scotland back into the lead 12-10 at half-time.
More Paterson penalties
The Scots moved to 18-10 ahead seven minutes into the second half through two more penalties from Paterson as the Italians lack of discipline was punished by South African referee Jonathan Kaplan.
However in what was turning into an increasingly bad-tempered affair, it was Scotland who next transgressed when lock Nathan Hines was sin-binned for a high-tackle and Bortolussi made no mistake with the ensuing penalty from 20 metres out.
Hines' absence gave new impetus to the Italian pack and Bortolussi kicked his third penalty after prop Euan Murray was penalised for pulling down a maul making the score 18-16 with plenty of time remaining.
Italy piled forward in search of a victory that would take them into the World Cup last eight for the first time, and they came within inches as Bortolussi's long-range penalty slipped wide to the right with four minutes to go.