Madrid: Real Sociedad's hopes of qualifying for the Champions League for the first time in a decade were dealt a blow as they could only manage a 3-3 draw at home to Real Madrid. (Agencies)
Gonzalo Higuain and Jose Maria Callejon had given Jose Mourinho's men a 2-0 lead in his penultimate match in charge before a spirited fightback from Sociedad saw them level matters through Xabi Prieto and Antoine Griezmann.
Sami Khedira then put Madrid back in front 10 minutes from time, but Prieto struck again in stoppage time to at least give Sociedad a share of the spoils.
"We played a great first-half with a lot of chances, but we had a great goalkeeper in front of us," Sociedad boss Philippe Montanier lamented afterwards in praise of Diego Lopez's fine performance for the visitors.
"They are very good offensive teams that have a lot of variety, good play and the fact they needed to win to play in the Champions League did the rest.", he added
The Basques now trail Valencia by two points with just one game to play in the fight for fourth place after Roberto Soldado's solitary goal was enough to earn Los Che a 1-0 win over Granada.
Meanwhile, Barcelona kept up their charge towards 100 points with a 2-0 win at Espanyol thanks to goals in either half from Alexis Sanchez and Pedro.
Madrid were without the injured Cristiano Ronaldo, Sergio Ramos and Xabi Alonso in San Sebastian, but they were gifted the perfect start on six minutes when Mikel Gonzalez gifted possession to Higuain and he strolled through to slot home his 15th league goal of the season.
Madrid: Real Sociedad's hopes of qualifying for the Champions League for the first time in a decade were dealt a blow as they could only manage a 3-3 draw at home to Real Madrid.