Iran claimed a famous 2-0 victory over 10-man Wales on Friday as Carlos Queiroz's men scored two goals deep into added time to keep their World Cup campaign alive.
The Iran players, who sang the national anthem before kick-off, sent their thousands of supporters at the Ahmad Bin Ali Stadium delirious by beating a European team at a World Cup for the first time
Wales goalkeeper Wayne Hennessey became the first player to be sent off in the Qatar tournament for clattering into Mehdi Taremi late in the game.
Iran, who had earlier twice struck the woodwork, finally broke the deadlock in the 98th minute through substitute Rouzbeh Cheshmi's powerful drive.
Ramin Rezaeian clipped in a second on the counter-attack three minutes later.
Iran, who would have been eliminated with a defeat, instead climbed to second in Group B behind England, against whom they had lost 6-2 in their opening game.
Wales tumbled to the bottom of the group and will have to defeat neighbours England in their final match next week to have any chance of reaching the knockout phase in their first World Cup since 1958.