Arsenal striker Olivier Giroud grabbed a last minute header to earn France a 1-1 draw with Spain in Madrid in Tuesday night's Group I World Cup qualifier.
Sergio Ramos gave Spain a first half lead that the world and European champions never looked like defending in an uncustomary nervy second-half performance.
In a game of few chances Hugo Lloris saved a first-half penalty from Cesc Fabregas to keep the French in the game.
The draw brings to an end Spain's incredible run of 24 consecutive wins in qualifying matches that stretches back to 2007, and puts both sides level at the top of the group on seven points, three ahead of Georgia.
Tuesday 16 October
Russia 1-0 Azerbaijan
Belarus 2-0 Georgia
Israel 3-0 Luxembourg
Andorra 0-1 Estonia
Latvia 2-0 Liechtenstein
B-H'govina 3-0 Lithuania
Croatia 2-0 Wales
Cyprus 1-3 Norway
Czech Republic 0-0 Bulgaria
Faroe Islands 1-4 Ireland
Romania 1-4 Netherlands
Ukraine 0-1 Montenegro
Austria 4-0 Kazakhstan
Hungary 3-1 Turkey
Iceland 0-2 Switzerland
Macedonia 1-0 Serbia
San Marino 0-2 Moldova
Slovakia 0-1 Greece
Albania 1-0 Slovenia
Belgium 2-0 Scotland
Germany 4-4 Sweden
Italy 3-1 Denmark
Poland v England pp
Spain 1-1 France
Portugal 1-1 NI
Spain had never lost in nine previous international matches in Atletico Madrid's Vicente Calderon stadium, but they were made to fight until the very last minute and it was almost inevitable when Franck Ribery found space on the left to cross for Giroud to level.
Coach Vicente del Bosque started without a recognised forward, with Fabregas playing in the 'false nine' role, a tactic employed since Spain successfully defended their European title in June.
The game started at a slow pace with the visitors content to concede the ball to the Spanish who in turn favoured their possession game to any incisive attacking play.
For France, Karim Benzema and Jeremy Menez were full of early running and the home side suffered an early setback when David Silva limped off after what looked to be an innocuous challenge to be replaced on 12 minutes by Arsenal's Santi Cazorla.
The substitute made an immediate impression with the first shot of the evening two minutes later that was comfortably saved by the French captain Lloris.
Spain continued to dominate the opening period and won a succession of corners without punishing their opponents until the 25th minute when Ramos was given time and space to head against the right-hand post.
The Real Madrid defender appeared to despair at his near miss before composing himself to finish coolly a moment later when Pedro Rodriguez delivered a pass directly back into the goalmouth that Lloris failed to clear.
In the 35th minute Benzema raced onto a Franck Ribery cross and forced Iker Casillas in Spain's goal into his first action of the evening.
Pedro then swept a ball out wide to Arbeloa who crossed from the right and when it fell back to Pedro in a more advanced position he was felled by Arsenal defender Laurent Koscielny and the German referee Felix Brych had no hesitation to point to the spot.
However Lloris second guessed Fabregas to save well to his left and he was the hero again two minutes later when he made a double save from Pedro and then Fabregas.
Somehow the French escaped to the dressing room only a single goal in arrears.
Spain were forced into another change early in the second period when Alvaro Arbeloa was replaced by Juanfran.
France saw their chance and looked for a way back into the game.
Ribery went close with a long range effort before Benzema was dispossessed with a timely interception by Sergi Busquets as he bore down on goal.
At the other end Xavi Hernandez was slow to react in the area when put clear by Pedro then Ribery caused havoc in the Spanish defence with a whipped cross that Casillas pawed clear.
Next it was Benzema who went clear on the left but no Frenchman could get on the end of his cross and when Xavi lost the ball with an unusually weak pass a quick French break saw substitute Moussa Sissokho volley over a Benzema cross.
Del Bosque had seen enough and shuffled his pack to give Fernando Torres the final 15 minutes on his first return back to the stadium where he began his career.
The world champions however continued to give an edgy performance, giving away possession on countless occasions and it was no surprise when the equaliser came with virtually the last touch of the game.