Italy missed a glorious chance to end a three-year wait for a Six Nations win as Greig Laidlaw's late penalty secured Scotland a hard-fought 29-27 triumph in Rome.
Tommaso Allan – who had represented Scotland at junior level – scored 22 points, including two tries, as the Azzurri looked set to end a 16-match losing run in the tournament.
However, having led 24-12 early in the second half at the Stadio Olimpico, the hosts faded badly down the stretch to suffer yet more disappointment.
Scotland capitalised on Italy's tiredness, tries from Sean Maitland and Stuart Hogg, both converted by Laidlaw, putting them 26-24 ahead as the game moved towards a climax.
Allan slotted over a penalty to briefly put Italy back ahead, only for Laidlaw to respond with a successful kick of his own in the 79th minute that finally settled a see-saw contest in Scotland's favour.
The win means Gregor Townsend's squad finish the campaign with three victories and two defeats, as they did in 2017.
After Allan kicked Italy ahead with a seventh-minute penalty, hooker Fraser Brown had the simple task of picking up Hamish Watson's long pass and falling over the line for Scotland's opening try.
However, Italy responded to the setback by scoring 14 points in the space of seven minutes.
Allan beautifully stepped off his right foot to reach the line himself before setting up Matteo Minozzi with a clever grubber kick that the full-back gleefully gathered under pressure.
Scotland's riposte was prompt and powerful. Benefiting from a rolling maul, captain John Barclay plunged over for a try that Laidlaw successfully converted, making it 17-12 at the break.
Despite seeing a try from Sebastian Negri ruled out for a knock-on, Italy extended their advantage when Jake Polledri's powerful run set up a second score for Allan, who also added the extras to make it a 12-point cushion.
Yet the clock, as well as a back-line reshuffle, worked against Italy, as they succumbed in the closing stages to suffer a fourth Six Nations whitewash in the last five years.
Switched to fly-half after Finn Russell was forced off through injury, Laidlaw provided the pass for Maitland to glide over before Hogg left Negri grasping at thin air to get the bonus-point try.
Allan's boot briefly gave the home fans renewed hope, only for Laidlaw to hold his nerve from a tight angle, his successful kick completing the comeback and condemning Italy captain Sergio Parisse to a 100th Test defeat.
SCOTLAND WIN!!!!!!!!!!!!!!!!!!— J.K. Rowling (@jk_rowling) March 17, 2018
And I need a defibrillator.
Key Opta Stats:
- This was just the third win for Scotland in their last 20 Six Nations games away from home, all three of those victories coming in Rome.
- Italy have now lost their last 17 games in the Championship, the joint longest such run in Five/Six Nations history, level with France who lost 17 from 1911 to 1920.
- Parisse won his 65th cap, drawing level with Brian O’Driscoll as the most capped player in Five/Six Nations history. However, he also became the first player in history to lose 100 Test matches.
|Gojowczyk eliminates returning Tsonga in Metz|
|Liverpool enjoying best start in 57 years after PSG win|
|Galatasaray 3 Lokomotiv Moscow 0: Terim´s side make light work of Russians|
|Club Brugge 0 Borussia Dortmund 1: Super sub Pulisic scores late winner|
|Schalke 1 Porto 1: Fahrmann saves one penalty, but Otavio scores another|
|Red Star Belgrade 0 Napoli 0: Points shared as Italians fail to make possession pay|
|Liverpool 3 Paris Saint-Germain 2: Firmino strikes late as Reds edge five-goal thriller|
|Monaco 1 Atletico Madrid 2: Costa and Gimenez seal comfortable win|
|Chaos reigns in Serie B as league denies suspension claim|
|India secure Asia Cup victory despite valiant Hong Kong effort|
|Messi makes "extraordinary routine", says Valverde after Barca star surpasses Ronaldo|
|Spalletti´s Inter to take heart from Tottenham turnaround|
|Casillas features in landmark 20th Champions League campaign|
|Spurs deserved more from best performance of the season - Pochettino|
|Brown absent from Steelers facility on Monday due to ´personal matter´|
|Toronto´s Bussey given eight-match biting ban|
|Barcelona 4 PSV 0: Marvellous Messi lights up Camp Nou|
|Inter 2 Tottenham 1: Icardi, Vecino complete dramatic late turnaround|
|Allegri, Chiellini defend Costa over spitting ban|
|Firmino only fit enough for bench duty|
|Kovac applauds Sanches ahead of Benfica homecoming|
|Tomlin confirms Steelers WR Brown was absent from facility on Monday|
|Mourinho tells United to follow Federer´s lead amid Young Boys pitch concerns|
|Costa banned for four Serie A matches for spitting|
|PGA Tour announces changes to FedEx Cup Playoffs format|
|Rashford to start against Young Boys, Mourinho confirms|
|Ryder Cup heading to Congressional in 2036|
|I never listen to stupid things - De Gea unconcerned by criticism|
|Aguero trains as Mendy sits out Man City session|
|Lampard fined after accepting improper conduct charge|
|Serie B suspended after Pro Vercelli win appeal|
|Mitchell returns to England as defence coach|
|Brady completes Cornet upset in Guangzhou|
|Lopetegui giving no guarantees to ´fighter´ Navas|
|Di Francesco denies racially abusing Costa|
|Saunders apologises for ´sickening´ online video|
|Tianjin Quanjian 0 Kashima Antlers 3 (0-5 agg): Semi-final spot booked in resounding fashion|
|Madrid cannot live on Ronaldo´s glories, warns Ramos|
|Real Madrid are Champions League favourites, insists Man City coach Arteta|
|Stokes & Hales charged with bringing game into disrepute|
|Stephens slips to Vekic defeat in Tokyo|
|Simeone should teach Griezmann values - Ramos questions Ballon d´Or ambition|
|Arteta ready to step into Guardiola´s shoes after missing out on Arsenal job|
|Naive or scheming - Ozil´s agent slams Kroos, Neuer and Muller|
|Bolton´s Darby forced to retire after Motor Neurone Disease diagnosis|
|Root vows dressing support for Moeen over Ashes abuse claims|
|Madrid more dangerous without Ronaldo - Dani Alves|
|Federer fires ominous Djokovic warning to rivals|
|Arsenal confirm Gazidis departure to Milan|
|Man´s best friend? D´Arcy Short ruled out by dog bite|
|Salah has strong bond with ´friend´ Klopp|
|Mistakes were made in Serena´s US Open row - Federer|
|Burgess wants ´truth to come out´ over lewd video allegations|
|Injury brings premature end to Sharapova´s season|
|The next one´s mine - Griezmann underlines Champions League desire|
|A novice coach and a solar-powered stadium – who are Champions League debutants Young Boys?|
|Free-scoring Liverpool and PSG do battle, Kane eyes elite club - Champions League in Opta numbers|
|Braves fall to Cardinals, still move closer to clinching NL East|
|Mack leads Bears past Seahawks|
|Maradona makes winning start in Mexico|
|Barcelona captaincy has changed Messi, says Bartomeu|
|Lithuania qualify for FIBA World Cup after double-overtime win|
|Yelich makes history with another cycle|
|Silva: PSG, Liverpool have world´s two best attacks|
|It´s like a cow seeing a train – Pochettino uses unusual analogy to talk experience|
|Brady discusses Patriots´ trade for Gordon|
|Bills coach McDermott hasn´t spoken to Davis, says he ´didn´t feel a need´|
|Coutinho can´t explain Barcelona´s Champions League struggles|
|Henderson: Run to final can inspire Liverpool in Champions League|
|Eriksen: Everyone expects Kane to score a hat-trick every game|