Portugal captain Cristiano Ronaldo lit up the World Cup in his own inimitable style on Friday, curling in a late free kick to complete a remarkable hat-trick and earn his team a 3-all draw in an enthralling clash with neighbours Spain.
In the day's other results, Morocco were heartbroken after a dramatic stoppage-time own goal from substitute Aziz Bouhaddouz gave Iran a dramatic 1-0 win, while Uruguay scored with a minute left in normal time to earn a 1-0 win over Egypt.
But it was Ronaldo who stole the headlines in Sochi, twice putting Portugal in front before Diego Costa replied for Spain each time.
In the best game of the tournament so far, Nacho gave Spain the lead with a stunning volley and Ronaldo then had the last word with a superb goal from a free kick.
"I'm very happy, it is a personal best (the hat-trick), one more in my career and the most important thing is to highlight what the team has done," said Ronaldo.
The 33-year-old became the fourth player to score in four World Cups after Brazil great Pele and Germany's Uwe Seeler and Miroslav Klose, a mark Australia's Tim Cahill is also trying to reach at this event.
For Spain, the result came after a traumatic week in which coach Julen Lopetegui was sacked barely 48 hours before kick-off, for negotiating a contract to take over at Real Madrid without their knowledge.
Earlier in Yekaterinburg, Egypt missed their injured star striker Mohamed Saleh as they fell to Uruguay.
Egypt came within minutes of surviving largely thanks to the heroics of goalkeeper Mohamed El-Shenawy, who bravely dived to snatch the ball from Luis Suarez' feet and flung himself through the air to tip a Edinson Cavani volley wide.
But it was Jose Gimenez tipping it in from a Carlos Sanchez free kick with a minute left that won it for Uruguay.
"Perhaps if Mo had been on the pitch today, the outcome would have been different but we can't know that," Egypt coach Hector Cuper said.
He said Saleh's injured shoulder will be healed in time for Egypt's next match against Russia on Wednesday (AEST).
And it was bitter disappointment for Morocco in St Petersburg, who now have little chance of progressing from Group B following the injury time own goal against Iran.
Iran left back Ehsan Hajsafi whipped in a free kick five minutes into added time and Morocco's Bouhaddouz launched himself at the ball, sending a header past his own keeper Munir Mohamedi.
Bouhaddouz lay inconsolable with his face in the grass after the match.
"My players are down, but we can only blame ourselves," said Morocco coach Herve Renard.
"We made mistakes in the build-up to the goal against a team that was on the back foot for most of the match and that's one of the factors that led to this crucifixion," he said.
On the other hand, Iran - who haven't won a World Cup match since 1998 - celebrated as if they had won the tournament, throwing coach Carlos Queiroz high into the air.