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'
|Bertrand joins Southampton on loan|
|Van Aanholt features as Sunderland fall to defeat|
|UEFA Champions League Review: Celtic hammered in Warsaw|
|Collison stakes his claim as QPR are held|
|Newcastle youngsters edge to Wednesday win|
|Villa beaten by buoyant Chesterfield|
|Juve held by new boys Cesena|
|Late Drinkwater strike helps Leicester see off Walsall|
|Everton seal club-record Lukaku deal|
|Lazio complete De Vrij capture|
|Fabregas opens account in Chelsea win|
|AFA president Grondona dies aged 82|
|Trezeguet heading for Indian Super League|
|Premier League to introduce vanishing foam|
|Rennes bring in Bruls|
|Kehl steps down as Dortmund captain|
|Capello: I´m staying until 2018|
|Pedro saddened by Fabregas departure|
|Fernandez agrees Porto switch|
|West Ham close on Jenkinson, says Allardyce|
|Donnelly out for three months|
|Chambers: It has been a whirlwind|
|Lukaku drops Chelsea exit hint|
|Mee signs new deal at Burnley|
|Lovren denied United States visa|
|Redknapp admits Fer interest|
|No official Cuadrado bids, insists agent|
|Maguire ready to make step up|
|Rodgers: Liverpool have a strategy in transfer market|
|Ki out to prove himself at Swansea|
|Garcia plays down importance of Real scalp|
|Evian complete Bruno signing|
|Poyet frustrated by lack of new faces|
|Mexes convinced Milan are improving|
|Mazzarri praises Inter attitude|
|Ronaldo could face Manchester United - Ancelotti|
|Tevez thanks fans after father found ´safe and well´|
|Gabi braced to tackle big-spending rivals|
|Shaw: I deserved Van Gaal criticism|
|Morinigo surprised by Gedoz substitution|
|Honduras appoint Medford|
|Van Gaal delighted with United display|
|Roma battle past Real Madrid|
|Simeone talks up Hernandez transfer|
|Defensor Sporting 1 Nacional Asuncion 0 (1-2 agg): Visitors into final despite loss|
|United edge Inter on penalties|
|Gerrard: It´s been ´the worst three months of my life´|
|Sabella set to quit Argentina post|
|Toure plans to see out career with City|
|Tevez´s father released after kidnapping|
|Benitez denies Callejon spat|
|Brownhill stunner downs Burnley|
|Sunderland edge out Recreativo|
|Barton and Hoilett earn QPR draw|
|UEFA Champions League Review: Lafata treble puts Sparta in command, Slovan beat Sheriff|
|Gomis opens Swansea account at Exeter|
|Schneiderlin hints at Southampton discontent|
|Scolari makes Gremio return|
|Bojan strike in vain as Schalke beat Stoke|
|Tevez to miss friendly amid kidnap reports|
|Porto sign Jose Angel from Roma|
|UEFA Europa League Preview: Trencin v Hull City|
|Liverpool land Origi|
|UEFA Europa League Preview: Torino return to Europe after 20-year absence|
|Rodriguez and Schneiderlin not for sale, say Southampton|
|Rakitic: Not all about front three|
|Barkley pens new Everton deal|
|Guardiola relishing Chivas friendly|
|Drogba targets Premier League glory|
|Hull make Maguire and Robertson double swoop|
|Perisic blow for Wolfsburg|
|Ibrahimovic scores hat-trick as PSG hammer Kitchee|
|Al-Hilal coach sacked over referee row|
|La Liga boss wants cream of the crop|
|Valencia granted work permit, completes West Ham move|
|Atletico complete deal for Griezmann|
|Reus focused on fitness battle despite ´major European interest´|
|Barcelona announce club-record revenue|
|Bony could be sold for right price, says Jenkins|
|Confidence key for Newcastle, says Taylor|
|Saivet out for four weeks with knee injury|
|Genk part company with Ferrera after just one game of season|
|Gold clarifies Twitter gaffe|
|Vidic adapting to different style at Inter|
|Toulouse bring in Matheus|
|Butragueno backs Rodriguez to cope with pressure|
|Benteke aiming to come back stronger|
|Valdez joins Frankfurt|
|Jovetic ready to shine|
|Simeone hails Griezmann qualities|
|Monk unsure over De Guzman future|
|Benitez: Michu will take time to adjust|
|Diaby confident of staying fit|
|Shaw not fit enough, says Van Gaal|
|MLS Preview: RSL look for attacking spark|
|Monk slaps ´astronomical´ price on Bony´s head|
|Australian clubs looking at Ronaldinho|
|Sinclair enjoying ´one of the best pre-seasons´|
|Spiranovic surgery a success|
|Seattle Sounders 0 Los Angeles Galaxy 3: First-half blitz fires Californians to victory|
|Lemina thrilled with Bielsa effect|
|Bayern´s Green chomping at the bit|
|Palace complete US tour with easy win|
|Carragher: Liverpool didn´t want me|
|Simeone: Atleti´s La Liga triumph was no fluke|
|Sturridge: ´I´ll step up´|
|Van Gaal: Formation gives United flexibility|
|Mathieu insists age is no barrier|
|Martinez the deal sealer, says Besic|
|Coaches embrace blockbuster Serie A start|