Real Madrid overcame an early blow and were made to toil after half-time for a 3-1 LaLiga win at Leganes.
The victory moves Zinedine Zidane's reigning champions up to third in the table above Valencia, although the hosts struck first as defender Unai Bustinza claimed his first senior goal.
Cristiano Ronaldo was given the night off by Zidane and, with Gareth Bale starting on the bench, Casemiro assumed the unlikely role of being Madrid's creative driving force.
The Brazilian midfielder created the 11th-minute equaliser as Spain winger Lucas Vazquez continued his impressive recent form and converted a glorious winner before the half hour.
Madrid shipped three goals in Sunday's win at Real Betis but Zidane was grateful to see Sergio Ramos marshalling a more robust backline as 13th-placed Leganes probed without reward during the second period, and the Madrid captain made sure of victory by coolly dispatching a penalty in the final minute.
The European champions are still seven points shy of Atletico Madrid in second and 14 behind leaders Barcelona.
1 - Casemiro has both scored and assisted in a same game for Real Madrid for the first time ever in all competitions. Crucial. pic.twitter.com/meLBxRRyaN— OptaJose (@OptaJose) February 21, 2018
Despite the likes of Toni Kroos, Luka Modric and Marcelo being out through injury, Zidane still elected to rest Ronaldo and first-choice goalkeeper Keylor Navas.
Madrid made a lackadaisical start and Navas' replacement Kiko Casilla was picking the ball out of his net in the sixth minute.
Gabriel Pires flicked on a left-wing corner at the near post and, after seeing his initial attempt saved, Bustinza flung himself towards the ball, taking Theo Hernandez's clearance on the top of his head to net an unusual diving header.
Madrid's response was impressively swift, with Casemiro intercepting a poor clearance and feeding Karim Benzema before improvising a flick from Mateo Kovacic's pass that allowed Lucas to clip a precise finish across Ivan Cuellar.
Casemiro was again at the heart of things when Madrid took a 29th-minute lead – this time providing the finishing touch himself after exchanging passes with Benzema and accepting Lucas' assist to crown a glorious one-touch move.
Madrid were comfortably on top as the half wound down, with Benzema almost heading a third from Lucas' cross.
Leganes impressively got themselves back on the front foot during the early stages of the second half – Asier Garitano's double switch, sending on Ruben Perez and Martin Mantovani in place of Dimitrios Siovas and Gerard Gumbau, rewarded with a spirited showing.
Tito slotted a pass down the Madrid left to Nabil El Zhar and Claudio Beauvue got on the end of his low cross to force a point-blank stop from Casilla.
El Zhar had a penalty claim following an untidy challenge from Kovacic rejected – the infringement did appear to take place fractionally outside the area – and Madrid continued to do more work in their own half than they would have liked.
Bale came on 15 minutes from time, curtailing an industrious and accomplished display from the much-maligned Benzema.
The Wales international almost picked out the bottom corner after springing the offside trap, but it was Ramos who grasped the ball and made no mistake when Diego Rico bundled Kovacic to the floor.
Key Opta facts:
- Casemiro has both scored and assisted in a same game for Real Madrid for the first time in all competitions.
- Lucas Vazquez is the player with most assists in LaLiga in 2018 (five), alongside Lionel Messi.
- Only Cristiano Ronaldo (10 goals and 2 assists) has been involved in more goals for Real Madrid than Lucas Vazquez (4 goals, 6 assists) in 2018 in all competitions.
- Real Madrid have taken more penalties than any other LaLiga side this season in all competitions (12, 11 scored).
- Sergio Ramos has scored in three consecutive LaLiga away games (three goals) for the second time, the first since September-Octtober 2007.
- Real Madrid conceded their fastest goal in LaLiga this season (five minutes and four seconds).
|Ajax star De Ligt wins Golden Boy award|
|Foles fuels Eagles´ upset win over Rams|
|Latham carries bat as New Zealand leave Sri Lanka reeling|
|Keep your cool, Virat – Paine and Kohli in another confrontation|
|Depleted Nuggets complete season sweep of Raptors|
|Fabinho was ´outstanding´, says Klopp|
|Patriots QB Brady on loss to Steelers: We aren´t playing well enough to win|
|Elliott says Cowboys´ shut-out loss to Colts was embarrassing|
|De Bruyne not worried about Liverpool title challenge|
|Sixers star Simmons makes history with triple-double|
|WATCH: Nowitzki receives standing ovation in first home game of season|
|Seattle´s playoff spot on hold after Seahawks suffer OT loss to 49ers|
|Cheika survives as Wallabies coach, Johnson appointed|
|Vikings remain in NFC playoff picture|
|Steelers stay ahead as Patriots lose AFC´s second seed|
|Lionel Messi is the best, says Amor|
|I´m still tired just looking at Robertson – Mourinho in awe of Liverpool intensity|
|Casillas takes swipe at Mourinho after United lose to Liverpool|
|Valverde relieved as Messi brilliance prevents another Levante nightmare|
|WATCH: Leno proposes to girlfriend after Bears clinch division title|
|Messi and Suarez the world´s best strike partnership, says Pique|
|Klopp: I cannot keep every Liverpool player happy|
|Messi and Suarez outscoring Real Madrid and Atletico in LaLiga|
|Levante 0 Barcelona 5: Marvellous Messi banishes ghosts of last season|
|Colts rout Cowboys to keep playoff hopes alive|
|Bears shake off Packers to win NFC North and return to playoffs|
|Mourinho explains Pogba omission and defends Lukaku´s Liverpool showing|
|Liverpool´s display against Manchester United one of the best, claims Klopp|
|Look away Jose! Damning stats expose Manchester United´s limp Liverpool loss|
|Time´s up, Mourinho: Manchester United can dither no longer|
|Manchester United´s players are not dishonest – Mourinho|
|Manchester United´s lack of ambition under Mourinho is scary – Keane|
|Mourinho: All Manchester United can achieve is fourth|
|Quagliarella should be protected by UNESCO, jokes Sampdoria coach|
|Manchester United surpass last season´s goals-against tally in first 17 games|
|Hasenhuttl revels in ´unbelievable´ victory over Arsenal|
|Liverpool 3 Manchester United 1: Shaqiri´s late show bails out Alisson as Reds return to the top|
|Edinburgh in control in Champions Cup, Racing win again|
|Emery ponders January signing after Bellerin injury|
|It is only a knock – Sarri plays down Hazard injury fears|
|Redskins QB Alex Smith released from hospital|
|Starc: If I listen to Warne, I may as well retire|
|Curry interviews retired NASA astronaut, apologises for moon comments|
|Hazard refusing to give up on Premier League title hopes|
|Ziyech & Blind score hat-tricks as Ajax claim 8-0 win|
|Canelo v Fielding: What next for three-weight champion Alvarez?|
|Southampton 3 Arsenal 2: Austin and Ings end Gunners´ long unbeaten run|
|Brighton and Hove Albion 1 Chelsea 2: Sensational Hazard proves the difference|
|Pogba on the bench as Clyne starts for Liverpool|
|Lipsky ends long barren spell in Malelane|
|Lakers´ Stephenson to repeat air guitar despite technical|
|Fletcher pushed Miller on to Broncos sack record|
|The Sarri effect: Hazard surpasses 2017-18 goal involvements in just 16 games|
|Van der Burgh retires on a high note with breaststroke double|
|Rashford: Liverpool was never an option|
|No team Liverpool play this season will be as motivated as Man United – Klopp|
|India surprised by contentious Kohli decision - Bumrah|
|The Sunday Seven - 7 Key Opta facts for NFL Week 15|
|Miller eyeing Joshua bout at Madison Square Garden|
|Finch cleared of serious damage after another finger blow|
|Rashford ´untouchable´ because he plays on his limits – Mourinho|
|It´s important to have his mentality - Mayfield thrilled with Kobe Bryant visit as Browns beat Bronc|
|Centurion Latham indebted to ´world-class´ Williamson|
|Spurs´ Dier out until January after appendix removal|
|A-League Review: Glory down Jets to stay unbeaten|
|Philander ruled out of first Test|
|Controversial Kohli dismissal puts Australia in command|
|Thunder´s Westbrook: ´When we defend like that — best team in the league´|
|Kante at his best further forward, reiterates Sarri|
|Rose capitulates in Indonesia to squander chance to top rankings|