Spain made it through to the last 16 of the World Cup as Group H winners after a 1-0 victory over Saudi Arabia in Kaiserslautern.
Spain began in confident fashion and might have taken an early lead had Raul's header from Antonio Lopez's dangerous cross not gone wide.
The Saudis struggled to break down Spain's second string defence, while at the other end Joaquin saw a powerful shot whistle just over the bar.
But Spain did take the lead on 36 minutes when Gutierrez Juanito headed Spain home from a Jose Antonio Reyes free-kick from the left.
Mohammed Noor should have equalised seconds later but his weak strike proved an easy catch for goalkeeper Santiago Canizares, in what was his first save of the game.
And at the other end Mabrouk Zaid then stood strong to twice deny Reyes and Cesc Fabregas from close range.
Spain continued to miss clear-cut chances, with Andres Iniesta and Reyes failing to find the target from close range.
In the 53rd minute, Zaid was forced to stretch to clear Antonio Lopez's
right-footed effort.
Hussein Sulimani made a great run down the left and Canizares had to be alert to beat away his goal-bound shot.
But Sulimani should have equalised in the 68th minute but his angled strike went inches wide of Canizares' near post.