Lionel Messi insists he could never have imagined breaking Pele's record for most goals scored for a single club after the Argentine surpassed the Brazilian legend in Barcelona's 3-0 La Liga win over Valladolid on Tuesday.
Messi scored Barca's third goal, his 644th for the Catalans, when he collected Pedri's backheel and struck the ball past goalkeeper Jordi Masip in the 65th minute.
French defender Clement Lenglen had given Barcelona the lead, before Danish forward Martin Braithwaite doubled their advantage. The win keeps Barcelona in fifth place, two points behind Real Sociedad and Villarreal but with at least a game in hand on both sides.
"When I started playing football I never thought I would break any records. And even less the one I achieved today," Messi posted on Instagram shortly after the game.
"I can only thank all those who helped me over the years, my teammates, my family, my friends and all those who support me every day."
Messi had equalled Pele on Saturday in a 2-2 draw with Valencia. The two men scored at almost an equal rate for their clubs.
It was the 33-year-old Argentine's 749th competitive match for Barca, meaning he has scored a goal every 1.16 games.
Pele scored 643 goals in 757 matches with Santos, where he played between 1956 and 1974, or one every 1.17 matches.
"Like you, I know what it's like to love wearing the same shirt every day. Like you, I know that there is nothing better than the place we feel at home," Pele wrote to Messi on Instagram after the Argentine tied the record.
"Congratulations on your historic record, Lionel. But above all, congratulations on your beautiful career at Barcelona. Stories like ours, of loving the same club for so long, unfortunately will be increasingly rare in football. I admire you very much."
Messi, a six-time Ballon d'Or winner, is by far the highest scorer in Barca history (Cesar Rodriguez is next on 230 goals), the highest scorer in the history of the Spanish league championship (451 goals, ahead of Cristiano Ronaldo's 311), and the player who has won the most trophies with the Catalan club (34, including four Champions Leagues).
"I see Messi happy. He is working hard, and he is a very important part of our attacking game," said Barca manager Ronald Koeman after the win.
Pele claims to have scored more than a thousand goals, counting all the matches he played, official and unofficial.
But in competitive matches Pele appears to be second to Austrian and Czechoslovakian striker Josef Bican, who football historians have calculated scored 805 goals between 1931 and 1955 playing for half a dozen clubs and three national teams.
Pele, with between 757 and 767 goals in competitive matches over his career, which also include 92 Brazil internationals and two seasons with the New York Cosmos, is ahead of Messi with 714 for club and country and the more travelled Cristiano Ronaldo (754).
Pele still holds the record for most international goals by a South American with 77 for Brazil but Messi has 71 for Argentina.