Associated Press
Spain's Fernando Torres, bottom, is congratulated by his teammate David Villa after he scored the opening goal during the group D match between Sweden and Spain in Innsbruck, Austria, Saturday, June 14, 2008, at the Euro 2008 European Soccer Championships in Austria and Switzerland.

Spain's David Villa scored in injury time to secure a 2-1 win against Sweden at soccer's European Championship, helping his team close on a quarterfinal spot.

Spain can reach the last eight later today from Group D if defending champion Greece fails to beat Russia.

Fernando Torres put Spain ahead after 15 minutes in Innsbruck, Austria, while Zlatan Ibrahimovic replied for Sweden 19 minutes later.

Spain has six points and Sweden remains on three, while Greece and Russia lost their opening games.

Spain is known as an underperformer after advancing beyond the quarterfinals only once in the past 10 editions. It won the European Championship for an only time in 1964. Sweden's best performance was reaching the semifinals in 1992.

There are four groups of four teams, with the top two from each advancing to the quarterfinals. The final will be played on June 29. Austria and Switzerland are co-hosting the tournament.