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'
|Martial never the same again - Mangala|
|Copa del Rey Review: Racing fall at the first|
|Shelvey dismisses talk of England snub|
|Galatasaray unable to play Grosskreutz|
|Faroe Islands v Northern Ireland: O´Neill preaches patience ahead of Euro double-header|
|Levy slams ´wholly inappropriate´ West Brom after Berahino chase|
|Panama v Uruguay: Visitors without Suarez and Cavani|
|Captaincy won´t change me - Robben|
|Liverpool sign Brazilian youngster Allan|
|PFA expects swift Berahino resolution|
|Argentina v Bolivia: Mascherano backs ´very special´ Messi|
|´I do not know if I´m worth €80million´ - Martial shocked at price-tag|
|Afellay suspension reduced|
|Noble red card rescinded|
|Portugal v France: Deschamps aiming to correct mistakes|
|Bahebeck given the all clear|
|Germany v Poland: Muller out to settle the score|
|Gibraltar v Republic of Ireland: Keane counting on McCarthy and Walters|
|Georgia v Scotland: Tbilisi trip has must-win feel for Robertson|
|Juve still the team to beat - Hernanes|
|De Gea will remain professional, says team-mate Mata|
|Berahino given extra time off following strike tweet|
|´No excuses´ as Costa seeks to kick-start season|
|I´m not like Messi or Ronaldo – Hazard|
|United States v Peru: Klinsmann out to ´prove a point´|
|Martinez unsure when Cleverley will return|
|France set for Russia friendly ahead of Euros|
|Former Manchester United forward Berbatov joins PAOK|
|De Gea must play to earn Euro 2016 spot – Del Bosque|
|Cahill thrilled to lead Socceroos|
|Wijnaldum urges patience with new-look Newcastle|
|Reid praises Stones´ professionalism|
|Mexico v Trinidad and Tobago: Islanders hoping to build on Gold Cup display|
|Choosing Brazil over Spain was easiest decision, says Rafinha|
|Galliani hails ´changed´ Balotelli|
|OFC World Cup Qualifying Review: American Samoa notch second competitive win|
|Canada v Belize: Hosts look to stay calm|
|Carragher surprised by ´big´ Martial price|
|No pressure on Rodgers - Rush|
|No Benzema, no Cavani - Arsenal ´can´t compete´ says Sol Campbell|
|FFA muzzle Postecoglou after pay dispute criticism|
|Celtic complete Simunovic signing|
|Joaquin: I´m as happy as a little boy|
|Navas given time off by Costa Rica|
|Martial unfazed by prospect of United pressure|
|Ramos urges De Gea to overcome transfer woe|
|Premier League spending hits £1bn in 2015|
|Italy v Malta: Conte calls for focus|
|De Laurentiis reveals failed Juve bid for Hamsik|
|Schweinsteiger: Manchester not as bad as everybody thinks|
|Galatasaray finalise Grosskreutz deal|
|Ilori agrees season-long loan with Villa|
|Wolfsburg want to ´annoy´ Bayern - Dante|
|Norwich bring in Jarvis on loan|
|Everton sign Lennon on permanent deal|
|United put blame back on Real Madrid over De Gea|
|Premier League Deadline Day: Berahino on strike, United make Martial number nine|
|Peace: West Brom must repair damage caused by Tottenham´s Berahino pursuit|
|Dyer secures loan switch to Leicester|
|Walters mocks deadline-day culture|
|Derby complete Johnson deal|
|Hector signed by Chelsea and loaned back to Reading|
|Watford secure Ibarbo loan|
|United´s Martial offer too good to reject - Monaco chief|
|No regrets over failed Juve move - Draxler|
|Guedioura returns to Watford|
|Berahino tweet casts doubt on West Brom future|
|Yedlin loaned to Sunderland|
|United complete Martial swoop|
|Strootman undergoes surgery again|
|FIFA set to clarify proposed Grosskreutz deal|
|Watford bolster strikeforce with Oulare|
|Belgium v Bosnia-Herzegovina: Time running out for visitors|
|Antonio makes West Ham move|
|I want to feel important at Leverkusen - Hernandez|
|Villa seal deadline-day swoop for Lescott|
|Austin to stay at QPR|
|Everton´s Gibson given driving ban|
|David de Gea: Timeline of Manchester United goalkeeper´s failed Real Madrid move|
|Southampton complete Van Dijk swoop|
|Bournemouth complete Murray deal|
|Real take aim at United over failed De Gea move|
|Premier League Deadline Day: West Ham bring in three, De Gea set for United stay|
|Reports: Real Madrid will not appeal De Gea transfer collapse|
|FIFA quiet on ´confidential´ De Gea paperwork|
|Chelsea sign Nantes defender Djilobodji|
|West Ham land Jelavic|
|Anthony who? Rooney had to ask who Martial was, says Schneiderlin|
|Moses joins West Ham on loan|
|Netherlands v Iceland: Blind era begins in Amsterdam|
|Deportivo snap up Gutierrez|
|Newcastle´s Kemen returns to France|
|Everton wrap up Funes Mori deal|
|Cyprus v Wales: Difficult to overestimate Bale contribution, says Davies|
|Blaszczykowski ´never considered´ Schalke move|
|Di Maria opens up about Van Gaal ´rows´|
|West Ham seal Song loan|
|Australia v Bangladesh: Luongo excited by Rogic partnership|
|Maturity, fitness vital for Shelvey|
|South Korea v Laos: Hwaseong hosts hunting goals|
|Japan v Cambodia: Hosts out to arrest four-match slump|
|Troisi joins Saudi giants Al-Ittihad|
|Casemiro lauds Benitez after re-signing|
|Rojo wants United stay|
|Milan tried for Witsel - Galliani|
|Conte eyes two Italy wins|
|Ligue 1 Deadline Day: Marseille sign three amid Martial saga|
|La Liga Deadline Day: Uncertainty over De Gea future, Joaquin back at Betis|
|Serie A Deadline Day: Juve and Inter busy as window closes|
|Layun swaps Watford for Porto|
|Joaquin makes Betis return alongside Van Wolfswinkel|
|Coventry City 2 Southend United 2: Ricketts salvages point for hosts|
|Real face anxious wait over De Gea as window shuts|
|Milan loan Mastour to Malaga|