MADRID (AP) " Midfielder Rober Ibanez scored a goal in each half as promoted Leganes defeated Osasuna 2-0 to win its first home match in the Spanish league's top flight.
Ibanez scored with shots from inside the area in the sixth and 57th minutes to secure the team's first win at its Butarque stadium after debuting in the first division this season.
It had opened its home campaign with a draw and then lost four in a row at Butarque.
The win also helped Leganes snap a four-match losing streak in the league and moved it into 15th place, three spots clear from the relegation zone.
Ibanez needed to be assisted off the field in the 86th minute because of an apparent knee injury.
It was new coach Joaquin Caparros' first match in charge of Osasuna, which was also promoted to the top flight this season.
The team from northern Spain remained in second-to-last place after the loss, which extended its winless streak to four games.
Real Madrid leads the league with 30 points, four more than second-place Barcelona.
This story has been automatically published from the Associated Press wire which uses US spellings