Spain confirmed their place in next summer's Euro 2020 tournament thanks to a tense 1-1 draw away in Sweden.
Robert Moreno's side needed at least a draw to secure a place in the competition, with two qualifiers still to play, but they had to wait until added time at the end of the game to secure the valuable point.
In a first half, where Spain dominated, Moreno was left frustrated, as Robert Olsen made excellent saves from Fabian Ruiz and Gerard Moreno, with the Napoli midfielder also hitting the bar.
Sweden did carry a threat, with David De Gea called into action to make saves from Marcus Berg and Emil Forsberg before the break.
However, despite a strong first 45 minutes from the visitors, it was Sweden that took the lead, just three minutes after the restart.
De Gea should great reactions to deny Forsberg again, but as defender Mikael Lustig recycled the loose ball, Berg was able to nod in from close range.
The Manchester United was hurt in the melee that caused Berg's goal, with Moreno opting to bring him off for Chelsea's Kepa Arrizabalaga.
Ruiz and Real Sociedad striker Mikel Oyarzabal both tested Olsen again as the clock ticked down for Spain, but it was to be substitute Rodrigo Moreno that was to turn the game for La Roja.
The Valencia striker reacted first inside the box, as the Swedish defence failed to clear Ruiz's whipped, and his sharp close range finish confirmed Spain's place at Euro 2020.