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'
|Mario Suarez: Koke a more complete player than Xavi|
|Monaco thrash Metz 7-0 to go top of Ligue 1|
|Blind challenges United to make more set-pieces count|
|Tuchel slams Leverkusen´s physical approach|
|Conte talks up Costa scoring spree|
|Lahm: Bayern have plenty of work to do|
|Cavani form crucial to PSG´s confidence - Emery|
|Bayer Leverkusen 2 Borussia Dortmund 0: Tuchel´s men miss chance to close gap|
|Phelan wants answers before Hull deal|
|Mazzarri hails positive reaction|
|Milner credits Klopp team talk for comeback win|
|Quality Chadli exactly what West Brom were missing - Pulis|
|Karanka pleased with attitude and intensity|
|We deserved to nick it - Howe|
|Man dies after Rangers fan coach crashes|
|Bilic not concerned over West Ham future|
|Robben injury nothing serious, says Ancelotti|
|Chelsea must work, work, work - Conte|
|Moyes frustrated by wasteful Defoe|
|Mason: Crazy spell cost Hull in Chelsea loss|
|West Ham cannot rely on Payet brilliance - Collins|
|Paris Saint-Germain 2 Bordeaux 0: Champions back on track as Cavani stars|
|Valencia appoint Prandelli|
|Moses and Cahill glad to see Chelsea shape up|
|Sunderland 1 West Bromwich Albion 1: Late Van Aanholt strike rescues battling hosts|
|West Ham 1 Middlesbrough 1: Payet stunner ends Hammers´ losing streak|
|Watford 2 Bournemouth 2: Success salvages a point for the Hornets|
|Luis Enrique defends misfiring Alcacer|
|Hull City 0 Chelsea 2: Willian and Costa get Conte back to winning ways|
|Bayern Munich 1 Cologne 1: Ancelotti drops first Bundesliga points|
|Spalletti urges Roma to show true colours|
|Klopp delivers injury update on Lallana and Lovren|
|Guidolin: Sacking is a possibility|
|Liverpool´s second-half showing pleases Klopp|
|Godin expected to face Valencia despite ankle injury|
|In-form Balotelli misses out on Italy recall|
|Swansea City 1 Liverpool 2: Milner penalty piles pressure on Guidolin|
|De Boer accepts Inter criticism|
|Gundogan ´starting from zero´ at City|
|Luis Enrique claims Arda will star in Messi´s absence|
|Madrid confirm Modric knee injury|
|Allegri: Juventus not prioritising Champions League|
|Hamburg must take the pressure off Halilovic, says Gisdol|
|Zidane calls on Madrid stars to be more clincal|
|Sassuolo a direct rival to AC Milan, says Montella|
|The goals will come, insists Alcacer|
|No contact over England vacancy, says Rangnick|
|Hughes backs Shawcross for Ibrahimovic revenge|
|Misfiring Zaza could be next Bergkamp - Bilic|
|Mourinho needs time to understand United players|
|Mathieu quits France after admitting ´I don´t have the motivation´|
|Wenger ´not obsessed´ with winning send-off|
|The Invincibles and Champions League heartbreak - the highs and lows of Wenger´s 20 years at Arsenal|
|Liverpool top, DVDs just invented and no Harry Potter - the world when Wenger joined Arsenal|
|Guardiola eyes longer City stay|
|Wenger fits England criteria ´perfectly´ - FA chief|
|Houston Dynamo 0 New York City 2: Villa brace seals routine win|
|Premier League defends tax arrangements|
|Redknapp reportedly aware of players betting on games|
|Koeman champions ´outstanding´ display despite draw|
|Everton profited from ´harsh´ refereeing, claims Delaney|
|We will get much better, Guardiola warns rivals|
|Ibrahimovic turned down €100m China deal - Raiola|
|Everton 1 Crystal Palace 1: Benteke cancels out Lukaku opener|
|Rashford looking to emulate Ronaldo at Manchester United|
|Managers given bad name by Allardyce scandal - Moyes|
|Pagliara claims he lied to Telegraph over bungs|
|Dyche excited by Arsenal challenge|
|Mazzarri wary of unleashing Success until he is fully fit|
|Moyes stands by criticism of players|
|Guardiola marvels at amazing Ryder Cup experience|
|Mathieu and Deschamps ´exchange´ gives Mangala recall|
|Retirement threat just ´erratic´ Tevez being dramatic - Joorabchian|
|Dani Alves wants Champions League glory with Juventus|
|Guardiola: Football fans can enjoy Tottenham|
|Ranieri calls for consistency from Leicester|
|Low missing out on ´dream´ player in Castro - Tuchel|
|Mata: I never had problems with Mourinho|
|Conte wants failures to motivate Chelsea|
|Pochettino rules out ´impossible´ England switch|
|Emery pleased with Ben Arfa attitude|
|Gundogan returns for Germany after lengthy absence|
|Terry out again as Chelsea prepare for Hull|
|Hasselbaink refutes corruption allegations|
|Robben to start against Cologne, suggests Ancelotti|
|Prolific Callejon called into Spain squad|
|Hull City offer ´keeps changing´ - Phelan|
|Krueger: Black allegations do not directly affect Southampton|
|Wenger optimistic over Coquelin recovery|
|Hughes focused after Mourinho backing|
|Wenger open to England job|
|Klopp eyes retirement before 60|
|Wenger the pioneer battles on within his own legacy|
|Lukaku: I am not on Suarez´s level yet|
|Ibrahimovic is tremendous even if he does not score - Mourinho|
|CONCACAF Champions League Review: Olimpia, Honduras Progreso claim key wins|
|Astra expected hungover Roma - Spalletti|
|United fixture list a ´poisoned gift´ - Mourinho|
|Ronaldo back for ´stronger´ Portugal|
|Dembele can be next Drogba - Rodgers|
|Mourinho wanted Pogba at Chelsea, says Raiola|