Youssef En-Nesyri sealed maximum points for Leganes in Monday's Madrid derby after scoring the winning goal in their 2-1 win over Rayo Vallecano.
Meanwhile, it was a disappointing outing for Cameroon international Allan Nyom who was shown a straight red card for a reckless tackle on Adri Embarba in the 58th minute of the keenly contested tie at the Campo de Futbol de Vallecas.
The West Bromwich Albion loanee who has played 13 matches in the Spanish top-flight this season is now set to serve two-game ban as punishment.
Martin Braithwaite had given Leganes a first half lead in the 36th minute but Nyom's expulsion created a vaccuum in the visitor's defence with Alvaro Garcia converting a rebound to put both sides levelled.