Cannot play media. Sorry, this media is not available in your territory.
Highlights: Russia 0-3 Spain
Spain made it three wins out of three at Euro 2008 as Greece bowed out of the tournament with defeat in Salzburg.
Defending champions Greece took the lead when Angelos Charisteas headed home a Giorgios Karagounis free-kick.
Spain levelled when Ruben De la Red thundered a shot in off the underside of the crossbar.
And the Spanish kept up their 100% record when Daniel Guiza headed in a late winner from a Sergio Garcia cross to continue Greece's misery.
Greece had looked like they might salvage some pride from a disappointing defence of their trophy, but Guiza's goal in the 88th minute means they go home pointless.
Euro 2008 quarter-final line-up
Thursday - Germany v Portugal
Friday - Croatia v Turkey
Saturday - Netherlands v Russia
Sunday - Spain v Italy
Meanwhile Spain will head into their quarter-final against Italy with high hopes of succeeding the Greeks as champions of Europe.
Spanish coach Luis Aragones was even able to give his first-team some extra rest ahead of their meeting with the world champions by leaving out 10 players.
The multiple changes ensured a fairly low-key game at the Stadion Wals-Siezenheim.
Until Greece's goal shortly before half-time, the most notable incident was the combustible Karagounis creating history by becoming the first player to receive six yellow cards at European Championships.
It was the Panathinaikos midfielder's inswinging free-kick that picked out Charisteas on the penalty spot and the big forward produced a wonderful header to beat Pepe Reina on 42 minutes.
But the other side of Karagounis emerged just before half-time when Spain's Andres Iniesta took a tumble in the box.
The Spanish players were furious with English referee Howard Webb for refusing to award them a penalty.
And although the decision looked correct, Karagounis took the brunt when he fell to the ground and had the ball drilled at his head from point-blank range.
The midfielder had to be calmed down by Webb, who was suddenly having a far sterner test than he could have imagined in what was effectively a dead rubber of a game.
Liverpool midfielder Xabi Alonso was one of the few Spanish players to make a strong case for selection in the knockout stages.
Guiza ensured a miserable ending for the Greeks
He almost caught out Antonis Nikopolidis with a shot from inside his half that just landed the wrong side of the post and led to Greece's keeper, who was playing his last game for his country, colliding with the woodwork.
The upright denied an Alonso blockbuster of a shot from 35 yards in the second half as Spain raised their tempo.
They got back on level terms when De la Red pounced on a Guiza knockdown and drilled in a shot that neither Nikopolidis nor the crossbar could keep out.
Charisteas hit the outside of the post for Greece, but Spain looked the much more likely side to go on and win it.
Guiza and Garcia both shot just wide before the pair combined for Guiza to head his first international goal from close range in the dying stages.
Spain extend their unbeaten run to 19 games and will hope to make that 22 before this tournament is over.
Spain have now equalled their record international winning streak of nine matches in a row. That record was set between 1924 and 1927 and ended by their quarter-final opponents Italy. Italy also ended Spain's last long winning streak of seven successive victories in 2004.
Spain have scored eight goals at Euro 2008 and are one of only six nations to score at least eight in the group phase of a European Championship.
Spain won all three of their group matches at Euro 2008, the seventh team to achieve this in European Championship history - Holland have done it twice - and the third at Euro 2008.
Spain came back from a goal down to win. They had only done this on one previous occasion at the European Championship, beating Yugoslavia 4-3 at Euro 2000, having been 1-0, 2-1 and 3-2 down.
Ruben de la Red and Daniel Guiza both scored their first international goals for Spain.
Greece are the only team at Euro 2008 to lose all three group matches. This feat has befallen seven other teams in the history of the competition.
Giorgios Karagounis received his sixth yellow card at the European Championship (four in 2004 and two in 2008) breaking the record he shared with Hagi, Nedved and Zambrotta.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.