Substitute Iago Aspas scored in stoppage-time to earn Spain a dramatic draw with Morocco which gave them top spot in Group B and a place in the last 16.
Follow all the live action from the twelfth day of the world's biggest sporting event.
A look at the state of play across the board as the group stage reaches its pointy end.
Carlos Queiroz lambasts what he said is the overuse of video review to overturn debatable calls instead of being limited to only correcting obvious mistakes.
Morocco will play their final match with a chip on their shoulders,with their coach taking a few parting shots at ahead of the team's clash with Spain.
Spain will be looking for their unlikely new World Cup figurehead Diego Costa to strike again against already eliminated Morocco.
The European Champions will be heavily dependent on the talismanic forward to see them through against a stoic Iran side in their final Group B match on Monday.
Spain squeezed 1-0 past dogged Iran in their World Cup Group B encounter on Wednesday thanks to a fortuitous goal from Diego Costa.
Follow all the live action from the seventh day of the world's biggest sporting event.
A stoppage-time own goal from substitute Aziz Bouhaddouz gave Iran a dramatic 1-0 win over Morocco.
Follow all the live action from the second day of the world's biggest sporting event.