An 85th-minute goal from substitute Alessandro del Piero rescued Italy from defeat against Mexico and secured their passage to the second round in Oita today.
Trailing 1-0 to Jared Borgetti's first-half goal for an impressive Mexican side, the Azzurri looked like they would never score after a series of missed chances.
But del Piero's close-range header from a Vincenzo Montella cross ended any danger of the Italians going the way of France and Argentina, even if Croatia's defeat against Ecuador meant they would have sneaked through anyway.
Italy, one of the best teams in the world and many pundits' tip to lift the trophy on June 30, have been made to look very ordinary by both Croatia and Mexico and registered just one win in the group stage against World Cup new boys Ecuador.
Aiming to avoid an early exit from the World Cup for the first time since 1974, Italy started with a changed line-up as coach Giovanni Trapattoni opted to play Francesco Totti in a free role in a 3-4-1-2 formation.
It was from a Totti through-ball that Filippo Inzaghi turned the ball into the net on 13 minutes but his effort was ruled out for offside.
Inzaghi turned provider after 20 minutes when he skipped past a defender's challenge and set up a glorious chance for Totti. With just goalkeeper Oscar Perez to beat, however, the Roma playmaker could only steer the ball wide of the far post.
Having subdued the Italians' opening salvos, Mexico went down the other end and scored.
Cuauhtemoc Blanco chipped the ball into the box and Borgetti outjumped Alessandro Nesta to glance the ball past Gianluigi Buffon and into the far corner for his second goal of the tournament.
It could have got worse for the Italians as Salvador Carmona flashed a volley just wide of Buffon's left-hand post and then Borgetti had a shot blocked by Nesta, who was playing despite a painful foot injury.
Inzaghi should have equalised five minutes into the second half when Totti's angled pass sent him clean through on goal but Perez stuck out a hand to push the ball to safety.
At the other end, Nesta had to clear off the line after Jesus Arellano slipped the ball under Buffon following a lovely one-two with Borgetti.
Now the Mexicans, cheered on by their noisy supporters, looked the more likely and Ramon Morales and Joahan Rodriguez were both inches wide with efforts.
After 63 minutes Italy had a second goal disallowed - to follow the two they had ruled out against Croatia - when substitute Montella lifted the ball over Perez but he was adjudged offside.
Vieri should have scored after 72 minutes but he lost control of the ball after being played in by a Totti pass and Montella was even more wasteful when he blasted over.
But all that was forgotten when del Piero nodded the equaliser to end any fears of elimination for the Azzurri.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article