Portugal progressed to the World Cup knockout stages after drawing with Iran in a game full of VAR controversy.
Cristiano Ronaldo missed a penalty for Portugal and was shown a yellow card after a lengthy VAR review for a possible red card.
Iran scored a late penalty, given after another video review, and almost snatched a winner in stoppage time which would have seen them not only go through at Portugal’s expense but also top the group, with Spain held to a 2-2 draw by Morocco.
Ricardo Quaresma had put Portugal in front with a sensational goal at the end of the first half.
The late Iran penalty denied the European champions top spot in the group and means they play Uruguay in Sochi in the last 16 on Saturday, rather than Group A runners-up Russia.
What a night for VAR
VAR has been a major talking point in the 2018 World Cup but the final matches in Group B provided its most controversial night so far.
The controversy began with the awarding of Portugal’s penalty, which was eventually saved by Iran goalkeeper Ali Beiranvand, diving to his left to deny Ronaldo.
The Real Madrid striker had gone down under the challenge of Iran’s Morteza Pouraliganji and, after originally waving away appeals, Enrique Caceres rightly reversed his decision to award the spot-kick after checking VAR.
The game became heated after that decision with both sides asking for further reviews, but its next use again involved Ronaldo.
Attempting to get in front of Pouraliganji, Ronaldo appeared to catch the Iranian in the face with a flailing arm.
After a lengthy stoppage while he watched replays on the VAR pitch-side TV monitor, the referee deemed it only worthy of a yellow card.
But perhaps the most controversial decision came in second-half stoppage-time and resulted in Iran’s penalty.
Iran played a deep cross towards Sardar Azmoun and from close range his knock-down hit the outstretched arm of Portugal defender Cedric Soares, who was jumping to head the ball.
Again the referee took his time in making a decision and once again changed his original call, with his choice to ultimately award a penalty described as “shambolic” by BBC pundit Alan Shearer.
“How on earth can he think that is a penalty?” Shearer added. “If he thinks it is deliberate handball, he is crazy.
“There is no way on earth that is deliberate handball. It turns the game into an absolute farce.”