The Spanish have been celebrating, after beating Portugal 1-0 in the World Cup second round, knocking them out of the competition.
David Villa scored the only goal of the match, chipping the ball over Portugal's keeper after his first shot was blocked.
It was a really close match and Cristiano Ronaldo had a few good chances to score.
Right at the end of the game, Portugal's Ricardo Costa was sent off for elbowing Spain's Joan Capdevila.
Spain's win sets them up with a quarter-final clash against Paraguay.
Paraguay beat Japan in their second round match. The game was 0-0 after extra-time so it went to a penalty shoot-out.
It was the first penalty shoot-out of the competition so far. Japan's Yuichi Komano missed his kick, hitting the crossbar of the goal...
...meaning that Oscar Cardozo just had to slot his penalty away to put Paraguay into the last eight of the Cup.