antonio cassano and mario balotelli scored to secure victory for the azzurri which, combined with spain's win in gdansk, put them in the last eight.
italy overcame the republic of ireland, and a bout of nerves, to take their place in the uefa euro 2012 quarter-finals after spain defeated croatia in group c’s other deciding match.
the azzurri knew victory was a must before kick-off, but they also had to rely on events in gdansk. antonio cassano helped cesare prandelli's side towards their part of the bargain, heading in andrea pirlo's 35th-minute corner. italian fears of a high-scoring draw in the corresponding game were allayed by a late jesús navas goal, and substitute mario balotelli hooked in a late second to make certain of the three points and, ultimately, second place in the section.
the onus was on italy, but it was ireland who started with more urgency. giovanni trapattoni had lamented the concession of early goals in both his side's losses, and the first opening fell to kevin doyle within ten seconds of kick-off, though the forward was unable to get his shot away. ireland were looking lively, again cheered on by their huge travelling support, and doyle had a header blocked as they sought a tangible return from their early adventure.
however, italy soon shook off their early hesitancy and – crucially – began to get cassano into the game. it took sean st ledger's sturdy torso to block the no10's goalbound shot before he released antonio di natale, who skipped round shay given only to see his effort from an acute angle cleared by the same ireland defender.
the goalkeeper could then only divert a speculative cassano shot round the post, and from the resulting corner, the ac milan forward glanced in pirlo's flat delivery with the ireland captain for the day, damien duff, unable to hack it clear in time from his station on the back post.
at half-time, with croatia and spain goalless, italy were going through as group winners. they also nearly doubled their lead on the resumption when some neat interplay between federico balzaretti and cassano left the latter in on goal, only for richard dunne to get across and block the shot. ireland were not done just yet, though, and their ploy of getting wide and supplying crosses always looked like it could produce something.
much like in the croatia game, italy were falling back, their cause not aided by the loss of giorgio chiellini to injury before the hour. cassano had also been replaced and the pressure built on the azzurri goal. st ledger headed over and gianluigi buffon beat away keith andrews' low drive as ireland piled forward, preying on italian nerves.
however, as news drifted through of spain's goal, italy relaxed and were seeing out the last few minutes comfortably enough, especially after andrews was dismissed for a second bookable offence. balotelli then made things certain, in poznan at least, when he converted alessandro diamanti's corner in the 90th minute. while ireland go home with three losses from their first euro appearance since 1988, unbeaten italy survive to play another day.