Italy have qualified for the semi-finals of the Confederations Cup after triumphing 4-3 in a thriller against an impressive Japan.
Despite going behind 2-0 in the first half, Italy scored three goals in the space of 11 minutes either side of the break to move into the lead and, while Japan looked like they would win after Shinji Okazaki equalised with 21 minutes remaining, Cesare Prandelli's Italian side eventually triumphed thanks to a goal from Sebastian Giovinco.
Giovinco, who came on for a very disappointing Alberto Aquilani on the half-hour mark, provided some much-needed spark in Italy's front third and finished off a nice move in the 86th minute, tapping home after a cut-back from fellow substitute Claudio Marchisio.
Japan were unfortunate to miss out on at least a draw at Itaipava Arena Pernambuco and looked to have made it 4-4 with two minutes remaining when Maya Yoshida tapped home from close range but the central defender was correctly ruled offside.
The victory takes Italy into the semi-finals alongside Group A-rivals Brazil, who overcame Mexico 2-0 in the earlier match on Wednesday, while Japan have been eliminated from the Confederations Cup.
After a fairly timid performance in their 3-0 defeat to Brazil on Saturday, Japan started the clash in Recife at full intensity, with Shinji Kagawa at the centre of everything.
The Manchester United midfielder had a lot of joy collecting the ball on the left-hand side of midfield, too deep for Italy's right-back Christian Maggio to pick him up, and in the fifth minute Kagawa produced the first big chance for Japan.
Kagawa pushed forward down the left before cutting in on his right and picking out Ryoichi Maeda's run into the penalty area but the 31-year-old striker headed the ball straight at Italy goalkeeper Gianluigi Buffon.
In the 16th minute, Kagawa tested Buffon himself, striking from long-range and forcing the Italian captain to tip the ball away.
Japan scored the goal their play deserved five minutes later through a spot-kick from Keisuke Honda after Buffon was judged to have tripped Okazaki with his legs in the penalty area, although the two players seemed to reach the ball at the same time.
Italy were struggling to gain possession and it was 2-0 three minutes after the half-hour mark as Prandelli's side failed to clear their defence, with Giorgio Chiellini missing a header, allowing Kagawa to turn in the box and fire a volley into the bottom corner of Buffon's net.
Kagawa's goal seemed to finally spark Italy and after Andrea Pirlo curled a free-kick just over the bar, the Juventus midfielder set up his team's opening goal, putting a corner on Daniele De Rossi's head in the 41st minute.
Japan finished the half nervously and Italy could have been level at the break but Emanuele Giaccherini's shot from Mario Balotelli's knock-down struck the post just before half-time.
Luck played a big role in Italy's move into the lead in the opening seven minutes of the second half, with Giaccherini somehow keeping the ball in field before his cross was put into the net by Atsuto Uchida in the 50th minute, while Makoto Hasebe was very unfortunate to concede a penalty a minute later, after Giovinco's shot squeezed through the Japanese skipper's legs and onto his hand.
Balotelli made no mistake from the spot and suddenly Italy led 3-2.
After a terrible 15-minute period either side of half-time, Japan recovered and drew level in the 69th minute when Okazaki headed Yasuhito Endo's free-kick past Buffon.
Japan were suddenly on top again and had a couple of chances to take the lead, with Honda gliding through Italy's defence to force Buffon into a fine save, while in the 82nd minute Okazaki and Kagawa hit the woodwork within seconds of each other.
But having failed to take advantage of possession, Japan were made to pay with four minutes remaining when De Rossi found Marchisio in behind Yuto Nagatomo, who had plenty of time to square the ball to Giovinco for the decisive goal.
|5||M. De Sciglio|
|16||D. De Rossi||36' 41'|
|Coach: C. Prandelli|
for A. Aquilani 30'
for C. Maggio 59'
for E. Giaccherini 68'
|Kimmich avoids serious injury following De Jong tackle|
|Porto sign free agent Osvaldo|
|Mourinho braced for stiff challenge|
|Vidic undergoes surgery|
|Morata sidelined with torn calf|
|Gotze: Guardiola must communicate more|
|Williams rules out Swansea exit|
|UEFA Europa League Preview: Southampton, Vojvodina poised to advance|
|Mitrovic up for a battle|
|Pochettino in the market for a striker|
|Beware of Leverkusen, says Kiessling|
|CONCACAF Champions League Review: Rimando, Plata stand tall for RSL|
|Jardim: Monaco worked on defending lead|
|Deila uninterested in pitch excuses against Qarabag|
|City won´t make top four, says James|
|Clyne eyes Premier League title with Liverpool|
|Dos Santos key to Galaxy´s bid for continental dominance|
|Brazil to play Costa Rica in New Jersey|
|Ajax loss ´sad for Dutch football´ - De Boer|
|United target Bale happy at Real|
|Guardiola furious but Mihajlovic defends De Jong: ´Football isn´t dancing´|
|Champions League top priority at PSG - Di Maria|
|UEFA Champions League Review: Ajax crash out after home defeat|
|Blackpool handed suspended deduction|
|Bayern Munich 3 Milan 0: Guardiola and De Jong lock horns in tunnel|
|Akpom, Ojo and Solanke on the move|
|McClaren: No Newcastle bid for Austin|
|Real Madrid 2 Tottenham 0: Bale on target against former club|
|Mangala vows to improve on debut campaign|
|Tomlin completes Bournemouth switch|
|Astra v West Ham: Page hungry for first-team action|
|Di Maria arrives in Qatar for PSG medical|
|Vitesse v Southampton: Caulker prepared to wait for his chance|
|UEFA rejects Fenerbahce´s Fred appeal|
|Watford show support for assaulted fan as police charge six|
|Ibrahimovic to miss PSG opener|
|Klopp suited to Bayern job - Watzke|
|Eredivisie season-opener postponed due to police strike|
|Dortmund v Wolfsberger: Tuchel set for home bow|
|Griezmann at the double in Atletico win|
|Japan v South Korea: Halilhodzic calls for ´pride´|
|Mourinho enjoying improved relationship with Abramovich|
|Gradel agrees Bournemouth return|
|Inter switch an ´easy decision´ for Miranda|
|Bojan eyes early comeback|
|Vitesse hopeful over Solanke loan deal|
|Pedro will decide his own future - Luis Enrique|
|Iniesta handed Barcelona armband|
|Kukesi punished after Europa League abandonment|
|Leno hints at Leverkusen exit|
|Benitez explains Ronaldo absence|
|Pochettino backs Kane to be among world´s best|
|Messi not ruled out of Mexico friendly - Martino|
|China v North Korea: Kim´s side look for another win|
|River Plate v Tigres UANL: Copa Libertadores final evenly poised|
|Real target Ceballos focused on Betis - Mel|
|Torres: I´d give my life to win La Liga with Atletico|
|Platini can lead FIFA change - Fernandez|
|Mel: Betis won´t be signing Osvaldo|
|Ferrero defends Samp boss Zenga|
|Pochettino expects Spurs improvement|
|Bale ideal for United - Robson|
|Ferdinand: Di Maria will regret United failure|
|Benitez pleased with goalkeepers as De Gea transfer saga continues|
|Guardiola tips fit Schweinsteiger to shine|
|Confident Oxlade-Chamberlain hits back at Keane|
|Ferdinand: Stones would be ´a lunatic´ to join Chelsea|
|Qarabag v Celtic: Gordon wants positivity from Scottish champions|
|Higuain rejects extension from Napoli|
|Zamora returns to Brighton|
|West Ham can cope without Valencia - Gold|
|Wickham loses on Palace debut|
|Guardiola: No problem with Matthaus and Effenberg comments|
|Cartabia excited by Deportivo loan|
|Lyon confirm Rafael deal|
|Hysaj agrees deal to follow Sarri to Napoli|
|Rafael says his goodbyes to Manchester United|
|Dos Santos ready to get going with Galaxy|
|Pochettino rejects Soldado exit talk|
|Metatarsal misery for Mulumbu|
|Benitez: Benzema and Bale going nowhere|
|Mihajlovic: Ibrahimovic would make Milan title contenders|
|Hughes not taking any risks with Bojan|
|Guardiola relishing Audi Cup test|
|Di Maria ´taking a step up´ - Silva|
|Leicester bring in defender Benalouane|
|Deulofeu doubtful for Premier League opener|
|West Ham striker Valencia out for three months|
|UEFA: Qarabag-Celtic to go ahead|
|Palace seal Wickham swoop|
|Ronaldo and Benzema to miss Audi Cup|
|Marotta: Juventus could lose Pogba|
|Kante completes Leicester switch|
|Khedira ruled out for two months|
|FA accepts Mourinho criticism of Wembley surface|
|Robben rubbishes injury talk|
|Marchisio expects Milan title challenge|
|Rafael set for Lyon move|
|Celtic ´seeking reassurances´ over Qarabag pitch|
|Wenger beating Mourinho does not affect Chelsea - Zouma|
|Rooney moved by Everton welcome|
|Mancini not worried by lack of Inter goals|
|Coloccini wants to finish career at Newcastle - McClaren|
|Ramsey: Pressure to win trophies is nothing new|
|Terry: Wembley defeat could be a ´blessing in disguise´|
|Blatter not running for IOC re-election|
|Bendtner: Wolfsburg can challenge Bayern for Bundesliga honours|
|Liverpool relishing Britannia return, says Henderson|
|Everton big enough to keep Stones - Martinez|
|MLS Review: Fire stun Dallas as goals dry up|
|New Atletico signings excite Raul Garcia|
|Cahill expects Arsenal title challenge|
|Jovetic happy with Inter debut|
|Luis Enrique: Barca defence must improve|
|Yanev calls for calm after ugly scenes in friendly|
|Coppa Italia Review: Cittadella romp to victory, Brescia rely on penalties|