Cristiano Ronaldo and Gareth Bale played integral roles as Real Madrid picked up a nervy 3-2 derby win at Rayo Vallecano on Saturday.
The visitors looked to be on course for a big win after Ronaldo's double, which sandwiched a Karim Benzema strike, but two penalties in as many second-half minutes from Jonathan Viera put a different complexion on the match.
Real held on despite late pressure, closing the gap on leaders Barcelona to six points, leaving their hosts rooted to the foot of the table.
Rayo boss Paco Jemez made only one change from their defeat at Osasuna, bringing in Nacho Martinez for Alberto Bueno.
In contrast, Carlo Ancelotti continued to rotate his squad as he made six alterations from their win over Sevilla, with Xabi Alonso making his first start of the season.
Fresh from putting seven past Sevilla on Wednesday, Real appeared in clinical mood again and it took Ronaldo only three minutes to break the deadlock as he collected Luka Modric's pass and confidently placed an effort into the bottom far corner.
That strike was his 19th in 15 matches this season, making it his best start to a campaign, and although Rayo had a goal disallowed through Iago Falque, Real continued to stretch the hosts' defence.
Bale set up the next two goals at Estadio de Vallecas as his right-footed cross was headed past Ruben by Benzema after 31 minutes, the Frenchman's third goal of the week.
And the Welshman squared to Ronaldo three minutes into the second half for Real's third, with the visitors seemingly in cruise control.
But the rampant visitors saw their progress halted soon after as Dani Carvajal brought down Viera in the box and the striker picked himself up to convert the spot-kick after 53 minutes.
Remarkably, he was afforded the opportunity to reduce the deficit further just two minutes later – Marcelo the offender this time, fouling Falque after Joaquin Larrivey's header had come back off the crossbar.
Viera kept his cool to double his tally and bring it back to 3-2, with Real clearly rocking.
Jemez's side thought they had equalised with 25 minutes to go, but Diego Lopez tipped first-half substitute Bueno's effort on to the post.
Saul missed a glorious chance to equalise in the area with just over 10 minutes to play as he knocked wide while off balance, before Ronaldo forced Ruben into a smart double save at the other end.
Right-back Tito headed narrowly wide of Diego Lopez's post in stoppage time, but Real claimed the points to extend Rayo's losing streak against their illustrious neighbours to 11 matches.
|19||Jonathan Viera||53' 55'|
|Coach: Paco Jémez|
for Adrián 42'
for Arbilla 51'
for Iago Falqué 68'
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|
|MLS Review: Wright-Phillips double inspires Red Bulls to New York derby rout|
|James seeks more game time at Madrid|
|Rooney: I want to be a manager|
|Mignolet welcomes Karius challenge in Liverpool number one battle|
|Batshuayi buoyed by winning vibes at Chelsea|
|Moyes and Sunderland players diverted after plane fault|
|´Loved´ Varane targets long Madrid stay|
|Kostic set for Hamburg medical|
|Leicester crying over Kante sale - Ranieri|
|Schurrle the perfect Mkhitaryan replacement - Tuchel|
|West Ham face anxious wait on Cresswell injury|
|Mourinho will accept criticism from United legends|
|Bertolacci desperate for fresh start after underwhelming first season at Milan|
|Hoops hand Toure one-year deal|
|Origi ready to fight for Liverpool spot|
|Emery wants PSG stay for ´fantastic´ Matuidi|
|No Barcelona offer for Vietto - Cerezo|
|Burnley apologise for racist abuse from supporter|
|Guardiola will not rush Kompany comeback|
|Of course I´ll shake Guardiola´s hand, snaps riled Mourinho|
|Watzke: No more signings for Dortmund|
|Roma expect Manolas to snub Premier League move|
|Adriano set to leave Barcelona for Besiktas|
|Manchester United in worst possible situation - Mourinho|
|Sporting would have to sell stadium to afford Van Persie - Jesus|
|Jonas´ agent confirms Barcelona approach|
|No problem with Mourinho, insists Guardiola ahead of derby in China|
|Toronto´s hat-trick hero Giovinco: I´m back|
|Drogba revels in ´special night´, dedicates hat-trick to family|
|MLS Review: Hat-tricks for Drogba and Giovinco as stars shine|
|Whelan backs Liverpool for top-four finish|
|Pellegrini still waiting for right offer|
|Ronaldo deserves to win Ballon d´Or - Vazquez|
|Phelan wants Hull job|
|Alaba saddened by Gotze exit|
|Morgan: Vardy right to re-sign|
|Maradona ´hurting´ as Higuain closes on Juventus move|