Cristiano Ronaldo netted a hat-trick for Portugal to deny Spain victory in a what was a six-goal World Cup classic in Sochi.
Spain fought to come from 1-0 and 2-1 down to lead 3-2 in the Group B clash.
However, Fernando Hierro’s men were pegged back right at the end when Ronaldo fired home a trademark 88th minute free-kick to equalise, his third goal of the game.
Diego Costa had scored twice for Spain before Real Madrid defender Nacho put them ahead with a spectacular long-range effort.
There was also a howler to look back on from Manchester United keeper David de Gea but this match will go down in World Cup history for so many reasons.
This was always going to be one of the most eagerly-awaited and high profile ties of the group stages, but the drama of the last few days had elevated it to even greater importance. And it didn't disappoint.
Spain, of course, went into the match with a new manager – the ex Bolton defender Fernando Hierro, who had been asked to step up from the role of director of football to lead the team in Sochi.
He got the call after predecessor Julen Lopetegui was unceremoniously sacked on the eve of the tournament for engineering himself a new job at Real Madrid - without telling the Spanish Football Federation.
The schedule for Saturday is as follows (T&T time):
France vs. Australia - 6 am
Argentina vs. Iceland - 9 am
Peru vs. Denmark - 12 noon
Croatia vs. Nigeria 3 pm