Rayo Vallecano welcomed Real Sociedad to the Spanish capital on Saturday knowing that three points would move them off the bottom of the La Liga table.
The home side had the better of the chances in the first period, but could not make the breakthrough with the scores level at the interval.
Both sides had opportunities in the second period, but it was Rayo that won it late on courtesy of a penalty from Jonathan Viera.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
RAYO VALLECANO XI: Ruben; Ze Castro, Arbilla, Mojica, Adrian; Trashorras, Saul, Castillo, Larrivey; Lass, Falque
REAL SOCIEDAD XI: Bravo; C.Martinez, Ansotegi, I. Martinez, De la Bella; Markel, Elustondo, Zurutuza; Vela, Agirretxe, Griezmann