Match ends, Real Sociedad 3, Leganés 2.
Real Sociedad wore shirts with the face of retiring club legend Xabi Prieto as their crest as they beat Leganes 3-2 in their final home game of the season.
The 34-year-old midfielder, who has spent his whole career with the club, was a late substitute in his 531st appearance for the Basque club.
Carlos Martinez, 32, is also leaving La Real - his only club - this summer.
They play La Liga champions Barcelona at the Nou Camp next Sunday, the final day of the season.
Mikel Oyarzabal and Sergio Canales gave them a 2-0 lead, but Diego Rico and Miguel Angel Guerrero levelled the score before Willian Jose's winner.
Line-ups
Real Sociedad
Formation 4-4-2
- 1Rulli
- 19OdriozolaSubstituted forMartínezat 88'minutes
- 22Navas
- 6Moreno
- 20Rodrigues
- 16Canales
- 4IllarramendiBooked at 67mins
- 14PardoSubstituted forZurutuzaat 66'minutes
- 18Oyarzabal
- 7JuanmiSubstituted forPrieto Argarateat 83'minutes
- 12Da Silva
Substitutes
- 2Martínez
- 3Llorente
- 10Prieto Argarate
- 17Zurutuza
- 21Bautista
- 24de la Bella
- 25Moyá
Leganés
Formation 4-2-3-1
- 13Champagne
- 3BustinzaBooked at 77mins
- 19Muñoz
- 16Dos Santos
- 15RicoBooked at 85mins
- 21Pérez
- 6GumbauSubstituted forGarcíaat 72'minutes
- 10El ZharSubstituted forBrasanacat 45'minutes
- 17Eraso
- 23RamosSubstituted forBeauvueat 82'minutes
- 9Guerrero
Substitutes
- 2Román Triguero
- 5Mantovani
- 12Beauvue
- 14García
- 24Brasanac
- 25Serantes
- 36De Camargo
- Referee:
- David Medié Jiménez
- Attendance:
- 19,898
Match Stats
- Possession
- Home61%
- Away39%
- Shots
- Home11
- Away9
- Shots on Target
- Home6
- Away3
- Corners
- Home5
- Away1
- Fouls
- Home8
- Away12
Live Text
Post update
Full Time
Second Half ends, Real Sociedad 3, Leganés 2.
Post update
Attempt missed. Claudio Beauvue (Leganés) left footed shot from outside the box is close, but misses to the right. Assisted by Javier Eraso.
Post update
Carlos Martínez (Real Sociedad) wins a free kick in the defensive half.
Post update
Dangerous play by Raúl García (Leganés).
Post update
Offside, Real Sociedad. Sergio Canales tries a through ball, but Xabi Prieto is caught offside.
Post update
Asier Illarramendi (Real Sociedad) wins a free kick on the right wing.
Post update
Foul by Javier Eraso (Leganés).
Post update
Foul by Carlos Martínez (Real Sociedad).
Post update
Raúl García (Leganés) wins a free kick in the defensive half.
Substitution
Substitution, Real Sociedad. Carlos Martínez replaces Álvaro Odriozola.
Post update
Attempt saved. Mikel Oyarzabal (Real Sociedad) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Willian José.
Post update
Foul by Héctor Moreno (Real Sociedad).
Post update
Claudio Beauvue (Leganés) wins a free kick on the left wing.
Booking
Diego Rico (Leganés) is shown the yellow card.
Post update
Álvaro Odriozola (Real Sociedad) wins a free kick on the right wing.
Post update
Foul by Diego Rico (Leganés).
Post update
Foul by Willian José (Real Sociedad).
Post update
Diego Rico (Leganés) wins a free kick in the defensive half.
Substitution
Substitution, Real Sociedad. Xabi Prieto replaces Juanmi.