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.
|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|
|I almost scored as many as Messi - Tagliafico the unlikely hero for Ajax|
|Ronaldo deserves Ballon d´Or not Modric, says Casemiro|
|United fan Rafael - I´ve never lost at City|
|Davis explains abrupt mid-game NFL retirement: ´Football is not for me´|
|Lopes pays tribute to under-fire Lyon coach Genesio|
|Toulon´s Bastareaud handed five-week ban|
|Steelers WR Brown disciplined for missing meeting|
|Arteta refuses to make excuses for Manchester City´s Lyon loss|
|Allegri calls for VAR after Ronaldo´s contentious red card|
|Championship Review: Boro go second, Birmingham still winless|
|Lopetegui: Mariano took his chance|
|Juventus proved their quality after Ronaldo red card - Bonucci|
|Pogba ´class´ impresses Mourinho|
|Man City not Champions League favourites, insists Bernardo Silva|
|Isco calls for Modric to win Ballon d´Or after Champions League win|
|Wawrinka into last eight in St Petersburg|
|Goal hero Pogba is one of the best in the world - Shaw|
|Sane SOS can´t salvage sorry City display|
|Hoffenheim will learn lessons from Shakhtar draw, insists Nagelsmann|
|Valencia 0 Juventus 2: Pjanic hits the spot after Ronaldo sees red|
|Viktoria Plzen 2 CSKA Moscow 2: Krmencik heroics undone by late show|
|Benfica 0 Bayern Munich 2: Sanches returns to haunt his former club|
|Young Boys 0 Manchester United 3: Pogba double inspires Red Devils|
|Manchester City 1 Lyon 2: Cornet and Fekir stun Champions League favourites at home|
|Real Madrid 3 Roma 0: Isco stunner sets up winning start for Champions League holders|
|Ronaldo sent off on Champions League debut for Juve and may miss United reunion|
|Shakhtar Donetsk 2 Hoffenheim 2: Maycon denies Nagelsmann´s side|
|Ajax 3 AEK Athens 0: Tagliafico at the double in opening win|
|Dalot makes debut, Martial starts for Manchester United|
|India avenge ICC Champions Trophy loss with big win over Pakistan|
|Ronaldo makes Champions League debut for Juve|
|Lopetegui picks Navas over Courtois for Champions League clash with Roma|
|Willian very happy under Sarri after Conte row|
|Sarri deals blow to Chelsea kids´ Europa League hopes|
|Mendy out for Manchester City as Aguero makes bench|
|Cech accepts performances key to securing Arsenal stay|
|Monchi rules out Spain return amid Barcelona rumours|
|Durham skittled for 61 and 66 on the same day|
|Kane isn´t a machine – Lamela defends misfiring Spurs star|
|Hazard left out of Chelsea squad for PAOK trip|
|Tiger feels close to ending drought after achieving Tour Championship goal|
|Leno in line for Arsenal chance in Europa League|
|Gazidis leaves Arsenal in good shape, insists Emery|
|Eagles bring back WR Matthews, place Wallace on IR|
|England include Stokes, Hales and uncapped seamer Stone in ODI squad|