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 sent their thousands of supporters at the Ahmad Bin Ali Stadium delirious as they celebrated beating a European team at a World Cup for the first time.
Wales goalkeeper Wayne Hennessey became the first player to be sent off at 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, who beat them 6-2 in their opening game.
Victory for Iran on Tuesday in their politically charged clash with the United States would take them into the knockout phase for the first time.
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 last 16 in their first World Cup since 1958.
The Americans take on England later on Friday.
The Iran players opted to sing the national anthem in contrast to their stance before the game against England, when they remained silent in an apparent gesture of solidarity with anti-government protestors.
Some Iranian fans were in tears during the anthem. (AFP)
Last-gasp Iran sink Wales at World Cup
2022-11-25 HKT 22:51
2022-11-29 HKT 05:09
2022-11-29 HKT 02:34
2022-11-28 HKT 23:41
2022-11-28 HKT 22:06
2022-11-28 HKT 05:29
2022-11-28 HKT 03:28
2022-11-27 HKT 23:32
2022-11-27 HKT 21:26
2022-11-27 HKT 09:38
2022-11-27 HKT 05:17
2022-11-27 HKT 03:18
2022-11-26 HKT 05:35
2022-11-25 HKT 07:53
2022-11-25 HKT 03:49
2022-11-24 HKT 23:47
2022-11-24 HKT 08:40