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'
|Laporte dismisses Manchester City rumours|
|Ranieri has silenced critics, says Kisnorbo|
|Van Gaal: I am one of the best managers in the world|
|Santa Cruz: Guardiola will bring better football to City|
|Guardiola always a bit anxious - Kahn|
|Kisnorbo: No one will forget Leicester´s fairytale run to Premier League glory|
|Rodgers backs Klopp´s handling of Sturridge|
|Wright: No one would have touched Kante and Co.|
|Smalling: Captaining United an honour|
|No surprises in Mexico´s 40-man Copa squad|
|Juanfran: We are a team of details|
|Stepanenko: My friendship with Yarmolenko is over|
|Leicester fan Martinez: I am glad it did not happen in Germany|
|Schwarzer has shown age is just a number - Kisnorbo|
|Mangala: City want to make history in Champions League|
|Lineker struggling to believe Leicester success|
|Carrick: Top four not gone yet|
|De Gea named United´s player of the year|
|Dundee 2 Dundee United 1: Visitors relegated|
|King delighted to crown Leicester rise with title|
|Ranieri: I knew I would win a title eventually!|
|Soccer world reacts to Leicester´s remarkable Premier League title|
|Serie A Review: Strootman starts as Roma fight back again|
|Leicester success a ´good omen´ for Selby|
|Kane: Chelsea celebrated like they won title|
|Thumping Man City, edging Tottenham and five matches that won Leicester the Premier League|
|Vardy marvels at Leicester´s finest hour|
|Ranieri called me to say thanks, reveals Hiddink|
|Leicester did the impossible - Morgan|
|Terry: Leicester title triumph gives hope to smaller sides|
|Pochettino proud as Spurs fall short|
|Savage: Leicester title a key moment in Premier League history|
|Football world reacts to Leicester´s remarkable Premier League title|
|Leicester deserve Premier League title - Hazard|
|Leicester players celebrate Premier League title triumph in style|
|From Tinkerman to champion: Ranieri writes the greatest story ever told|
|Champions Leicester worthy of a film - Heskey|
|The greatest upset: Champions Leicester break new ground for sporting underdogs|
|Chelsea 2 Tottenham 2: Leicester champions as Spurs collapse at Stamford Bridge|
|Leicester crowned Premier League champions|
|Werder Bremen 6 Stuttgart 2: Crushing win lights up survival fight|
|Malaga 3 Levante 1: Late collapse all but relegates Rubi´s men|
|Neuer cites home crowd as advantage for Atleti clash|
|Icardi surprised by Argentina selection|
|Ribery fit to face Atletico in Champions League semi-final|
|FIFA extends Sakho ban worldwide|
|Torres and Atletico ready for war at Bayern|
|Football League Review: Burnley earn promotion back to the Premier League|
|Simeone pledges to chase victory at Allianz Arena|
|´Nothing in life is certain´ - Handanovic on Inter future|
|CAS order FIFA to reconsider Gibraltar membership|
|Trapattoni: I love Simeone and Atletico´s style|
|Balotelli is a changed man, says Galliani|
|Real Madrid job is about politics - Pellegrini|
|De Laurentiis wants Sarri at Napoli long term|
|Yarmolenko will not go to Everton or Stoke - Dynamo president|
|Suarez a difference maker - Stoichkov|
|Drinkwater to face no further action from FA|
|Albrighton: Leicester players will watch Chelsea v Tottenham together|
|More to Manchester City than Aguero - Casemiro|
|Boban: Maldini can save Milan|
|Real Madrid v Manchester City: Pellegrini eyes away goal as Zidane hopes for Ronaldo|
|Pellegrini doubts longevity of Leicester´s credentials|
|Portugal unconcerned by Ronaldo fitness|
|Ribery tells Guardiola to play him against Atletico|
|Vardy wins FWA Player of the Year award|
|Hiddink: Title pressure could get to Tottenham|
|Messi never cheats, insists Xavi|
|Dortmund tell Bayern Hummels fee is non-negotiable|
|Welbeck a different animal again - Wenger|
|Xavi: Real Madrid played like a small team in Clasico|
|Bayern can win Champions League - Santa Cruz|
|Reina backs Atletico to win the double|
|Perth Glory lure Herd to A-League|
|England can´t afford Australia loss - Kewell|
|Stankovic: Simeone will coach Inter, but not now|
|I had to rotate squad - Pellegrini|
|Candreva backs Inzaghi for Lazio job|
|I can make fans forget my bad season – Hazard|
|MLS Review: Cole sees red in Galaxy stalemate, Valeri stunner lifts Timbers|
|Pochettino: Deal announcement can convince Tottenham stars to stay|
|Hiddink: Chelsea can´t replace Terry|
|Pulisic, Morris picked by Klinsmann in initial Copa squad|
|Wenger anticipated worse from protests|
|Kante set to have stand named after him|
|Furious Mancini slams Inter´s ´worst ever´ first half against Lazio|
|Serie A Review: Champions League places locked, Milan play out six-goal thriller|
|La Liga Review: Villarreal secure Champions League return|
|Lazio 2 Inter 0: Champions League race comes to a Klose|
|Koeman delivers Pelle warning|
|Morata wants to stay at Juventus, claims Marotta|
|Pellegrini disappointed with City defending in defeat|
|Iheanacho: City will bounce back from Saints defeat|
|´On fire´ Mane salutes Southampton show|
|Angers 0 Marseille 1: Batshuayi strike secures Ligue 1 status|
|Southampton 4 Manchester City 2: Mane hat-trick blows top-four race open|
|Van Gaal calls for video referees after Drinkwater decision|
|Schmeichel: I don´t care how we win it|
|Montella open to Italy role|
|Brocchi pleased with Milan fightback|
|Van Gaal defends ´human´ Fellaini over Huth elbow clash|
|Ronaldo wants Zidane to stay at Madrid|
|Ranieri to miss decisive Tottenham clash|
|Rooney disappointed after Leicester draw dents top-four hopes|
|Bayern Munich v Atletico Madrid: Hosts seek to vent Bundesliga frustration|
|Leicester captain Morgan hails battling Old Trafford point|
|AC Milan 3-3 Frosinone: Menez penalty denies strugglers|
|Klopp not concerned by Sturridge behaviour|
|Manchester United 1 Leicester City 1: Captain Morgan on target as Foxes edge closer to glory|
|Allofs: We do not have the same weapons as Bayern|
|Guidolin coy on Swansea future|
|Allegri happy with win after title celebrations|
|Umtiti flattered by Tottenham interest|
|Klopp frustrated by lacklustre Liverpool|
|Hannover mourn Feierabend|
|Godin, Carrasco fit for Bayern clash|
|Swansea City 3 Liverpool 1: Ayew double punishes wasteful visitors|
|Dybala claims Messi, Ronaldo would score less in Italy|
|Juventus 2 Carpi 0: Hernanes, Zaza on target as champions march on|
|Ronaldo back in training for Madrid|
|Barcelona confirm Bravo calf injury|
|Aulas brands Ligue 1 ´championship of Qatar´|
|Leicester City at Manchester United: Aiming for Hollywood ending to title push|
|I can start for England at Euro 2016 - Sturridge|
|Dybala never doubted Juventus|
|Aguero celebrates brother´s Independiente debut|
|Sturridge rounds on critics, plays down Klopp rift|
|Adelaide United 3 Western Sydney Wanderers 1: Reds seal maiden A-League title|
|Eriksson: Simeone is an example to follow|
|´Where am I?´ - Lovren reveals travel struggles|
|´If I have to leave Bayern, then I will´ - Benatia|
|Walker ´over the moon´ after Pochettino agrees new deal|
|MLS Review: Villa leads City, Impact held|
|We´d probably be relegated without Defoe – Allardyce|
|Koeman: Leicester will do well in Champions League|
|Ronaldo needs rest or could miss Euros - doctor|
|United shaped me as a player - Schlupp|
|Sanchez, Vidal lead Chile´s Copa squad|
|Arsenal´s patience paid off - Cech|
|I will know Madrid´s plans - Pellegrini|
|Granada 3 Las Palmas 2: Superb comeback boosts hosts´ survival hopes|
|Martinez pleased with impact of new faces|
|Ligue 1 Review: Lyon, Monaco continue fight for second|
|Serie A Review: Fiorentina frustrated, Torino hit five|
|Barca keeper Bravo set for tests on calf strain|