Gareth Bale ended a run of 802 minutes without a goal in La Liga as Real Madrid won 1-0 at bottom side Huesca on Sunday to climb back to within five points of leaders Barcelona.
The Welshman struck his first goal in the league since the start of September to lift Real to a fourth win in five matches and move the European champions up to fourth place.
Bale put a halt to his longest spell without scoring in the league since joining Real as he expertly cushioned in a volley from an arcing cross by Alvaro Odriozola on eight minutes.
Huesca winger Ezequiel Avila forced a brilliant stop from Real goalkeeper Thibaut Courtois, the Belgium international punching the ball to safety midway through the first half.
Bale nearly added to his haul on 25 minutes when his fierce drive from the edge of the area was tipped over by a scrambling Aleksandar Jovanovic.
Gonzalo Melero should have levelled for Huesca right after the break only to nod wide of the goal despite having the whole target at which to aim.
A swerving David Ferreiro shot drew another smart save from Courtois as Real withstood a spirited fightback from the hosts, but Bale continued to threaten and forced two further saves from Jovanovic.
Courtois turned over a late Moi Gomez free-kick and Huesca, who slumped to a 10th defeat in 15 games this season, were denied a point when Dani Carvajal headed off the line from Christian Rivera.
Earlier, Borja Mayoral salvaged a point for Levante with a stoppage-time equaliser in a thrilling 4-4 draw away to Eibar.
Eibar, who beat Madrid 3-0 in their last home game, led 4-2 with 15 minutes to play after a quick-fire brace by Charles added to goals from Sergi Enrich and Gonzalo Escalante.
But Levante snatched a draw as Tono halved the deficit before Mayoral struck at the death.