Algeria won the Africa Cup of Nations for the second time as a freak early goal secured a 1-0 win against Senegal in the final in Cairo.
Baghdad Bounedjah’s shot took a huge deflection off Salif Sane and looped over goalkeeper Alfred Gomes.
Senegal, who have never won the competition, were awarded a penalty for handball in the second half but it was overturned after a VAR review.
Algeria closed out the rest of the game to win their first title since 1990.
Senegal’s players collapsed on the pitch in tears at the final whistle.
Liverpool forward Sadio Mane, who said before the game he would swap his Champions League winners medal for Africa Cup of Nations success, looked disconsolate as Algeria players celebrated around him.
“Without the players I am nothing,” said Algeria boss Djamel Belmadi. “They are the main ones. I suppose the staff played its part in guiding the players but they applied the instructions incredibly well.”
Senegal, making only their second appearance in the final since 2002, dominated for large periods but struggled to make the most of their possession.
M’Baye Niang was at the centre of two of their best chances as he flashed a fierce drive over the bar just before the break, and rounded keeper Rais M’bolhi early in the second half only to shoot wide from a tight angle.
M’Bolhi also did well to palm over a stinging effort from Youssouf Sabaly.
The decisive moment for Senegal was the reversal of the decision to award a penalty on the hour mark.
Ismaila Sarr’s cross was blasted straight at Adlene Guedioura’s arm, referee Neant Alioum pointed to the spot, but, just as the Senegal players started celebrating the decision, he quickly indicated that a VAR review was under way.
After watching the replays on the pitch-side monitor, which clearly showed Guedioura’s arm being by his side, Alioum reversed the decision.
Although the decision was correct, the result was harsh on Senegal, with Algeria managing only one shot on goal.
Premier League stars fail to shine
The game was billed by many as a battle between Liverpool’s Mane and Manchester City’s Riyad Mahrez, but both were on the periphery of this encounter.
Mahrez’s lack of contribution was largely down to Algeria’s defensive approach after taking the lead, but Mane will perhaps be disappointed with his input.
He was clearly the player Algeria fans feared most – every touch of the ball was met with boos – but he showed only glimpses of his pace and danger on the ball, possibly showing the signs of fatigue following a long season for club and country.
It is 363 days since Mane began pre-season with Liverpool – and he will only have a couple of weeks rest before the new campaign gets under way on 9 August.
BBC Arabic’s Mohamed Qoutb at Cairo International Stadium
Algeria were very lucky to get their first goal from a deflected shot by Bounedjah. But they made the most of their luck.
Their defence has been formidable all tournament and as much as Senegal tried to create chances, it was just so difficult for them.
The Teranga Lions raised their level after half-time and had a great chance that was missed by Niang, one of two players Algeria were giving very close attention – the other, of course, being Mane.
One goal was enough for Algeria to win a well deserved tournament even though they weren’t their best in the final. Senegal were so close this time but they needed luck and more clinical finishing – and they found neither.