Spain advanced to the quarterfinals of the European Championship on Monday, after substitute Jesus Navas scored a late goal in the 88th minute in a 1-0 win over Croatia.
Spain dominated much of the ball possession but failed to create many clear opportunities.
The defending champions finally broke the Croatian defense after missing several chances, when substitute Cesc Fabregas lobbed a through ball for Andres Iniesta. The Barcelona midfielder controlled the ball before flicking a short pass over to Navas, who put his shot into an empty net in the 88th minute.
Spain will take on the second-place team in Group D on Saturday in Donetsk, Ukraine.
In another Group C match, Italy also advanced after beating Ireland 2-0.
Antonio Cassano and Mario Balotelli scored in each half, and sealed a 2-0 victory over Ireland on Monday in Poznan, Poland.
Cassano netted the first goal in the 35th minute. The AC Milan forward flicked the ball past Shay Given after meeting Andrea Pirlo’s corner at the front post.
Mario Balotelli who came on as a substitute, scored the second goal in the 90th minute after Ireland was down to 10 men with Keith Andrews picking up his second yellow card.
Italy will meet the topper of Group D – with France, England and co-host Ukraine the possible opponents.