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'
|Van Basten to leave Netherlands´ backroom staff for FIFA role|
|Ventura perfect for Italy - Verratti|
|Martial needs to be more consistent - Deschamps|
|Verratti not happy at PSG - Ventura|
|Ventura: I´ll probably manage Chelsea when Conte leaves|
|Bartomeu: Barca discussing new contract with Messi|
|Bauza: No doubts over Messi motivation|
|Schmeichel targets quick return after surgery|
|Giovinco to help aid earthquake victims in Italy|
|Ancelotti backs Madrid for LaLiga and Ronaldo to be top goalscorer|
|Gomes: Portugal can deal with Ronaldo absence|
|Sterling reveals Guardiola impact|
|Fiorentina deny approach for Chelsea target Alonso|
|Allardyce confirms Rooney retains England captaincy|
|Hart to join Torino – agent|
|Sanches withdrawn from Portugal squad|
|Sporting CP issue Adrien Silva clarification amid Leicester links|
|Watford confirm Okaka signing|
|Manchester City outcast Zuculini seals Rayo Vallecano loan switch|
|Dembele offers something different - Deschamps|
|Sunderland would just love to get rid of me - Lens|
|No Casillas in Spain squad represents a ´new era´, says Ramos|
|Zenit defender Criscito could return to Italy, claims agent|
|Barcelona reveal Messi hamstring injury|
|Modric named new Croatia captain|
|Napoli announce Rog signing|
|De Boer is building something at Inter - Morratti|
|Keane eyes coaching career after international retirement|
|Bravo left out of Chile squad for family reasons|
|West Brom announce Chadli signing|
|Former Dodgers owner set for Marseille purchase|
|Ferdinand: I reached out to Wenger|
|Holgate has big quality for a young player - Koeman|
|Manchester United want to keep Rojo, says agent|
|Low not concerned by captaincy as Germany bid farewell to greats|
|Aguero pulls out of Argentina squad|
|Howedes: Germany must prove themselves all over again|
|Ventura close to tears on first day of Italy training|
|Torino interested in City outcast Hart|
|Adrien Silva hoping to seal ´exceptional´ Leicester switch|
|Boufal joins Southampton from Lille for club-record fee|
|Villa outcast Lescott joins AEK Athens|
|Milner: I´m learning left-back role as fast as I can|
|Allardyce ready for Hart transfer disruption|
|´Door always open´ for Barkley - Allardyce|
|Xhaka like Petit, claims Wenger|
|Coric: I was a medical away from joining Liverpool|
|Pasalic keen to put injury troubles behind him at Milan|
|Guardiola delighted with Sterling form|
|Rooney should retire from England duty - Shearer|
|Hazard can ´decide´ the title - Ivanovic|
|Allardyce hails ´outstanding´ Antonio|
|Belgium can make history - Henry|
|Nice president: Call Balotelli and tell him we need a striker|
|Modric would like to see out career in Madrid|
|Geromel replaces Caio in Brazil squad|
|Mustafi: Ozil convinced me to join Arsenal|
|Pardew confirms ´one or two´ more signings|
|MLS Review: Kaka brace denies NYC top spot, Timbers beat Sounders|
|Mihajlovic: I won´t waste anymore breath on Maksimovic|
|Okon named Central Coast Mariners coach|
|´Special´ Rashford will get chance - Rooney|
|Injury forces Schurrle out of Germany squad|
|Burke snubs Premier League interest to join RB Leipzig|
|Guardiola: Nasri has a future at City, if he wants it|
|Klopp confident ´all will be good´ with Sturridge|
|Emery confident PSG will bounce back|
|Athletic may strengthen squad - Valverde|
|Fabregas dismisses exit rumours, committed to Conte and Chelsea|
|De Boer encouraged as Inter´s wait continues|
|Barca ´strengthened´ by Luis Enrique´s 100th win|
|Fekir to undergo knee operation|
|Monaco 3 Paris Saint-Germain 1: Ligue 1 champions suffer early loss|
|Aguero facing possible Manchester derby ban|
|Athletic Bilbao 0 Barcelona 1: Rakitic strike extends Barca´s strong start|
|West Ham´s Antonio handed first England call-up|
|Guardiola ´so optimistic´ after Man City´s perfect start|
|Inter 1 Palermo 1: Icardi gets De Boer´s men off the mark|
|Credit Guardiola for boost in form, says Sterling|
|Manchester City 3 West Ham 1: Hosts stay perfect under Guardiola|
|Cavani won´t return to Napoli - De Laurentiis|
|Pulis puts 48-hour deadline on Berahino future|
|Zaza awaits ´new adventure´ at West Ham|
|Karanka open to transfer ´surprises´ after strong Middlesbrough start|
|Dost completes Sporting move|
|Allardyce wanted N´Zonzi for England|
|World Cup could be expanded - Infantino|
|West Brom 0 Middlesbrough 0: Booed Berahino benched for dour draw|
|Gyan´s ´destiny´ in England, Sunderland return an option|
|Zidane wanted Pogba and Madrid are weaker without him - Raiola|
|Juventus end Matuidi pursuit|
|´He´s freaking amazing!´ - Balogun hails Dortmund´s Dembele|
|Thohir thrilled as Inter confirm Joao Mario signing|
|Fabinho expects Monaco stay despite Manchester United links|
|Infantino has Blatter wine cellar removed as part of FIFA reform commitment|
|West Ham seal Zaza loan|
|Joao Mario posts heartfelt thanks to Sporting after record-breaking Inter move|
|Aguero: I´m not competing with Ibrahimovic|
|Mihajlovic: Maksimovic is dead to me|
|Risdon replaces Wright for Socceroos|
|MLS Review: DC United in goal-fest, Impact stun Toronto|
|Schmeichel to undergo surgery|
|Milik revels in ´dream´ brace as he ignores Higuain shadow|
|Rossi to join Celta Vigo|
|Ayestaran: Barcelona target Alcacer unable to compete|
|Simeone: Winless Atletico must remain calm|
|Griezmann: Atletico must improve or face relegation fight|
|Sterling ´feels the love´ at City - Guardiola|
|Stones glad he did not end up at Chelsea|
|James impact earns Zidane´s praise|
|Montella bemoans AC Milan´s indiscipline|
|Leganes 0 Atletico Madrid 0: Returning Griezmann fails to inspire turgid visitors|