On the back of a historic win from the midweek against Paris Saint-Germain, Barcelona were favourites to win the match but they were stunned.
The equation has now become really tough for Barcelona now as they are 2 points behind Real Madrid with the latter having a game in hand.
Real Madrid defeated Real Betis 2-1 after captain Sergio Ramos once again came to their rescue. The defender scored a late winner to rescue his team.
In other important matches, Atletico Madrid defeated Granada 1-0 and Sevilla were held to a 1-1 draw by Leganes.
Here are some photos from La Liga game week 27
Deportivo players celebrate (Image courtesy: Deportivo Twitter handle)
Deportivo La Coruna scalped a famous and memorable win against FC Barcelona at home. They defeated the giants 2-1 to move above the relegation zone.
Barcelona players (Image courtesy: FC Barcelona Twitter handle)
FC Barcelona suffered a shock defeat at the hands of relegation-threatened Deportivo after staging one of the greatest comebacks in football during the midweek against PSG in the Champions League.
Luis Suarez scored the equaliser (Image courtesy: Barcelona Twitter handle)
Luis Suarez scored the only goal for FC Barcelona against Deportivo.
Cristiano Ronaldo celebrates (Image courtesy: Real Madrid Twitter handle)
Cristiano Ronaldo scored the equalising goal for Real Madrid after Antonio Sanabria gave Betis the lead.
Sergio Ramos celebrates (Image courtesy: Real Madrid Twitter handle)
Captain Sergio Ramos came to Real Madrid's rescue yet again as he scored the winning goal for the club at the dying moments of the match.