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'
|Santos: Group-stage performances behind Portugal|
|Cacic: We cannot let Ronaldo show his strength|
|O´Neill hopes to blow Bale off course|
|Coleman impressed with Ramsey´s discipline|
|O´Neill fires derby passions ahead of Wales showdown|
|Coleman: Take emotion out of Northern Ireland clash|
|LFP sanctions six Nice players for flouting gambling rules|
|Hungary v Belgium: Lukaku targets last-four spot|
|Dyke hopes Brexit can help England youngsters|
|No favourites against Italy, says Koke|
|Krychowiak not thinking about PSG as Poland stand by Lewandowski|
|World Cup qualifying: Algeria, Cameroon and Nigeria drawn in same group|
|Brexit may damage Premier League´s pursuit of young European players|
|Germany v Slovakia: Weiss confident of repeat Augsburg success|
|France v Republic of Ireland: Long not on Henry revenge mission|
|Chelsea midfielder Baker extends Vitesse loan|
|Chiellini concerned over Brexit ´domino effect´|
|Staying in Euro 2016 gets Coleman´s vote|
|Nainggolan has a room with a balcony so he can smoke - Wilmots|
|Petkovic attempts Poland mind games|
|Wilmots would rather play Spain than Hungary|
|Morata deserves more than being a Madrid bargaining chip - Chiellini|
|AZ want record fee for Janssen|
|What does Brexit mean for European football?|
|I´m not tired, I feel sharp - Kane hits back at critics|
|Delighted Kiyotake hopes to prove his value|
|Premier League confident Brexit will not diminish its success|
|Neuer wary of Hamsik´s long-range shots|
|Genesio: Lyon do not have to sell|
|Morata thanks Juventus fans after Real Madrid return|
|Lapadula undergoes AC Milan medical|
|Santos: Not everything revolves around Ronaldo|
|Icelandic chihuahua prepares to chase the England rhino|
|Jakupovic signs new Hull City contract|
|Lagerback: Brexit will not affect England team|
|ES Setif disqualified from CAF Champions League|
|Gerland sees Kimmich as Lahm´s long-term successor|
|Navas ´recovering nicely´ from heel injury|
|Messi excited by future Barcelona challenges|
|Conte´s Italy like Atletico and Barcelona, says Xavi|
|Zidane the man to take Madrid forward, says Baptista|
|United States v Colombia: Hosts out to end Copa America on a high|
|Aubameyang: It´s my dream to play in Spain|
|Wenger not interested in France job|
|Ronaldo: Euro 2016 surprises end now for Portugal|
|Coke hopeful Sampaoli can exceed Emery at Sevilla|
|Maradona: Portugal too dependent on Ronaldo|
|´What a disaster´ - Messi takes aim at AFA|
|Guidetti: Nolito will thrive at City|
|Wanyama thanks Southampton fans following Spurs switch|
|Kranjcar: Rangers can push Celtic all the way|
|Euro 2016 Diary: Icelandic heaven and Rooney not feeling the love|
|Wenger respects Vardy, talks up Kante|
|Rooney wants to end ´disappointing´ tournament record for England|
|Di Maria in serious doubt for Copa America final|
|´We gave it all´, Alaba tells Austria fans|
|Euro 2016 Social Round-Up: Last 16 sides prepare for the knockout rounds|
|Osorio to stay on as Mexico manager despite Copa humbling|
|Tottenham complete Wanyama signing|
|Claridge: England are misusing Jamie Vardy|
|Marseille complete double swoop|
|Wales v Northern Ireland: Evans eager to prolong Irish dream|
|Underdog heroics justify UEFA´s bulkier Euros|
|Atletico Madrid president confirms Vrsaljko move|
|Rejecting Arsenal a ´mature´ move for Leicester star Vardy - Claridge|
|Switzerland v Poland: Seferovic targets final, Pazdan staying humble|
|Juanfran: Spain can use Atletico´s philosophy|
|´It’s always nice to finish above the English´ - Bale sticks the boot in again|
|Euro 2016´s top five moments so far: Payet cries a river as newcomers steal the show|
|Galatasaray fail in CAS appeal|
|´Nice will forever be in my heart´ - How France legend Just Fontaine kickstarted his career on the C|
|Team of the Euro 2016 group stage: Payet, Perisic join blistering Bale|
|The flop XI of the Euro 2016 group stage: Kane and Ibrahimovic join limp Lewandowski|
|O´Neill delighted with Northern Ireland draw placing|
|Germany optimistic on Boateng fitness|
|Croatia v Portugal: Cacic determined to spring another shock|
|Icelandic strongman Magnusson mocks Portugal´s Ronaldo|
|Noble expects West Ham stay for Payet|
|Petrov joins Villa for pre-season camp|
|´We always score our penalties´ - Hallgrimsson sends warning to England|
|Kalinic expects Croatia to progress|
|Rooney respect for Hodgson´s Slovakia gamble|
|Vardy stays at Leicester: Champions buoyed, but what next for Arsenal?|
|Lafferty backs Northern Ireland to go all the way|
|Elmohamady extends Hull stay|
|Hodgson demands ruthlessness from England to open up Iceland|
|´He was nearly dead six years ago´ - Coleman full of admiration for Duffy|
|Rangers seal Kranjcar deal|
|Iniesta wary of ´powerful´ Italy|
|I wanted to rest Gera - Storck|
|Gera living late career dream after waking from injury nightmare|
|Vardy to stay at Leicester after agreeing new contract|
|Morata still wanted by ´top Premier League clubs´|
|Sigurdsson warns Iceland of danger posed by golf buddy Kane|
|Pekerman furious with referee after Colombia´s Copa exit|
|Euro 2016 is wide open, says Cahill|
|Pizzi hails Chile´s ´winners´ mentality|
|Bjarnason hails team spirit among Iceland friends|
|Coentrao defends Ronaldo: ´Speak now, parrots!´|
|MLS Review: Alberg hat-trick inspires Union, RSL leave it late|
|Conte: I´m not from the moon, I know Spain are good|
|Santos wants more from Ronaldo|
|Colombia 0 Chile 2: Early goals see defending champions into Copa final|
|Martino receives Di Maria boost ahead of Copa final|
|De Gea thanks his critics for motivating him|
|Barca not contemplating Neymar exit|
|Pain before pleasure for Sigurdsson and Iceland´s heroes|
|Lavezzi remains upbeat despite Copa-ending injury|
|Smell of injustice: Swedish player cops farting red|
|Ibrahimovic ´very proud´ of Sweden career|
|Euro 2016 Diary: Germany grab the sunloungers, Benzema on the beach and life through a lens|
|´If you don´t know nothing, keep quiet´ - Deeney responds to speculation|
|Wilmots: Belgium must be more clinical|
|Vote remain and we´ll forgive you for 1966! - German newspaper wade into Brexit debate|
|Hamren: Sweden will never find another Ibrahimovic|
|Conte: Ireland got more than they deserved|
|O´Neill hails Ireland heroes|
|Hazard: Ibrahimovic not done yet|