Italy claimed third place in the FIFA Confederations Cup with a win on penalties against Uruguay at the Arena Fonte Nova on Sunday.
Italy went ahead through Davide Astori midway through the first half before Edinson Cavani grabbed the first of his brace shortly after the break.
However, two beatifully crafted free-kicks, first from Alessandro Diamanti and then courtesy of Cavani, ensured that the match went to penalties, with Gianluigi Buffon saving three to help the Italians to third place.
For Italy, Andrea Pirlo and Andrea Barzagli missed out due to injury, while Stephan El Shaaraway and Diamanti were chosen to join Alberto Gilardino in a front three.
Uruguay kept faith with the formidable striking trio of Luis Suarez, Diego Forlan and Cavani as they looked to break down an Italian defence that had become the first to shut out Spain in 16 games during the sem-final.
Cesare Prandelli's side made the stronger start to the game, with Antonio Candreva involved in two good chances early on.
The Euro 2012 finalists then took the lead after 23 minutes through Astori, following a bizarre series of events when a Diamanti free kick hit the crossbar and cannoned back off Fernando Muslera in the Uruguay goal.
The ball bounced along the line and into the path of Astori, who prodded it over the line to put the Italians ahead.
Goalline technology was used to determine whether or not the ball had crossed the line before Astori made contact - the first time the new system has been called into action in a major tournament.
Uruguay looked to bounce back straight away as Suarez struck a shot into the side netting four minutes later, before Cavani had the ball in the net, only to see his effort ruled out for offside.
Despite the pressure, Italy's defence stood firm to ensure that they went in at the break a goal to the good.
The scores were level 13 minutes into the second half, when Walter Gargano drove into the Italy half and played in Cavani, with the Napoli forward keeping his composure to sidefoot neatly past Buffon.
Forlan should have put his side ahead after 67 minutes when his deflected shot sat up nicely for a second attempt. However, Buffon was equal to it and ensured the score remained level.
However, Diamanti's left foot again proved effective for the Italians after 73 minutes. Not content with having a big say in his side's opener, he curled a superb free-kick past the helpless Muslera.
Napoli man Cavani, not to be outdone, then showed exactly why the likes of Chelsea are keen on securing his signature with a free-kick of equal quality. The forward grabbed his second of the match, beating Buffon with a beautifully measured effort from just outside the box to set up a grandstand finish with 12 minutes to go.
With the game set to go into extra time, Italy were awarded a free-kick in the 91st minute but Candreva's delivery was disappointing and drifted harmlessly wide, ensuring the sides would play an extra 30 minutes.
Italy enjoyed much of the possession as the first half extra time got under way, with both sides looking weary as they struggled to fashion opportunities.
Cavani came within sight of a one-on-one with Buffon at the end of the first period, before the second got under way with an early blow for Italy who lost midfielder Riccardo Montolivo to a second yellow card.
Suarez hit a fierce shot over the crossbar in the 113th minute as Uruguay piled on the pressure before Cavani flashed an effort wide a minute later.
Just a minute from time, the pair each had another great opportunity to seal the game but Suarez saw his effort saved while Cavani was ruled offside, meaning that penalties decided who would finish in third place.
Forlan got his side off to the worst possible start in the shootout, seeing his effort saved by Buffon, before Alberto Aquilani put Italy ahead. Cavani then made it one each with a cool sidefoot past the goalkeeper with El Shaaraway sending Muslera the wrong way to keep Italy ahead.
Suarez dispatched his spot-kick before Mattia De Sciglio's was saved to level matters. There was to be another twist ahead as Martin Caceres' penalty was saved before Emanuele Giaccherini scored. Gargano then saw his strike saved by Buffon to ensure Italy took the honours.
|21||E. Cavani||58' 78'|
|Coach: Ó. Tabárez|
for C. Rodríguez 56'
for M. Pereira 81'
for E. Arévalo 107'
|Did Carroll´s wondergoal give the West Ham striker whiplash?|
|Iniesta suffers calf injury|
|Swansea situation not ´hopeless´, says Clement|
|Real Sociedad 0 Barcelona 1: Neymar ends Anoeta curse|
|´Immeasurable bulls**t´ - Ligue 1 coach destroys Van Basten´s offside plan|
|Simeone praises Atletico´s precision in Copa Del Rey win|
|Fonte situation difficult for Southampton - Puel|
|´Some of the best football in the UK´ - Watford´s Mazzarri hails Bournemouth|
|Senegal 2 Zimbabwe 0: Cisse´s men charge into quarter-finals|
|Rivaldo backs Luis Enrique to deliver more Barca success|
|Atletico Madrid 3 Eibar 0: Routine win earns quarter-final lead|
|Jesus will make Premier League history - Rivaldo|
|Adebayor: Arsenal are just Ozil and Sanchez|
|Algeria 1 Tunisia 2: Favourites on brink of elimination|
|Bayern keen to seal Coman deal as Rummenigge cools Gnabry interest|
|Pochettino has done his homework on Jesus as Spurs look to march on|
|Scrap offside? Premier League managers give Van Basten´s plans a cool reception|
|Coman ready for Bayern comeback, confirms Ancelotti|
|Pochettino upbeat despite six weeks out for Vertonghen, Lamela still a mystery|
|Cerezo defiant over Griezmann amid talk of Manchester United agreement|
|Robinho named in Brazil squad for Chapecoense fundraiser|
|Davies and Lookman aren´t the big men of Everton, warns Koeman|
|Ivory Coast v DR Congo: Dussyer demands champions show true strength|
|Replacing Robben and Ribery not easy - Hitzfeld|
|Yeray back in Athletic training after successful cancer surgery|
|Karanka targeting more Boro deals after Bamford swoop|
|Cavani: I am the ultimate finisher|
|Morocco v Togo: El Ahmadi hungry for success|
|Ancelotti denies Verratti approach|
|A-League Review: Cahill double sees Melbourne City sink Mariners|
|Manchester United very happy with Shaw, insists agent|
|Mertesacker extends Arsenal deal|
|Boost for Arsenal as key quartet returns to training|
|Will Jesus save Manchester City´s title bid? Guardiola´s new striker in Opta numbers|
|Tevez mobbed after touching down in Shanghai|
|Payet exit not inevitable - Bilic|
|Wenger: Arsenal don´t need Payet|
|Jesus wants Manchester City titles|
|Orsolini arrives for Juventus medical|
|Rivaldo backs Coutinho to join Neymar at Barcelona|
|No danger of Messi leaving Barcelona, says father|
|Augusto: I convinced Oscar to come to China|
|Madrid-bound Maradona visits Napoli training|
|Sevilla in no rush over Sampaoli talks despite Barcelona links|
|Cafu: Resurgent Brazil can challenge world´s best|
|Klopp thrilled with Coutinho|
|Manchester United replace Real Madrid as world´s richest club|
|Madrid squad annoyed by defeats - Zidane wants more energy after latest loss|
|Casemiro rues more misery for Madrid against Celta|
|´Job done, let´s go home´ - Klopp happy to avoid extra time with narrow Plymouth win|
|FA Cup Review: Southampton leave it late to beat Norwich|
|Real Madrid 1 Celta Vigo 2: Aspas and Jonny extend Madrid winless run|
|Plymouth Argyle 0 Liverpool 1: Rare Lucas goal sees Klopp´s men through|
|Manchester City in La La Land as Schalke toil underground|
|Cameroon 2 Guinea-Bissau 1: Ngadeu-Ngadjui completes comeback to send Broos´ men top|
|Monaco confirm signing of Ajax teenager Antonucci|
|Manchester United´s interest in Griezmann is unsurprising - Simeone|
|Bamford ends spell in Chelsea wilderness with Boro return|
|Louis the great - Luis Enrique explains his and Barca´s debt to Van Gaal|
|Gabon 1 Burkina Faso 1: Spot-on Aubameyang makes his point|
|PSG send Ikone on loan to Montpellier|
|Senegal v Zimbabwe: Cisse wants to live up to favourites tag|
|Ghana´s Rahman leaves AFCON with knee injury|
|Algeria v Tunisia: Mahrez demands improvement in crucial Group B clash|
|Dortmund forward Dembele hits out at Bundesliga refereeing|
|Robben hopes Alonso stays at Bayern amid retirement rumours|
|Asian champions Jeonbuk banned from 2017 Champions League|
|Rakitic still an important player for Barcelona - Luis Enrique|
|Jesus will develop quicker at City - Emerson|
|Always take the weather with you - Spanish snow blights CSKA´s training camp|
|Messi never gave Coach interview, claims father|
|Gotze questions critics but admits to falling short of expecations|
|´Conte can have our title´ - Ranieri wants Chelsea to win the Premier League|
|Tottenham reject Premier League, Bundesliga offers for Wimmer|
|Liverpool sell Ilori to Reading|
|Potential victims in football abuse probe surpasses 500|
|Bonaventura signs new AC Milan contract|
|Messi: Ronaldo has achieved great things|
|Koscielny: Wenger has built men at Arsenal|
|Messi vows to stay at Barcelona ´for as long as they want me´|
|Cafu adamant Neymar will become world´s best|
|I´m just taking a sabbatical - Van Gaal denies he´s retired|
|Not even Gerrard won Premier League - Buttner says he´s not a United flop|
|Samper ignored Wenger as Barca midfielder rejected Arsenal|
|Pleased Pioli wants more from Inter|
|Evergrande boss Scolari dismisses Turan links|
|Klopp seeks legal advice over Matip|
|Marseille complete Sanson move|