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'
|Fofana completes Bastia loan|
|Deila delighted that Gordon pledges future to Celtic|
|Grenier ruled out for four months|
|Rooney: United squad ready for title challenge|
|Messi and Neymar available for start of season|
|Szczesny seals Roma switch|
|Benitez cools Mourinho war of words|
|Filipe Luis vows to win back Atletico fans|
|Besiktas in negotiations over Gomez switch|
|Kishna seals Lazio switch|
|Diaby completes Marseille move|
|Platini is bad for FIFA - Prince Ali|
|Bilic keen to make further additions|
|Brady makes Norwich move|
|Southampton complete Caulker loan|
|Rummenigge feels Muller ´will never leave´ Bayern|
|Platini to stand in FIFA presidential election|
|Howedes to remain Schalke skipper|
|Albion sign Hull defender Chester|
|Lucescu defends Fred selection amid doping allegations|
|Fabregas still in love with Arsenal|
|Luis Enrique ´happy´ with Barca´s US trip|
|Mourinho optimistic over Cahill and Costa|
|River owe Tigres´ Esqueda - Mercado|
|Van Gaal expecting big season from Shaw|
|Begovic keen to challenge Courtois|
|Mourinho launches attack on Benitez|
|CONMEBOL ´knocked on a lot of doors´ to keep half-spot - president|
|America 0 Benfica 0 (3-4 on penalties): Primeira Liga champions finally win|
|Napoli striker Higuain ´untouchable´ - Gabbiadini|
|Arsenal´s friendly form will boost confidence - Wenger|
|Nagatomo-Melo swap possible, says agent|
|Chelsea 2 Barcelona 2 (4-2 on penalties): Courtois stars for Premier League champions|
|Eriksen calls for ruthless Spurs|
|Pulis praises Berahino attitude|
|Alderweireld confident of top-four finish|
|Villa ready for tough Spurs clash|
|West Ham edge win on Carrow Road anniversary|
|Kozak scores twice as Villa draw at Wolves|
|Stanislas brace leads Bournemouth past Yeovil|
|Watford slip to friendly defeat at Cardiff|
|Lukaku injury sours Everton win at Dundee|
|UEFA Champions League Review: Fenerbahce draw blank as Monaco impress|
|West Brom earn friendly win over Walsall|
|Vardy at the double as Leicester beat Burton|
|Atletico impress in win over Oviedo|
|Herrera sacked by Mexico after ´punch´|
|Gerrard, Keane and Bradley pull out of MLS All-Star squad|
|Marseille reach Diaby agreement|
|Sammer thrilled with Vidal´s winning mentality|
|Platini expected to launch FIFA presidency bid|
|Romanov sacked me over Barca snub - Korobochka|
|Villa complete Crespo capture|
|Wolfsberger v Borussia Dortmund: Bender praises ´fun but exhausting´ training|
|Okaka swaps Sampdoria for Anderlecht|
|Southampton v Vitesse: Fonte excited for ´dream´ sojourn into Europe|
|Bournemouth agree King compensation|
|West Ham v Astra: Kouyate confident West Ham can progress|
|Vidal completes Bayern switch, signs four-year deal|
|Fabregas calls for Champions League improvement|
|BREAKING NEWS: Filipe Luis completes Atletico return|
|Bayern to present Vidal|
|Wenger unfazed by Mourinho´s spending jibe|
|Pellegrini: Sterling will justify price tag|
|Cavani hit with two-match Uruguay ban|
|Bonucci to remain at Juve until 2020|
|No bids for Berahino - West Brom|
|Putin: Blatter deserves a Nobel prize|
|Howe: Swansea a benchmark for Bournemouth|
|New Parma to play in Serie D|
|Mata vows to hit the goal trail at United|
|Drogba ´perfect fit´ for Montreal|
|Berahino ´not yet´ ready for Tottenham - Irvine|
|Romero lauds caring Van Gaal|
|Jese flying at Real under Rafa|
|Sampdoria unwilling to pay €10m for Balotelli|
|Mourinho talks up Arsenal title chances|
|Hull sign Ryan Taylor, Sam Clucas|
|Kane, Pochettino hail MLS All-Star test|
|Di Santo sorry for swift Werder departure|
|Mourinho tells Ronaldo: Team honours come first|
|Khedira returns to Juve training|
|Celtic v Qarabag: Champions League return of utmost importance, says Collins|
|Pellegrini: Jovetic had to go|
|Manquillo completes Marseille move|
|Schalke reject Juve´s Draxler bid|
|Blanc: Di Maria deal ´close´|
|Di Santo debut ends in stalemate|
|Fire sign Drogba, trade him to Montreal Impact|
|FIFA and UEFA welcome ruling on third-party ownership|
|Juve kick off title defence against Udinese|
|Stoke sign free agent Afellay|
|Benitez confident Ramos will stay|
|Fenerbahce issue warning to fans|
|UEFA Champions League Preview: De Boer confident Ajax are ready for Vienna test|
|Bility: I am the favourite for FIFA presidency|
|Pienaar to miss start of season|
|Vietnam 1 Manchester City 8: Sterling shines as tourists run riot|
|All-Star Keane relishing Spurs clash|
|Shaun Wright-Phillips joins brother Bradley at Red Bulls|
|Inter 0 Real Madrid 3: Rodriguez stunner caps comfortable win|
|Villa sign Ayew|
|Watford complete Berghuis transfer|
|Robben returns to Bayern training|
|Pulis anxious to make West Brom additions|
|David Luiz eager to welcome ´fantastic´ Di Maria|
|Fernando injury free ahead of new campaign|
|Hummels blames weight issues for poor season|
|Defoe hoping for early Sunderland goals|
|Depay hints at identity of ´surprise´ United striker|
|Tigres UANL v River Plate: Hosts look to bounce back and make history|
|Crespo set for Villa move|
|Terry: I would never join a Premier League rival|
|Van Gaal coy on United future|
|Romero to cover potential De Gea exit - Van Gaal|
|Uruguay win men´s football gold at Pan Am Games|
|Pirlo thanks New York City fans for ´beautiful´ welcome|
|Mexico capitalised on ´the mistakes we made´ - Schafer|
|Herrera delighted with Mexico display|
|MLS Review: Whitecaps build happy home, Pirlo debuts|
|Guardado wins Golden Ball at Gold Cup|
|NZF confirms Olympics disqualification appeal|
|Jamaica 1 Mexico 3: CONCACAF giants complete form turnaround|
|New York Red Bulls 2 Benfica 1: Another scalp for MLS side|
|Romero signs with United|
|Moghreb Tetouan 1 Al Hilal Omdurman 1: Visitors go top|
|Van Gaal rules out Ronaldo bid|