Xabi Alonso celebrated his 100th appearance for Spain with both goals in the defending champions' 2-0 win over a tame French side in their Euro 2012 quarter-final in Donetsk on Saturday.
It is the first time that Spain have beaten France in a competitive match.
Alonso struck in the 19th minute after Jordi Alba had outstripped Anthony Reveillere down the left leaving the defender slumped on the ground and put in a perfect cross for the former Liverpool star to head past Hugo Lloris.
France pressed to get the equaliser and went closest through a freekick from Yohan Cabaye which Iker Casillas tipped over the bar for a corner.
The second-half saw few clearcut chances for either side though Mathieu Debuchy went close with a flashing header that just cleared the Spanish bar.
However, the fight had gone out of the French by the time Spain were awarded a penalty in the 90th minute and Alonso converted it to give the score a more realistic look based on the dominance of the Spanish.
The winners play Portugal in Wednesday's semi-final.
SPAIN 2
Alonso 19, 90+1-pen
FRANCE 0
Spain: Iker Casillas (capt) - Alvaro Arbeloa, Gerard Pique, Sergio Ramos, Jordi Alba - Xavi, Sergio Busquets, Xabi Alonso - David Silva (Pedro 65), Francesc Fabregas (Fernando Torres 67), Andres Iniesta (Santiago Cazorla 84)
France: Hugo Lloris (capt) - Anthony Reveillere, Adil Rami, Laurent Koscielny, Gael Clichy - Yohan Cabaye, Yann Mvila (Olivier Giroud 79), Florent Malouda (Samir Nasri 65) - Matthieu Debuchy (Jeremy Menez 64), Karim Benzema, Franck Ribery
Referee: Nicola Rizzoli (Italy).
Attendance: 48,000.