Lionel Messi has broken Pele's record for the most goals for a single club after taking his tally to 644.

Pele struck 643 competitive goals for Santos during an 18-year stay with the Brazilian club.

Gerd Muller came closest to matching Pele's one-club goal-scoring feat. The former Germany international netted 565 times for Bayern Munich between 1964 and 1979.

"When I started to play football, I never thought I would break any record. Especially not the record held by Pele that I now hold," Messi wrote on Instagram after Tuesday's game. "I can only give thanks to everyone that has helped me throughout the years, my teammates, my family, my friends and everyone that supports me every day."