Artem Dzyuba equalised with a penalty shortly before half-time after Spain defender Gerard Pique was punished for a handball.
MOSCOW - Stanislav Cherchesov, the coach of Russia's national team, thought for only a moment about the question - How do you feel? - before staring straight ahead and answering.
Dzyuba then smashed the ball home for the game's first shot on target and his third goal of the tournament.
That was the last meaningful action of regular time, which meant Russian Federation was extending its World Cup by at least half an hour and Spain had still not beaten a host nation at a major championship in 90 minutes.
He will forever be remembered for the most important goal in Spain's history to win the World Cup eight years ago, but Andres Iniesta's global career ended in sad fashion among delirium for the hosts in Moscow.
Iniesta, who struggled physically in recent years, converted Spain's first penalty in the shootout with what was his last ever shot at a World Cup. However, Cherchesov refused to get carried away and spoke like a man on a mission after his side booked a quarter-final clash with Croatia. "I accept the responsibility, I am the head coach".
'F***, it's hard, ' Ramos said.
The Real Madrid star did so and it was a fine delivery, but not as good as Sergey Ignashevich made it look.
The 2010 world champions controlled the game with their slick passing..
With the game tied at 1 and only five minutes remaining, Akinfeev dived low to his right to palm away a shot from Andres Iniesta that seemed destined for the corner. Dzyuba stepped up with confidence and dispatched the spot kick beyond David de Gea for an unlikely equaliser.
Rodrigo injected some pace and test Akinfeev towards the end of the first-half of extra-time but the Russians managed to hold on.
The hosts showed their intent as Cheryshev was introduced in place of Aleksandr Samedov to a great reception from the crowd inside the Luzhniki Stadium.
On the field, Igor Akinfeev, the Russian goalkeeper and hero in the penalty shootout, threw his hands in the air with glee.
Spain came close to grabbing a victor five minutes from time as a low strike from Iniesta was pushed away by Akinfeev, with the follow up shot dribbling across the face of goal with nobody on hand to apply the finish touch.