Salem Al Dawsari scored with the last kick of the game as Saudi Arabia ended their World Cup campaign with a consolation 2-1 win over Egypt in Group A.
Al Dawsari's goal means that Saudi Arabia finish third in the pool on three points, while Egypt return home without a point to show for their efforts.
Essam El Hadary had earlier looked like claiming the spotlight after becoming the oldest player to ever play in the World Cup at the age of 45 years and 161 days and saving a first-half penalty from Fahad Al Muwallad.
No sooner had the veteran goalkeeper finished celebrating and he was facing another spot-kick, this time given after the lightest of shirt tugs by Ali Gabr on Al Muwallad.
Referee Wilmar Roldan was encouraged to review the decision by VAR, but the Colombian stood by his initial call giving Salam Al Faraj the chance - after a three-minute delay - to drill past El Hadary and pull his side level deep into first-half stoppage time.
Mohamed Salah - whose international future has been the subject of intense speculation this week - had earlier opened the scoring for Egypt with a fine finish, but Hector Cuper's men finished empty handed thanks to Al Dawsari's last-gasp effort.
After a largely anonymous opening 22 minutes, Salah produced a moment of quality that has been his hallmark for the past 12 months.
The winger took Abdallah El Said's long ball in his stride and then seamlessly sent a deft lob over the onrushing Yasser Al-Mosailem with his second touch.
Salah squandered an easier chance to score after breaking Saudi Arabia's questionable offside trap, lacking his earlier composure and clipping an effort wide of the right-hand post.
More haphazard defending from Saudi Arabia gave Trezeguet two quick-fire chances before the break, but both times his whipped shots bent just wide.
Saudi Arabia had offered nothing in the way of attacking threat, but were given a chance of an unlikely leveller five minutes before the interval when Fathy was adjudged to have deliberately handled Yasir Al Shahrani's cross inside the area.
El Hadary produced a stunning save to deny Al Muwallad, but his celebrations were cut short when a second penalty was awarded for Gabr's tug on Al Muwallad's shirt.
4 - Essam El Hadary has become the 4th goalkeeper to save a penalty on his World Cup debut since 1966:— OptaJean (@OptaJean) June 25, 2018
El Hadary v Saudi Arabia in 2018
Halldorsson v Argentina in 2018
Meola v Czechoslovakia in 1990
Quiroga v Scotland in 1978
Al Faraj stepped up this time to fire past the veteran goalkeeper and draw his side level.
After such a dramatic ending to the first half, it was hardly surprising that the second period started in more muted fashion.
Trezeguet planted a header narrowly wide just before the hour, while El Hadary did well to keep out efforts from Hussain Al-Mogahwi and Mohannad Aseri in quick succession.
Saudi Arabia substitute Kahraba fired straight at Al-Mosailem late on as the game appeared to be petering out to an uninspiring draw, but Al Dawsari ensured his side's campaign finished on a high with a cool right-footed volley past El Hadary in the closing stages.
Key Opta Facts:
- Saudi Arabia ended a run of 12 World Cup matches without winning (D2 L10), recording their first victory since June 1994 when they won 1-0 against Belgium.
- This was Egypt's seventh match at the World Cup without winning (D2 L5) – only Honduras have played more times at the World Cup without recording a win (9).
- Egypt goalkeeper Essam El Hadary, at the age of 45 years and 161 days, is the oldest player in the history of the World Cup, breaking the record set by Colombia’s Faryd Mondragon in 2014 (43y 3d).
- Mohamed Salah became the first African player to score in his first two appearances at the World Cup, scoring against Russia and Saudi Arabia.
- Salman Al Faraj's penalty goal for Saudi Arabia, scored after 50 minutes and 36 seconds, was the latest goal scored in the first half of a World Cup game since 1966.
- Saudi Arabia midfielder Abdullah Otayf completed 110 passes in this match, the most by an Asian player in a World Cup match since 1966.
|Tour Championship would enhance successful year, says Tiger|
|Pogba: Man United getting better after winning run|
|What bothers me is that he has time to even do that – LeBron responds to Trump tweet|
|Cowboys most valuable NFL team for 12th successive year|
|Mkhitaryan aiming for glory with Europa specialist Emery|
|Sarri: Pedro´s injury is not too serious|
|This Week in U.S. Sports: Drama in Minnesota, a Judge returns and tragedy in Iowa|
|Tottenham will overcome rough patch – Lamela|
|Torreira impresses for Arsenal but leaves with knock|
|Gattuso urges Higuain to be less predictable with his movement|
|Steelers´ Brown: ´Obviously I don´t want to be traded´|
|Woods, Fowler share Tour Championship lead|
|LeBron James backs Serena Williams after US Open controversy|
|Thiem into St Petersburg quarters, but retiring Youzhny bows out|
|Wigan clinch home semi-final with win over Huddersfield|
|Can apologises following sexism accusations|
|De Bruyne expects to be back for Manchester derby|
|Celtic 1 Rosenborg 0: Griffiths late show lifts Hoops|
|Woods eagles 18 to make 65 at Tour Championship|
|Arsenal 4 Vorskla 2: Aubameyang at the double in entertaining triumph|
|Dudelange 0 AC Milan 1: Deflected Higuain goal spares Gattuso´s blushes|
|Birthday boy Rashid inspires Afghanistan to Asia Cup win|
|Sarri feeling sorry for ´unlucky´ Morata|
|Ryder Cup pick Garcia shoots 66 at Portugal Masters|
|Ronaldo, Zidane, Cantona and the most infamous red cards|
|Villarreal 2 Rangers 2: Arfield and Lafferty steal point for Gerrard´s men|
|PAOK 0 Chelsea 1: Willian strikes as Morata misfires|
|Rain delays Ostapenko in Seoul, Wang books Guangzhou semi|
|Pochettino backs Kane to end goal drought|
|We figured it out - 76ers´ Markelle Fultz rebuilds jump shot|
|Joshua: Povetkin my second-toughest fight|
|Relaxed Pochettino not pushing panic button|
|Why Manchester City fans must fix their relationship with the Champions League|
|Majestic Giorgi ends Wozniacki´s reign in Tokyo|
|Pochettino unwilling to risk Alli fitness|
|Bigger Champions League tests to come, warns Pogba|
|Eight for 10! - Nadeem spins his way to world-record figures|
|A 4-1 lead cut to 3-2 by VAR, but Quakes have no complaints after Atlanta defeat|
|UEFA opens disciplinary proceedings against Ronaldo|
|Joshua v Povetkin: Recapping AJ´s previous world title defences|
|Players told to ink twice over showing tattoos at Rugby World Cup in Japan|
|Mariano targeting Spain call-up after goalscoring Madrid return|
|Pandya, Axar and Thakur out of Asia Cup|
|England omit Cipriani, Tuilagi and Ashton called up|
|Can reacts to Ronaldo´s red card: We are not women|
|One Year to Go: Five Rugby World Cup debutants set to shine|
|Shy Osaka not comfortable with new-found fame|
|Belgium and World Cup winners France make FIFA rankings history|
|Ronaldo wanted to impress - Bernardeschi sympathises after Juve superstar´s red|
|Van Dijk warns Liverpool: Believe we can win trophies or stay home|
|Menezes complains of anti-Brazilian conspiracy after Dede´s VAR red|
|Diamondbacks rout Cubs to remain in postseason picture|
|Modric embraces Ballon d´Or chants as Di Francesco backs Madrid star for award|
|MLS Review: Martinez helps Atlanta stage comeback amid VAR controversy|
|Kerevi recommits to Wallabies, Reds|
|Lyon to ban fan for life after footage of Nazi salute emerges|
|Milan must respect opponents – Gattuso not underestimating Dudelange|
|Copa Libertadores Review: Zarate leads Boca, River draw|
|Mourinho: Dalot can play at Man United for more than 10 years|
|Johnson hoping to erase East Lake demons|
|´No question´ Fitzgerald faces Bears, says Cardinals´ Wilks|
|Rodgers says roughing the passer penalties are ´going the wrong direction´|
|Ravens fined $200,000 for violating communication policy|
|LeBron James set to star in ´Space Jam´ sequel|
|Ronaldo red card ´absurd´, says Pjanic|
|Kovac hails ´special´ Sanches after Bayern goal|
|Marcelino: Tearful Ronaldo said he did nothing wrong|
|Fernandinho takes blame for Man City´s Lyon loss|
|Lovren denies any wrongdoing after perjury charge|
|Plzen boss Vrba slams late mistakes|