Fulham striker Aleksandar Mitrovic scored a dramatic late winner as Serbia booked their place at next year's World Cup and condemned Portugal to the play-offs.
Hosts Portugal only needed a draw to qualify and looked to have done enough, with Renato Sanches' opener cancelled out by Dusan Tadic's equaliser.
Mitrovic, who started the game on the bench, was sent on at half-time but Portugal were wise to his threat and kept him largely quiet.
However, the home side let their concentration slip in the final seconds and Mitrovic pulled away from his marker to meet Tadic's deep ball and send a downward header into the back of the net.
The goal prompted wild celebrations on the bench and on the pitch from the Serbia players and staff while the Portuguese team stood in disbelief with the home crowd silenced.

Serbia finish top of Group A with 20 points, three more than Portugal, whose hopes of playing in Qatar next year rest on two rounds of play-offs in March.
The defeat also ended Portugal's unbroken winning run in home World Cup qualifiers which had stretched back to October 2013.
It had looked like being a long night for the visitors after they fell behind inside just two minutes when Sanches finished confidently after Bernardo Silva had won possession.
But Serbia did not let their heads drop and deservedly equalised when Rui Patricio failed to keep out Tadic's shot, which crept over the line.
Cristiano Ronaldo, himself familiar with scoring late goals with Manchester United this season, was quiet and came closest with a free-kick in the first half.
Instead it was Mitrovic who provided the drama in the closing stages as his header secured a famous win for Serbia.

Latest Stories
-
Ghana to face Benin and Nigeria in WAFU B U-20 Boys’ Cup
2 minutes -
NPP is not acting contrary to the party’s constitution – Tiah Kabiru
10 minutes -
Ecobank-JoyNews Habitat Fair Mini-Clinic opens today at Achimota Mall
18 minutes -
‘Black Stars technical team have helped me a lot’ – Lawrence Agyekum
20 minutes -
Appointments Committee greenlights Justice Ackaah-Boafo’s vetting after dismissing petition
22 minutes -
KNUST Business School celebrates 20 years of excellence in business education
33 minutes -
KNUST TCC-CIMET hosts 3-day international quality management workshop for executives
46 minutes -
There will always be deviants in the fight against galamsey – Martin Kpebu
48 minutes -
‘Not qualifying for AFCON 2025 is not a failure’– Lawrence Agyekum
1 hour -
Bright W. Ladzekpo named ‘Media Leader of the Year’ at 2025 National FMCG Awards
2 hours -
The Republic of Double Standards: Why you can chop at 16 but can’t carry the chop box to marriage until 18
2 hours -
Ghana Para Athletics Association launches nationwide talent hunt to discover future champions
2 hours -
FoSCel hosts national forum on Sickle Cell at UEW: Calls for unity, awareness and policy action
3 hours -
‘I dreamt of scoring my debut goal against Nigeria’– Lawrence Agyekum
3 hours -
‘Nothing tells me we won’t qualify’ – Stephen Appiah confident in Black Stars’ World Cup chances
3 hours