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'
|Rooney returns to United training|
|Higuain confident Juventus can win Champions League|
|Giggs the dream pro-am partner for Manchester United fanatic McIlroy|
|Kane hopes Spurs can get used to Wembley|
|Hazard: I gave everything to come back|
|Like Cantona, Ibrahimovic embraces United pressure - Giggs|
|Wenger: Perez deserves more chances|
|Wenger denies using Sanchez was risky|
|Tite: I wish Messi was born in Brazil|
|Jardim praises ´great striker´ Falcao|
|Reported Barcelona target Sampaoli offered Sevilla extension|
|´Angry´ Messi didn´t celebrate because of criticism – Bauza|
|´He is going to have to do it himself´ – Guardiola backs Aguero|
|Toure backs Sterling and Sane for the top|
|Pique: Barcelona were in deep s*** when Luis Enrique arrived|
|Thoughts of Bayern mauling stopped Wenger from enjoying Arsenal FA Cup win|
|Sutton United 0 Arsenal 2: Perez and Walcott break minnows´ stern resolve|
|Walcott brings up 100 goals for Arsenal|
|Simeone will make late Oblak call for Leverkusen clash|
|AFC Champions League Review: In-form El Arabi gives Lekhwiya dream start, Diop saves Al Ahli|
|Fabinho disagrees with Guardiola over favourites tag|
|Guardiola hails Bielsa as best in the world|
|Jardim insists Monaco will not change style for Manchester City clash|
|Clattenburg´s Premier League career not over yet|
|Dortmund could renew Tuchel deal|
|Chicharito return to form boosts Schmidt´s Leverkusen for Atletico test|
|Iniesta sees Verratti as his successor - Matuidi|
|Ramos did not make history at Sevilla like me - Alves questions Real Madrid captain|
|Vertonghen feels Tottenham deserve silverware|
|Agent denies Lucas Perez exit claims|
|Barcelona forward Neymar to stand trial after losing appeal|
|City history can´t compare to United, Liverpool – De Bruyne wants to make Champions League impressio|
|Europa League the priority for United´s Mata as EFL Cup final looms|
|Winning the FA Cup ´may not save Wenger´|
|Falcao perfect for ´killers´ Monaco - Guardiola wary of Champions League threat to Manchester City|
|Ancelotti asked to explain middle finger gesture|
|Ribery closing in on Bayern Munich return|
|Nani eager for improving Valencia to tackle Real Madrid|
|Rashford eyes Chelsea revenge after huge FA Cup draw|
|Glorious Griezmann and Aguero´s knockout drought - Champions League in Opta numbers|
|Otamendi´s agent talks up Real Madrid switch|
|He has to get used to it – Montella reacts to Bacca boos|
|Low hopes to discover Germany´s Luis Suarez|
|Mourinho unsure if Rooney will recover for EFL Cup final|
|Rami rejects talk of Marseille switch|
|Tarnat tips Manchester City´s Sane to become Germany star|
|I don´t see why he should quit - Begovic tips Terry to continue|
|PSG ´weakened´ without Ibrahimovic, claims Monaco´s Bakayoko|
|Low believes in ´locksmith´ Gotze|
|No pain, no gain for Cristiano Ronaldo|
|Barcelona have no idea how to treat players - Dani Alves slams Camp Nou board|
|Low: Germany´s youngsters must be good enough to beat Messi and Ronaldo|
|Mandorlini replaces Juric at Genoa|
|Liverpool could face ´new´ Leicester – Klopp|
|Corchia excited by Bielsa arrival but Lille future remains uncertain|
|Wenger: I threw up after first loss as coach|
|Conte wants fairytale finish for Terry|
|Iniesta: Barcelona haven´t lost faith in Luis Enrique|
|Mourinho knew Ibrahimovic would be ´massive´ for United|
|Ter Stegen doesn´t understand Barcelona fans whistling|
|´He is doing a fantastic job´ – Bartomeu backs Luis Enrique|
|Guardiola slams ´unacceptable´ Wenger treatment|
|Spalletti: Roma goal machine Dzeko now believes he´s world class|
|Emery refuses to blame referee after PSG are held|
|Montella dedicates AC Milan win to Berlusconi|
|The players don´t need whistles – Luis Enrique hits out at fans|
|Brazilian game called off due to TV dispute|
|Chelsea are already Premier League champions, says United boss Mourinho|
|Barcelona 2 Leganes 1: Late Messi penalty spares Ter Stegen´s blushes|
|Paris Saint-Germain 0 Toulouse 0: Champions spill valuable points|
|AC Milan 2 Fiorentina 1: Deulofeu strike keeps European hopes alive|
|Attitude got Man United through - Mourinho|
|Roma 4 Torino 1: Dzeko strikes again|
|Lincoln face Sutton or Arsenal in FA Cup quarter-finals, Chelsea host Man United|
|Neuer slams Jarstein after brawl|
|Blackburn Rovers 1 Manchester United 2: Substitutes Pogba and Ibrahimovic combine for late winner|
|Inter insist Perisic going nowhere, rule out move for Verratti|
|Borussia Monchengladbach 1 RB Leipzig 2: Forsberg and Werner reignite title bid|
|Training-ground meetings paid dividends - Pochettino|
|I´m trying to find a team - Berbatov open to offers|
|Inspired by Zeman´s return, Pescara hammer Genoa 5-0|
|Gabigol wants to make history after Inter breakthrough|
|Chievo 1 Napoli 3: Sarri´s men bounce back from Champions League disappoitment|
|Alfonso Perez calls for Pique to quit international football over political beliefs|
|Benatia refuses to question Allegri´s decisions|
|Fulham 0 Tottenham 3: Kane hat-trick fires Spurs into quarter-finals|
|Oblak return boosts Atletico ahead of Leverkusen trip|
|Gabigol and Inter ready to feast on success after late winner|
|Bologna 0 Inter 1: Gabigol gets belated lift-off in Serie A|
|Still no Mascherano or Arda for Barcelona|
|Bielsa appointed Lille boss from next season|
|Janssen determined to make the grade at Tottenham|
|Stones missing Kompany influence at Manchester City - Ferdinand|
|Central Coast Mariners 0 Melbourne Victory 3: Muscat´s men cruise to win|
|David Villa sent off after video replay|
|Favre not blaming Balotelli for latest red card|
|´It is my future at stake´ – Isco could leave Real Madrid|
|Smalling desperate for Ibrahimovic stay|
|´He will be here for sure´ - Mourinho rules out Shaw exit|
|Wenger not ready for retirement, wants Arsenal stay|
|Pogba will soon look cheap, claims Manchester United boss Mourinho|
|Casilla defends under-fire Navas|
|Isco ´happy and committed´ at Real Madrid – Zidane|