Lionel Messi Becomes Barcelona's All-Time Top Goalscorer (VIDEO/PICTURES)

Top Of The Charts: Messi Becomes Barça's Record Goalscorer (VIDEO/PICTURES)
|

Lionel Messi hit a hat-trick to become Barcelona's all-time top scorer as they crushed Osasuna 7-0.

The 26-year-old opened the scoring after 19 minutes to equal Paulino Alcantara's record of 369 goals in all competitions - including friendlies - for Barcelona.

Alexis Sanchez and Andrés Iniesta then increased the hosts' advantage before the break as Barça set about getting their title defence back on track following last weekend's shock 1-0 defeat at lowly Real Valladolid.

Open Image Modal

Messi has shown glimpses of his greatness again in recent weeks

Messi struck again in the second half to move onto 370 goals and become the club's undisputed top marksman, and then completed his treble with a simple finish in the 87th minute, after substitute Cristian Tello had rammed in the fifth goal.

Messi v Osasuna
FC Barcelona v CA Osasuna - La Liga(01 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona is congratulated by his teammate Andres Iniesta after scoring his team's fourth goal and his goal number 370 for the FC Barcelona becoming the maximum scorer on the history of FC Barcelona during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(02 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(03 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona is congratulated by his teammate Andres Iniesta after scoring his team's fourth goal and his goal number 370 for the FC Barcelona becoming the maximum scorer on the history of FC Barcelona during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(04 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona is congratulated by his teammate Andres Iniesta after scoring his team's fourth goal and his goal number 370 for the FC Barcelona becoming the maximum scorer on the history of FC Barcelona during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(05 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi (2nd right) of FC Barcelona plays the ball alongside Jordan Loties (1st right) and Alejandro Arribas (2nd left) of CA Osasuna during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(06 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates his goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. Barcelona's Argentinian forward Lionel Messi becomes the top scorer (370 goals) in the history of FC Barcelona. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(07 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(08 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (R) and Barcelona's Brazilian defender Dani Alves (C) celebrate after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(09 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona scores his team's fourth goal and his goal number 370 for the FC Barcelona becoming the maximum scorer on the history of FC Barcelona during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(10 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (UP) and Barcelona's Brazilian defender Dani Alves celebrate after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(11 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (R) leaves the pitch with a ball after scoring a hattrick during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(12 of27)
Open Image Modal
(L to R) Barcelona's Argentinian forward Lionel Messi (L) vies with Osasuna's French defender Jordan Loties (R) during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(13 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (R) scores a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(14 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi grimaces during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(15 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (R) vies with Osasuna's French midfielder Raoul Loe (L) during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(16 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona and Jordan Loties of CA Osasuna fight for the ball during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(17 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (L) vies with Osasuna's defender Alejandro Arribas Garrido (R) during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(18 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates his goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. Barcelona's Argentinian forward Lionel Messi becomes the top scorer (370 goals) in the history of FC Barcelona. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(19 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(20 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi celebrates after scoring a goal during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(21 of27)
Open Image Modal
(L to R) Barcelona's Argentinian forward Lionel Messi, Barcelona's midfielder Andres Iniesta, Barcelona's defender Jordi Alba and Barcelona's forward Pedro Rodriguez celebrate after scoring during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ LLUIS GENE (Photo credit should read LLUIS GENE/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(22 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi leaves the pitch with a ball after scoring a hattrick during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(23 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (R) is congratulated by his teammates after scoring during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. Barcelona's Argentinian forward Lionel Messi becomes the top scorer in the history of FC Barcelona placing 370 goals. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(24 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi (C) is congratulated by his teammate Barcelona's midfielder Andres Iniesta (L) after scoring during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. Barcelona's Argentinian forward Lionel Messi becomes the top scorer in the history of FC Barcelona placing 370 goals. AFP PHOTO/ JOSEP LAGO (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(25 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona celebrates after scoring his team's sixth goal during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FC Barcelona v CA Osasuna - La Liga(26 of27)
Open Image Modal
BARCELONA, SPAIN - MARCH 16: Lionel Messi of FC Barcelona celebrates after scoring his team's sixth goal during the La Liga match between FC Barcelona and CA Osasuna at Camp Nou on March 16, 2014 in Barcelona, Spain. (Photo by Alex Caparros/Getty Images) (credit:Getty Images)
FBL-ESP-LIGA-BARCELONA-OSASUNA(27 of27)
Open Image Modal
Barcelona's Argentinian forward Lionel Messi leaves the pitch with a ball after scoring a hattrick during the Spanish league football match FC Barcelona vs Osasuna at the Camp Nou stadium in Barcelona on March 16, 2014. AFP PHOTO/ JOSEP LAGO. (Photo credit should read JOSEP LAGO/AFP/Getty Images) (credit:Getty Images)

There was still time for a seventh, however, Messi adding an assist to his goal haul by teeing up Pedro.

Barça remain third in the table and four points behind leaders Real Madrid, but will have the chance to cut the gap with their arch-rivals at the Bernabeu in a week's time.