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'
|Mourinho has not lost his magic, insists Mikel|
|Suarez open to Ajax return|
|Young: There is more to come from Pogba|
|Digne at home in Barcelona and ready to help win trophies|
|Defoe´s finishing is ´absurd´ - Bilic|
|Stekelenburg grounded despite penalty heroics|
|Thiago Silva can be our Pirlo - Juve CEO hints at move for PSG defender|
|Koscielny calls for ´tough´ Arsenal|
|Birthday boy Wenger: Result will determine celebrations|
|MLS fines Drogba for Impact snub|
|Klopp backs Sturridge to bounce back|
|Conte: Chelsea still scarred from last season|
|Giggs: United decline was not inevitable|
|Falcao nets as brilliant Monaco hit Montpellier for six|
|Guardiola pleads patience for injury ravaged Kompany|
|No hard feelings as Mourinho focuses on Chelsea task|
|Guardiola: I don´t want City to play like Barcelona|
|Valencia fans´ Alcacer anger normal - Luis Enrique|
|Neymar: Playing for Barca is easy now|
|EPFL terminates agreement with UEFA|
|Aguero keeps Argentina spot, Messi returns|
|Donnarumma eyes Milan captaincy|
|Napoli fans banned from Juve trip|
|Mertesacker hails ´hungry´ hat-trick hero Ozil|
|Suarez says Barcelona renewal talks ´really advanced´|
|Lack of European football can aid Liverpool´s title bid - Pulis|
|European breaks do not benefit Chelsea - Conte|
|Pardew backs Leicester to ´come through´ tough start|
|Pochettino one of ´the very best´ coaches, says Howe|
|Puel backs Manchester City for Premier League title|
|Abramovich and I were not friends - Mourinho|
|It was not mutual consent, I was sacked by Chelsea - Mourinho|
|Brazil recall Douglas Costa, Marcelo and Casemiro for Argentina clash|
|Luis Enrique: If Messi is at his best, nobody knows how to stop him|
|Ramos deserves more than he earns - Perez|
|Neymar renewal proves Barcelona team spirit, says Luis Enrique|
|Bravo mistakes will be on the front page - Guardiola|
|I would sign Modric as Scholes´ successor - Giggs|
|At last! Neymar signs new Barcelona contract|
|Ronaldo injury helped Portugal to Euro 2016 success, says Abidal|
|Ronaldo injury helped Portugal to Euro 2016 success, says Abidal|
|Rummenigge blasts Premier League clubs for ´kidnapping´|
|Prandelli awed by Messi but ´dreaming big´ against Barcelona|
|Guardiola fumes at Aguero rumours after Barcelona omission|
|Conte: Mourinho deserves maximum respect|
|Moses happy for Conte chance after Mourinho struggle|
|Garcia dreaming of glory with lowly Marseille|
|Dawson back as Phelan expects Hull reaction|
|Conte declares Terry fit to face Mourinho´s United|
|Pardew: Why would I leave Palace for England?|
|Montella wants San Siro to strike fear into Juventus|
|Guardiola criticism ´political´, says Del Bosque|
|Ancelotti ready to unleash rampant Robben once more|
|Chelsea in a good position - Mourinho|
|Tuchel heartened by Reus return|
|Allegri wary of AC Milan after Inter ´whack´|
|Koeman hopes for Barkley ´wake-up call´|
|Melbourne City 2 Perth Glory 3: Keogh hat-tricks decider thriller|
|Dybala delighted to stay at Juve after rejected offer|
|Hughes eager to test Hull fragility|
|Carrasco extends Atletico contract|
|Moyes: I am under pressure - just like Guardiola|
|Wenger talks up Arsenal´s title credentials|
|Fuchs signs new Leicester contract|
|Guardiola doesn´t communicate - Benatia|
|Magical Messi from another planet, says awestruck Digne|
|Wenger pleased to see Ozil on goal trail as talks continue|
|Evra hails old rival Suarez as ´the best number 9´|
|Ranieri: I feel like a hybrid car|
|Falcao returns for Monaco|
|De Bruyne defends Guardiola tactics|
|Del Bosque: I rejected €10m offer from China|
|CONCACAF Champions League Review: Pumas, Dallas reach QFs|
|Alli like ´wild horse´ - Pochettino|
|Nani hails ´special´ Messi|
|Serious knee injury sidelines Hull´s Odubajo for six months|
|Mkhitaryan edging closer to comeback - Mourinho|
|Klopp: United game good prep for West Brom|
|Pogba praises Rooney after resounding win|
|Under-fire De Boer driven by reaching knockout stages|
|Pogba no longer Premier League´s ´worst´ player, mocks Mourinho|
|Austria Vienna spoil Totti milestone|
|Manchester United 4 Fenerbahce 1: Van Persie nets on return as Pogba stars|
|Puel rues unfortunate Inter defeat|
|Inter 1 Southampton 0: Candreva seals fortunate win for Inter|
|Buffon rules out club management after retirement|
|Mazzarri ´very happy´ about Holebas-Capoue row|
|Non-European city could host Champions League final - UEFA|
|Bradley calls for players to reconnect with fans|
|Pochettino lauds ´fantastic´ Howe|
|Frankfurt´s Russ eyeing return after tumour disease all-clear|
|Karanka insists Middlesbrough will not sit back against Arsenal|
|Atletico Madrid cannot sign players in January after FIFA deal|
|Koeman calls for greater Lukaku support|
|Suarez: Two goals at the Bernabeu were my best|
|Pochettino delivers mixed news on injury front|
|Karius has Klopp´s confidence|
|Suarez hopes to finish his career at Barcelona|
|Burnley suffer Defour injury blow|
|Marseille confirm Garcia appointment|
|No concerns for Ranieri as Vardy, Morgan and King miss training|
|Tony Pulis is Tony Pulis - Klopp not expecting surprises from West Brom|
|Garcia´s Roma contract terminated amid Marseille reports|
|Injured Pique ruled out for three weeks|
|Moyes the builder will fix Sunderland, says chief exec Bain|
|Walcott impressed by the ´new, aggressive´ Ozil|
|Bilic eyes Ayew injury boost|
|Bonaventura on Icardi saga: I´ll wait until I´ve won something before writing a book!|
|Van Persie: I may still be at Man Utd if Ferguson was in charge|
|Emery wants more from PSG despite victory|
|Muller: Bayern enjoyed PSV rout|
|Barcelona lose Alba and Pique to injury|
|Nolito: Messi made the difference|
|CONCACAF Champions League Review: Pachuca edge through, Timbers out|
|Ozil has ´taste´ for goals - Wenger|
|Renard, Morocco prepared for AFCON test|
|Guardiola: Barca loss not my worst|
|Luis Enrique hails ´decisive´ Messi|
|Pulisic, Green & Morris´ youth movement delight USMNT legend Jones|
|Clinical Barca point the way for Sterling and City|
|Sarri: Napoli making life hard for ourselves|
|That´s life for goalkeepers - Ter Stegen on Bravo woe|
|Schubert delighted with mature Gladbach display|
|Gunes not getting carried away after Besiktas upset Napoli|
|Lucas praises PSG response to stuttering start|
|Luis Enrique happy to rule in game of errors|
|Vitoria: Benfica face three more finals|