Spain coasted through to the World Cup finals in 2006 after drawing with Slovakia in their second-leg play-off. Luis Aragones' side had established a commanding 5-1 first-leg lead and Slovakia never really looked like clawing back that daunting deficit.
Five minutes into the second half Filip Holosko side-footed home to briefly give Slovakia hope of causing an upset.
But on 71 minutes substitute David Villa restored Spain's four-goal aggregate lead with a crisp shot.
Slovakia: Contofalsky, Skrtel, Durica, Gresko (Cech 77), Kratochvil, Zabavnik, Hlinka, Krajcik, Hodur (Holosko 46), Nemeth (Fodrek 83), Vittek.
Subs Not Used: Kelemen, Petras, Valachovic, Reiter.
Booked: Durica.
Goals: Holosko 50.
Spain: Casillas, Pablo, Antonio Lopez, Puyol, Salgado, Alonso, Baraja, Xavi (Sergio 74), Vicente, Raul (Morientes 65), Torres (Villa 61).
Subs Not Used: Reina, Marchena, Luis Garcia, Rivera.
Goals: Villa 70.
Agg: (2-6).
Att: 23,587.
Ref: Markus Merk (Germany).