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'
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|
|Uganda didn´t deserve to lose - Sredojevic|
|Lloris kept us in the game - Pochettino backs captain despite errors|
|Guardiola ´never going to give up´ on Premier League title|
|Chapecoense make emotional return to football|
|Allardyce: Players don´t want to join Palace relegation fight|
|Pulis backs Berahino to get back on track at Stoke|
|AC Milan 1 Napoli 2: Callejon settles San Siro thriller|
|Guinea-Bissau v Burkina Faso: Cande not thinking about going home|
|Egypt 1 Uganda 0: El Said to the rescue for Pharaohs|
|Gabriel Jesus delighted to make Premier League bow|
|England boss Southgate lauds record-breaker Rooney|
|Leipzig beat Frankfurt to cut Bayern´s lead|
|Guardiola blasts missed chances, not referee, after Spurs draw|
|Candid Pochettino says City were unlucky not to beat Spurs|
|AC Milan ´still negotiating´ over Deulofeu|
|Ben Arfa content with striker role at PSG|
|Walker admits to Sterling push in contentious City-Spurs draw|
|Emery hails PSG personality after tricky Nantes test|
|Manchester City 2 Tottenham 2: Controversial Son strike bails out Lloris|
|Record-breaking Rooney: Lineker, Shearer and wife Coleen lead Twitter tributes|
|Knee surgery to end Ogbonna season - Bilic|
|Karanka hits out at ´awful´ Riverside atmosphere|
|Zidane urges Madrid fans to stick with Ronaldo and Benzema|
|Palace players not to blame for last-gasp defeat, claims Allardyce|
|Zidane frustrated as Marcelo and Modric add to Madrid´s injury worries|
|Howe praises Bournemouth ´fighters´ after Watford draw|
|Poor goals a disease for Sunderland - Moyes|
|Charlton, Ferguson hail ´true great´ Rooney|
|Tuchel annoyed by ´sluggish´ Dortmund|
|Mourinho: Rooney now a Manchester United legend|
|Ghana 1 Mali 0: Gyan heads Black Stars into quarter-finals|
|Nantes 0 Paris Saint-Germain 2: Cavani at the double as champions close on Nice|
|Better at Old Trafford, prolific against Arsenal - Rooney´s record in Opta numbers|
|Rooney: Record means a hell of a lot but I´m still disappointed|
|Fener free-kick to derby delight - Rooney´s top 10 Manchester United goals|
|Rooney merits place in history, forget the present and future struggles|
|Crystal Palace 0 Everton 1: Coleman late-show extends Allardyce´s losing run|
|Real Madrid 2 Malaga 1: Ramos double gets leaders back on track|
|Stoke City 1 Manchester United 1: Record-breaking Rooney snatches draw|
|West Brom 2 Sunderland 0: Baggies inflict more misery on Moyes´ men|
|Bournemouth 2 Watford 2: Hosts come from behind twice|
|Middlesbrough 1 West Ham 3: Rejuvenated Carroll makes the difference|
|Rooney becomes Manchester United´s all-time top goalscorer|
|Werder Bremen 1 Borussia Dortmund 2: Piszczek winner denies fightback|
|Cameroon v Gabon: Hosts look to avoid early exit|
|Swansea worthy winners at Anfield - Clement|
|Rummenigge defends Guardiola: Manchester City simply not as good as Bayern|
|Swansea had perfect gameplan, says match-winner Sigurdsson|
|Klopp baffled by sloppy Liverpool|
|Henry: Arsenal don´t need Payet – they have Iwobi|
|Allegri: Juventus have not lost their quality all of a sudden|
|Liverpool 2 Swansea City 3: Llorente and Sigurdsson stun Anfield|
|Nainggolan as valuable as Pogba - Spalletti|
|Atletico criticism excites Simeone|
|Luis Enrique worried about Eibar´s pitch|
|Januzaj: Pogba wants me back at Manchester United|
|There is nobody like him – Luis Enrique rues Iniesta absence|
|Mourinho: United need De Gea and Romero to stay|
|Chiellini: Sixth successive title would make Juventus players legends|
|A-League Review: Taggart fires Perth to glory|
|Balotelli furious after alleged racial abuse at Bastia|
|Tottenham stronger than previous seasons - Eriksen|
|Wenger prepared for 17 cup finals to overhaul Chelsea|
|Maldini: Donnarumma can emulate my Milan success|
|Klopp urges Liverpool to enjoy title race|
|Shaw going through ´difficult period´ - Mourinho|
|Klopp not worried by Sturridge, Origi form|
|De Gea backs ´amazing´ Pogba|
|Pochettino: Tottenham bigger than City|
|Conte: I trust Diego Costa 100 per cent|
|Lewandowski admits he was lucky for Bayern winner|
|City as sharp as Barca and Bayern but lacking consistency, says Guardiola|
|Nice go top but struggles continue in draw with 10-man Bastia|
|AC Milan pull Deulofeu Tweet amid reports deal not yet complete|
|New Manchester City deal for Aguero but little fanfare|
|Matip gets all clear from FIFA to play for Liverpool after Cameroon row|
|Freiburg 1 Bayern Munich 2: Lewandowski to the rescue with late winner|
|Fonte completes £8million West Ham switch|
|Morocco 3 Togo 1: Renard´s men back on track with comeback victory|
|Stoke complete £12million Berahino signing|
|Egypt v Uganda: Pressure on Pharaohs to kickstart campaign|
|Aspas responds to alleged Ramos spit|
|Stoke agree Berahino deal with West Brom|
|AC Milan complete Deulofeu loan signing|
|Gerrard returns to Liverpool as academy coach|
|Ivory Coast 2 DR Congo 2: Serey Die rescues point but holders still in trouble|
|Di Maria committed to PSG amid reported CSL interest|
|Sanchez a role model - Xhaka|
|Tuchel trusts Schurrle to fill Aubameyang void|
|Ghana v Mali: Rahman injury poses a problem for Grant|
|Depay not holding Manchester United grudge|
|I love watching them - Guardiola a huge fan of Pochettino and Tottenham|
|Klopp: I could kick Mane in the... lower back|
|Conte: Ake is ready to help Chelsea´s title bid|
|Allardyce provides Evra, Van Aanholt and Jenknson updates|
|Guardiola looks beyond beleaguered Bravo for City woes|
|Begovic could leave Chelsea - Conte|
|PSG still on the hunt for striker, says Emery|
|Mourinho: Valencia the best right-back in football|
|Mourinho on Young to China talk: He hasn´t told me anything!|
|Costa wants to stay at Chelsea, reveals Conte|
|´I played worse sometimes´ - Zidane defends Ronaldo from critics|
|Injured Iniesta to miss Eibar clash|
|Mourinho open to Depay return|
|Lyon confirm Depay arrival|
|Germany to bid for Euro 2024|
|Sydney FC 2 Adelaide United 0: Two goals in three minutes extend lead|
|Depay could face Marseille as Lyon boss Genesio hails winger´s ´big motivation´|
|Hull loan Elabdellaoui from Olympiacos|
|AC Milan make final offer for Deulofeu|
|Hughes ´wouldn´t encourage´ Bojan bids|
|Worker dies at World Cup stadium in Qatar|
|West Brom sign Livermore|
|Lyon president Aulas: Depay deal imminent|
|Aubameyang: I could leave Dortmund, but I´d never join Bayern|
|´Equating Messi with anyone else is like comparing a policeman with Batman´ - Sampaoli|
|It will take years to build football culture, Wenger warns CSL|
|´Worried´ Rakitic wants Barca renewal|
|Inter not signing Messi - Moratti|
|Luis Enrique hails Barca defence after ending Anoeta curse|
|´He is made of different stuff´ - Spalletti hails Nainggolan after wondergoal|
|Tottenham´s Janssen turned down Galatasaray move, agent claims|