Italy will play Spain in the Confederations Cup semi-final on Thursday, while Abel Hernandez bagged four as Uruguay will face Brazil.
Group B was completed this evening and, as expected, Spain finished top with a 100 per cent record.
Jordi Alba netted twice around a Fernando Torres header in Fortaleza to beat Nigeria 3-0. Click here for a full match report on our sister site Football-Espana.net.
As La Roja top the group, they will face the runners-up of Group A – Italy – on Thursday evening in Fortaleza.
Uruguay thrashed Tahiti 8-0 with Palermo striker Hernandez bagging four goals on the night.
It was an unexpectedly fiery encounter with Luis Suarez getting two, then Diego Perez of Bologna and Nicolas Lodeiro were also on target.
Both sides went down to 10 men, as Andres Scotti had a penalty saved and then received a second yellow card, while Teheivarii Ludivion saw red for Tahiti.
Uruguay go through to the semi-final against Brazil on Wednesday in Belo Horizonte.
Think you know your Italian football? Share your knowledge, tips and comments to win cash prizes in OLBG's tipster competition - £11,000 to be won monthly!