All the goals: El Clasico lived up to its name, as Messi hat-trick seals Barca win 5 years ago

All the goals: El Clasico lived up to its name, as Messi hat-trick seals Barca win

Whew! A, frankly, crazy game at the Bernabeu as Barcelona beat Real Madrid 4-3 thanks to a Lionel Messi hat-trick. 

Andres Iniesta grabbed the opener before a Karim Benzema double put Madrid in front. Messi equalised before Ronaldo won a penalty for his side.

However, two more spot-kicks and a sending off for Sergio Ramos later, and Barcelona had a crucial three points.

Here's the action as it happened...

Iniesta made it 1-0 to Barcelona.

iniesta

Benzema equalised...

Benzema

Benzema made it 2-1...

Benzema2

Messi equalised for Barcelona just before half-time...

A dodgy penalty decision for Ronaldo...

pen

And he took it himself...

pen2

Sergio Ramos was sent off for a foul on Neymar and Messi stepped to take the penalty.

messi

Xabi Alonso then conceded a penalty with a clear foul on Iniesta...

Alonso

Before Messi stepped up for his hat-trick...

messipen