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.
|Johnson shares lead as Garcia misses cut in Texas|
|Career backup QB Luke McCown retires at 36|
|Texans ´optimistic´ about Clowney contract extension|
|Everybody wants to play under him – Ozil pays tribute to Wenger|
|Conte defends Chelsea record compared to Mourinho|
|LaLiga strugglers Espanyol show Flores the door|
|Messi is an alien but Sevilla can bring Barcelona back down to Earth, insists Montella|
|Four in a row for Wigan as Saints thrash Huddersfield|
|Reims´ latest vintage secure promotion to Ligue 1|
|Gloucester cruise into Challenge Cup final|
|Quiros claims one-shot lead despite rollercoaster round two|
|Millwall 0 Fulham 3: Sessegnon on target as Jokanovic´s side go second|
|Curry to begin modified practices on Saturday|
|Ancelotti welcomes Arsenal links, praises Wenger decision|
|Nadal produces ´best match of tournament´ as Dimitrov beats doubles partner|
|I think Arsenal would be good for a German coach - Podolski|
|Wilshere, Ramsey, Mertesacker and the best social media reaction to Wenger´s Arsenal departure|
|Watson haunts Royals with Super Kings hundred|
|Selby bracing himself for tough title defence|
|Exeter left ´disappointed´ by Ampadu transfer verdict|
|Froome thrilled with ´perfect´ build-up to Giro|
|Copa del Rey glory a good way to put European exit behind us, says Valverde|
|LMA hails Wenger´s impact at Arsenal|
|Wenger passes the torch as Arsenal face up to his formidable legacy|
|Gazidis: Arsenal cannot replace Wenger – we need a new path|
|Ronnie rivals never doubted Crucible attendance of ´snooker´s Tiger Woods´|
|Van Bronckhorst using Wenger´s methods at Feyenoord|
|Former NFL lineman Evan Mathis´ 1952 Mickey Mantle card sells for $2.88M|
|Wasps forward Johnson suspended for failed drugs test|
|I´d break another finger to win the Copa del Rey - Rakitic|
|Arsene Wenger: The Arsenal manager´s worst moments|
|Wright: More Arsenal changes needed after Wenger exit|
|Guardiola wishes Iniesta the best ahead of potential Barcelona exit|
|Real football people appreciate Wenger - Moyes, Warnock and more pay tribute|
|Guardiola set for contract talks with Manchester City|
|Controversial Slater score helps Storm to victory|
|Liverpool top, DVDs just invented and no Harry Potter – The world when Wenger joined Arsenal|
|Heynckes cannot compare Lewandowski and Ronaldo|
|Ronaldinho, Ronaldo, Messi, Mbappe and more – the stars Wenger claims he could have signed|
|Ferguson: Rival, colleague and friend Wenger is one of the greatest|
|Gattuso wary of challenge for Milan´s European place|
|Neuer returns to Bayern training after seventh-month absence|
|Wembley no advantage for Spurs in semi-final, warns Mourinho|
|WATCH: Dez Bryant works out with Odell Beckham Jr. as rumors swirl|
|PSG, Monaco, the CSL, France? - Wenger´s possible next moves|
|Rematches, rivalries and a mouth-watering Wembley clash – The pick of the 2018 NFL schedule|
|Wenger ´an example´ to foreign Premier League managers like Benitez|
|Wilshere: Wenger is like a father|
|Guardiola wants Wenger to find new role in football|
|Henry: Wenger´s Arsenal legacy is untouchable|
|Mourinho: Wenger feud shows how much I respect him|
|Conte: Top four still possible for Chelsea|
|Frizell inspires Highlanders win over Blues, Lions beat Waratahs|
|Majestic Nadal hammers Thiem in Monte Carlo|
|Aguero out for the season - Guardiola|
|Wenger´s 22-year Arsenal tenure will not be matched, says Conte|
|Celtic would let Rodgers move to Arsenal|
|Squillaci, Cech & Wenger´s worst signings at Arsenal|
|Heynckes: I cannot imagine Wenger at another club|
|Thank you Arsene - Emery pays tribute to Wenger|
|Fabregas and Van Persie join tributes to Arsenal boss Wenger|
|Smith confirmed as England national selector|
|1,228 matches and seven FA Cups - Wenger at Arsenal in Opta numbers|
|Mertesacker ´emotional´ as Wenger announces Arsenal departure|
|Ancelotti, Tuchel, Henry – Where do Arsenal turn after Wenger?|
|Klopp doesn´t want Liverpool to chase Golden Boot for Salah|
|´The Arsene Wenger Stadium´ - Former Arsenal players call for tribute|
|Wenger was so good ´it was scary´, says Merson|
|Shields requests to be released for England duty|
|Khan: ´Cheat´ Alvarez got off lightly|