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.
|Leicester City 0 Southampton 0: Saints´ survival bid suffers fresh blow|
|Burnley 1 Chelsea 2: Conte´s men boost top-four chances with FA Cup warm-up|
|Fenerbahce-Besiktas abandoned after Gunes struck by object thrown from crowd|
|Quiros´ birdie-birdie finish earns a share of Rabat lead|
|New York Giants release Brandon Marshall|
|Real Sociedad 3 Atletico Madrid 0: Barca´s title party set to start|
|Thiem ready to up level for ´ultimate challenge´ of Nadal|
|Carrick reveals depression led to England exile|
|´Who are they?!´ - Accrington milk promotion with supermarket stunt|
|Mouthwatering Nadal-Djokovic quarter-final scuppered by Thiem|
|Stunning Gayle century ends Sunrisers´ unbeaten start|
|Conte names Hazard on bench for Burnley clash|
|Rooney denies rift with Everton boss Allardyce|
|Kane will leave Tottenham unless they win trophies, predicts Souness|
|Porzingis could miss 2018-19 season, Knicks owner says|
|Portugal´s Sanches has no chance of World Cup selection - Carvalhal|
|Spurs coach Popovich to miss game three after death of wife|
|Nadal reaches 14th straight Monte Carlo quarter-final|
|Better with one arm - Julio Cesar reveals Mourinho´s Casillas jibe|
|New Hamilton deal ´agreed in principle´ for Mercedes|
|Joseph likely to miss England´s tour of South Africa|
|Mourinho has nothing to prove - Pochettino|
|Bhatti pens one-year Glasgow extension|
|I have spoken to the chairman - Allardyce upset by Everton survey|
|Kit cat: Bath player offers signed shirt for missing pet|
|Emery dismisses talk of Real Sociedad offer|
|Thiem rallies to send Djokovic packing in Monte Carlo|
|Sidibe´s Monaco season over but World Cup return possible|
|Guardiola thanks ´unique´ City staff in celebration speech|
|Wan-Bissaka signs long-term Crystal Palace extension|
|Love will be ready for game three, assures Cavs coach Lue|
|Injured Raonic withdraws from Monte Carlo, Cilic advances|
|ECB announces 100-ball format for new domestic competition|
|Bottas aiming to overthrow Hamilton and claim world title|
|Rakitic to make comeback following finger surgery|
|FIFA dismisses Brewster racism complaint from U-17 World Cup final|
|Isak could benefit from Batshuayi injury - Stoger|
|Mitchell on target again in scrappy Roosters win|
|Shaw hopes to have earned FA Cup start|
|Mercado: If I smack Messi, I can´t go back to Argentina!|
|Salah wants Golden Boot to prove Chelsea doubters wrong|
|Chelsea´s Alonso gets three-game ban for Long challenge|
|Atletico clash absolutely vital to Arsenal´s season, admits Wenger|
|CSA wants interim agreement amid negotiations with South Africa players|
|Wenger still confident Wilshere will sign new deal|
|Read and Coles doubts for New Zealand´s France series|
|Paine vows to dial down Australia sledging|
|LeBron James denies he was blindsided by question on Popovich´s wife|
|Guardiola a friend as well as a boss, says Walker|
|Heaton: Europe a realistic possibility for Burnley|
|Late charge for the Golden Boot! - Smalling jokes about goalscoring form|
|Grand slams, walk-off hits highlight Blue Jays and Red Sox wins|
|Emery unsure when PSG star Neymar will return|
|Broncos boss Bennett walks out on press conference amid Bellamy speculation|
|Chiefs, Rams to play in Mexico City on November 19|
|LeBron James helps Cavs even series, Rockets rout T-Wolves|
|Marcelo backs Ronaldo to extend scoring run for Madrid|
|Copa Libertadores Review: Libertad preserve 100 per cent record, Corinthians stay unbeaten|
|Man United should have 10 more points – Mourinho laments inconsistency|
|Gombau sacked by Western Sydney Wanderers|
|Wife of San Antonio Spurs coach Gregg Popovich dies|
|Rafael: Van Gaal told me I could leave United after one-minute meeting|
|Klopp told Liverpool they could train naked because of Salah|
|Jazz star Mitchell to play game two against Thunder|
|Twins place Byron Buxton on 10-day DL with migraines|
|Zidane denies Bale problems, defends Benzema|
|Sarri: Napoli won´t change approach against Serie A rivals Juve|
|PSG will respect Les Herbiers, assures Emery|
|Chelsea boss Conte: It´s easier for Dyche at Burnley|
|It will be a great game - Allegri prepared for title showdown with Napoli|