Incredible outcome at the Luz Stadium in Lisbon.
Qualified until the last second by holding the point of the draw against Serbia, Portugal cracked in stoppage time and let slip the direct qualification for the World Cup to their evening opponents on a goal from Mitrovic.
To qualify, the Portuguese will have to win in March during perilous dams.
For their part, Spain also suffered on Sunday night but finally won against Sweden thanks to a late goal from Dani Olmo.
Enough to see Qatar.
Earlier in the day, the Croatian vice-world champions waited for the 80th minute and a goal against their side of the Russians to validate their ticket (1-0).
These three nations join the six countries already qualified: Qatar, as host country, Germany, Denmark, France and Belgium in the European qualifiers and Brazil for South America.
In Europe, the last three direct qualifiers will be known between today and tomorrow evening.
Italy, England and the Netherlands are in a good position to win them, provided they do not falter in this last game.
If this were the case, these countries could find during the dams, next March, the three beaten Swedish and Russian and therefore Portuguese.