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.
|Wenger clarifies comment on Arsenal exit ´timing´|
|Boateng injury worry for Bayern and Germany|
|Nadal in control, as Djokovic, Nishikori exit in Barcelona|
|Robben injured in Bayern v Madrid Champions League semi-final|
|Icardi will wait for World Cup dream|
|Arthur hopes Smith, Warner and Bancroft can play county cricket|
|Dhoni and Rayudu star as Super Kings down RCB in thriller|
|NFL Draft 2018: Five overrated prospects|
|Oxlade-Chamberlain ´absolutely devastated´ by knee injury|
|NFL Draft 2018: Five potential first-round surprises|
|Simeone hails Wenger and distances himself from Arsenal switch|
|Madrid bench Benzema and Bale as James starts for Bayern|
|NFL Draft 2018: Teams with most riding on draft|
|Salah used to have problems in front of goal, says former Basel team-mate Sommer|
|Oxlade-Chamberlain ruled out of World Cup|
|Arsenal´s Bellerin slams Daily Mail as ´click baiters´|
|Rodgers and Paul to take NFL-NBA battle to the golf course|
|Gurley, Elliott & Fournette - The top-10 running backs of the last 10 years|
|I truly could have shot 59 - Spieth reflects on Augusta charge|
|Bruno Mars, Britney Spears to perform at US GP|
|Mourinho suggests United were ´not prepared to win´ before his arrival|
|Wolves in the clear over Mendes link-up|
|Salzburg first, history later for Garcia and Marseille|
|Nadal overcomes plucky Carballes Baena to make more clay history|
|Tennis´ governing bodies acknowledge ´vulnerabilities´ after independent integrity review|
|Leeds owner defends controversial Myanmar tour|
|ICC apologises, launches investigation into controversial tweet|
|Moeen: England should have dropped me sooner|
|Henderson: Injured fan´s recovery is the only result that matters|
|Ronaldo sends signed shirt to Manchester United star Rashford|
|Independent review says tennis faces ´serious integrity problem´ with betting|
|Djokovic stunned by Klizan in Barcelona|
|This group deserves something special – Wenger wants to exit on a high|
|North to return to Wales with Ospreys|
|Vieira ´ready for Europe´ amid reported Arsenal interest|
|Wenger focused on Arsenal despite desire to keep working elsewhere|
|Mourinho has made me a better person, says McTominay|
|Gerard sacked as Barca B coach after woeful winless run|
|Sensational Storm demolish Warriors, Dragons win again|
|Bayern links ´an honour´ for Madrid man Bale|
|F1 Raceweek: Vettel closing in on milestone - Azerbaijan GP in numbers|
|It is wide open - Wozniacki hopeful over Roland Garros chances|
|Roma ashamed by Liverpool fan attack|
|Wade, Ginobili will not be rushed over retirement decisions|
|UEFA ´shocked by vile attack´ on Liverpool fan|
|Mayfield´s Big 12 dominance & Jackson the dual threat - The 2018 Quarterback class in Opta numbers|
|Campbell tips Vieira and Bergkamp to replace Wenger|
|Courtois to sue former Belgium coach Wilmots|
|Heavyweights Ronaldo and Lewandowski go head to head – Champions League in Opta numbers|
|Spurs, Heat eliminated as Celtics go up 3-2|
|Angels overcome Ohtani´s so-so outing to win series over Astros|
|Red Bull want Ricciardo decision by August|
|Rangers injuries piling up as Beltre leaves with hamstring issue|
|A´s closer Treinen exits after being hit by comebacker|
|Copa Libertadores Review: Gabriel leads Santos, Atletico cruise|
|He decides the biggest moments – Wijnaldum hails Salah|
|Finau ready to compete after freak ankle injury at Masters|
|Roma have some hope, says Monchi|
|Westbrook fined $10,000 for altercation with Gobert|
|Messi? Ronaldo? Salah is world´s best player – Gerrard|
|Liverpool are not Barcelona – Klopp cautious of Roma comeback|
|Liverpool supporter in ´critical condition´ after fan clashes|
|Gronkowski commits to 2018 season with Patriots|
|F1 Raceweek: Title race to heat up at venue of Vettel-Hamilton flashpoint|
|It´s all-inclusive football with Liverpool! - Klopp pleased despite Roma recovery|
|Montella to remain Sevilla coach until end of season|
|Di Francesco: Roma gave up – but if you don´t believe in a comeback, stay at home|
|Klopp accepts Salah substitution sparked Roma fightback|
|Oxlade-Chamberlain may miss World Cup after suffering ´a really bad injury´|
|De Rossi blames long balls for Roma ´blackout´ at Anfield|