It was a night of jubilation in Morocco, but anger in Senegal after the decision to strip the Senegalese national side of their continental football title and hand it to their North African rivals.
Two months after the final whistle blew at a contentious and acrimonious final in Rabat, news came through late on Tuesday evening that tournament hosts Morocco were in fact the winners of the Africa Cup of Nations.
The Confederation of African Football (Caf) had ruled that Senegal had broken the rules by leaving the pitch in protest at a refereeing decision. The match later resumed and Senegal won 1-0 but Caf said that the walkout meant they had forfeited the game.
Moroccans took to the streets to celebrate and local media have shown videos of happy fans driving through Tangier waving the national flag, banging tambourines and honking their horns.
Other pictures show triumphant supporters letting off flares.
Speaking to BBC Newsday Moroccan journalist Jalal Bounour said that it was a sleepless night as fans welcomed the news with great excitement and joy.
There was an overwhelming sense that justice had been done after what Moroccans saw as a violation of the rules.
His views echoed the official response from the Senegalese government which said it would appeal against the decision to take the title away from the national side, adding that the ruling undermined Caf's credibility.
Authorities have called for an independent international investigation into suspected corruption within Caf's governing bodies.
Fans in Senegal expressed their shock over the decision, describing it as a loss of integrity for football.