LaLiga leaders Barcelona suffered their third La Liga defeat of the season as Rayo Vallecano secured a memorable win.
Goals by Alvaro Garcia and Fran Garcia put the mid-table hosts in a commanding position before Robert Lewandowski scored a late consolation.
The defeat may not stop Barca from winning the league with 11 points clear of nearest rivals Real Madrid who have eight matches left.
Barca will host fifth-placed Real Betis this weekend.
Writing by Tersoo Nicholas