Lionel Messi's hat trick was the difference for Barcelona as the Catalans held off Granada at Camp Nou on Tuesday, 5-3.

The three-goal effort also propelled Messi to become the Barcelona goal leader, breaking Cesar Rodriguez's 57-year-old Barcelona record of 232 goals.

Xavi got the scoring started in the fourth minute, and then Messi followed 13 minutes later to give Barcelona the seemingly comfortable two-goal advantage.

But Granada would storm back. Mainz scored in the 55th minute, and then a Dani Alves foul in the box set up a penalty kick goal from Guillherme Siqueira in the 62nd minute to even the match.

But Messi would put Barcelona back up five minutes later. Cristian Tello would net the fourth goal in the 82nd, and then Messi's 86th minute strike would be the hat-trick goal.

Following a hand ball by Alves that would send the Brazilian off, Siqueira scored again from the penalty spot in the 89th minute to make the match look closer than it was.

Barcelona took 18 shots, with eight on goal, while Granada took six shots with three on target. The Catalans held possession for 74 percent of the match

Here are the highlights from Barcelona - Granada:

Barcelona 5 – 3 Granada - elkooratoday by elkooratoday