BARCELONA, Spain --

Real Sociedad fought back to salvage a 2-2 draw at Rayo Vallecano in the Spanish league on Sunday.

Rayo went ahead through Diego Llorente's 15th-minute opener, which was cancelled out when Aritz Elustondo headed in Ruben Pardo's free kick in the 27th.

More from FoxSports

Jozabed Sanchez restored the hosts' advantage in the 51st, but Sociedad winger Bruma got his second goal in as many games by volleying in Pardo's corner kick in the 63rd.

Rayo remained in the relegation zone despite ending a five-game losing streak.

Sociedad is two points from danger.

Real Madrid visits Valencia later, while Deportivo La Coruna hosts Villarreal.

Also, Sevilla visits Granada, Athletic Bilbao hosts Las Palmas and Real Betis welcomes Eibar.