In a tweet, Pelé mentioned Morocco for its history-making run as the first African team to reach the semifinals at the tournament.
“And I couldn’t fail to congratulate Morocco for the incredible campaign,” Pelé wrote. “It’s great to see Africa shine.”
Pelé, who won a record three World Cups as a player, has been in the hospital to treat a respiratory infection.
He posted his message on Instagram after Argentina beat defending champion France 4-2 in a penalty shootout following a 3-3 draw at Lusail Stadium in Qatar.
“Today, football continues to tell its story, as always, in an enthralling way,” Pelé wrote in his post. “Messi winning his first World Cup, as his trajectory deserved. My dear friend, Mbappé, scoring four goals in a final. What a gift it was to watch this spectacle to the future of our sport.”