Spain's 24-game winning streak in qualifiers ended Tuesday night when Olivier Giroud scored in the fourth minute of second-half stoppage time, giving Spain a 1-1 tie in qualifying for the 2014 World Cup.
Sergio Ramos scored on a 25th-minute header for Spain, the defending World and European champion. Cesc Fabregas failed to convert a 43rd-minute penalty kick at Madrid, and Giroud scored off a cross from Franck Ribery after second-half substitute Juanfran Torres turned the ball over in midfield.
At Berlin, Germany wasted a four-goal lead at home in a 4-4 draw with Sweden. The hosts surged ahead as Miroslav Klose scored in the eighth and 15th minutes, and Per Mertesacker (39th) and Mesut Oezil (55th) added goals.
Germany's 13-game winning streak in qualifying ended as Sweden got goals from Zlatan Ibrahimovic in the 62nd minute, Mikael Lustig in the 64th, Johan Elmander in the 76th and Rasmus Elm in the third minute of stoppage time.
England's qualifier against Poland was postponed until Wednesday because of heavy rain in Warsaw.