Rayo Vallecano ended a run of three consecutive league defeats following a 3-0 home win against Espanyol on Friday.
More from FoxSports
Roberto Trashorras' first-half penalty and two goals in two minutes from Javier Guerra moved Rayo four points clear of the relegation zone.
The opening 20 minutes saw chances for each team with the woodwork being struck by both sides.
The hosts that got the breakthrough after Espanyol defender Enzo Roco felled Guerra in the area. Trashorras converted the spot kick for in the 36th minute for a half-time lead.
Espanyol were reduced to 10 after midfielder Victor Sanchez was sent off for a second yellow in the 66th.
Guerra scored in the 76th and soon after unleashed a powerful effort from distance.
Burgui missed a stoppage-time penalty for Espanyol.