BARCELONA, Spain (AP) -- Roberto Soldado's 90th-minute penalty gave Valencia a 2-1 win Saturday over Espanyol, which finished with nine men and slid into last place in the Spanish league.
The game looked set to end in a draw after Espanyol striker Samuele Longo scored in the 31st minute to cancel out Jonathan Viera's 16th-minute opener for the hosts.
But Espanyol defender Hector Moreno was penalized for blocking a cross in the area with his arms, and Soldado stroked in the spot kick to give Valencia a boost before hosting Bayern Munich on Tuesday in the Champions League.
Both Moreno and Sergio Garcia received their second yellow cards for protesting the handball call.
Also, Malaga was held to a 0-0 draw at struggling Osasuna, as the Costa del Sol side's winless streak reached four matches.
Malaga goalkeeper Willy Caballero salvaged a point for visiting Malaga with key saves, including stopping Osasuna forward Alvaro Cejudo one-on-one seven minutes from time.
The draw at Reyno de Navarra stadium threatened Malaga's hold on fourth place as several teams can move ahead with wins over the weekend.
Later, league leader Barcelona hosts Real Zaragoza before Real Madrid plays Athletic Bilbao.