Sadio Mane netted the winning spot-kick as Senegal beat Egypt 4-2 on penalties to clinch their first-ever Africa Cup of Nations, after the final ended goalless following extra time.
The Liverpool forward had earlier seen a seventh-minute penalty saved by Pharaohs keeper Gabaski.
Chelsea’s Edouard Mendy denied Mohanad Lasheen to give Mane the chance to win it in Yaounde’s Olembe Stadium.
Gabaski had made three good saves from Senegal’s Bamba Dieng in extra time.
And in a match billed as a battle between Liverpool forwards Mane, of Senegal, and Egypt captain Mohamed Salah, it was the former who had the decisive word.
After two previous final defeats, Senegal are Africa Cup of Nations winners at last, while Egypt missed out on a record-extending eighth continental crown that would also have been a first for Salah.
“It just shows that if you work hard, if you persevere, you will get what you want,” Senegal coach Aliou Cisse said.
“I am very emotional because the people of Senegal have wanted this trophy for 60 years.”
All four of Egypt’s knockout games at the tournament went the distance, and the North Africans had beaten Ivory Coast and hosts Cameroon on spot-kicks en route to the final.