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'
|Van Gaal calls for United to match Netherlands spirit|
|Guardiola congratulates Germany´s Bayern contingent|
|Pressure will not faze Cabella|
|Cuenca: Depor move an easy decision|
|Richardson keen on Roy reunion|
|Scotland to host England for November friendly|
|Kouyate enjoying West Ham life|
|Germany basks in World Cup glory|
|Seifert hails Bundesliga quality|
|Osman confident of Everton improvement|
|Kroos set for Real switch|
|MLS Preview: Sporting KC eye top spot, Red Bulls visit Union|
|Seattle Sounders 2 Portland Timbers 0: Conference leaders leave it late|
|2014 FIFA World Cup: Tweets of the tournament|
|2014 FIFA World Cup: Best goals|
|2014 FIFA World Cup: Tournament in numbers|
|2014 FIFA World Cup: To Russia with love?|
|2014 FIFA World Cup: Gotze glory rounds off captivating spectacle|
|World Cup win is unbelievable, says Gotze|
|Downing talks up Valencia arrival|
|Kramer: ´I can´t remember very much´|
|Peru Primera Division Review: Inti Gas go top, Universitario lose|
|Klose to decide on Germany future|
|Ecuador Primera A Review: Emelec poised for championship|
|Devastated Messi: Golden Ball not important|
|Messi comparison inspired Gotze, says Low|
|Hummels: I´m on another planet|
|Messi named player of the tournament|
|Sabella proud of players, defends Messi|
|Adebayor contracts malaria, out of US tour|
|Lahm ecstatic after World Cup triumph|
|Newcastle complete Cabella deal|
|Mascherano endures World Cup pain|
|2014 FIFA World Cup Final: Player Ratings|
|2014 FIFA World Cup Final: Where the final was won and lost|
|2014 FIFA World Cup Final: New Germany ready to dominate|
|2014 FIFA World Cup Final: Germany 1 Argentina 0 (after extra time)|
|BREAKING NEWS: Germany win World Cup|
|Rousseff thanks Brazil despite World Cup woe|
|Fred ´finished´ with Brazil|
|Manchester City lose to Dundee in pre-season opener|
|Rami keen to restore Milan glories|
|Thai Premier League Review: Muang Thong win again, BEC Tero Sasana pay penalty|
|In-demand Lovren joins Southampton on tour|
|Adidas to stick with Suarez|
|Cesar accepts Brazil career all but over|
|Rodriguez signs new Fiorentina deal|
|UEFA Champions League Preview: Celtic begin campaign, Steaua in Norway|
|K.League Review: Steelers maintain lead as top four all win|
|Suso eager for Liverpool stay|
|McDonald allays West Ham injury fears|
|Basanta urges Argentina to enjoy the moment|
|Schweinsteiger: Germany have big-match experience|
|Vidal relaxed over future|
|Bartomeu drooling over Barca strikeforce|
|Gerrard should remain captain, says Beckham|
|Cafu throws support behind Scolari|
|Sabella warns Argentina|
|MLS Review: Henry, Defoe star, as late goals rain down|
|Klinsmann: Germany are favourites|
|Robben rejects Van Gaal´s United proposal|
|Blind hopes Dutch youngsters stick together|
|Thiago Silva frustrated by failure|
|Adrian leaves Atletico for Porto|
|Van Gaal proud after Dutch win|
|Scolari leaving future up to CBF|
|Mixed emotions for Robben|
|FIFA World Cup: Brazil 0 Netherlands 3|
|Sabella remains unsure of Di Maria fitness|
|Abdennour pleased with friendly workout|
|Halilhodzic to take charge at Trabzonspor|
|Fenerbahce delighted to finally sign Diego|
|Low and Germany ready for finale|
|Lyon agree Rose deal|
|Neymar´s World Cup delights Bartomeu|
|De Laurentiis: Higuain going nowhere|
|Beckham lauds ´amazing´ Messi|
|PSG beat Videoton in seven-goal thriller|
|Horta makes Malaga switch|
|Southampton seal deal for Pelle|
|Barcelona ´convinced´ of reduction in Suarez ban|
|West Ham held by League Two Stevenage|
|Bianchi makes move to England|
|West Ham must be more clinical, says Allardyce|
|Germany experience will count - Lehmann|
|Berahino and Dorrans strike in Albion win|
|Ince settling quickly at Hull|
|Swansea in talks with Napoli over Michu|
|Dodo eyes Champions League with Inter|
|FIFA World Cup Preview: Germany v Argentina|
|Huddlestone out to hit the ground running|
|Pogba not bound for Chelsea - agent|
|Barry feeling fresh with Everton|
|Arteta plays down transfer talk|
|PSV complete De Jong deal|
|Colback excited for busy pre-season|
|Milan and Orlando in talks over Robinho|
|West Brom bring in Pocognoli|
|Maradona: Messi will define World Cup final|
|Rami seals Milan move|
|Kuyt eager to secure third place|
|Rodriguez talks up Real Madrid move|
|Bebe welcomes Benfica link|
|Koeman admits unsettled Lovren could leave|
|FIFA World Cup Final Preview: Argentina face old foes Germany with Brazil´s party in tatters|
|FIFA World Cup Final Preview: Messi aims to cement legacy|
|FIFA World Cup Final Preview: Sabella on the brink of greatness|
|FIFA World Cup Final Preview: Muller seeks to augment outstanding finals record|
|FIFA World Cup Final Preview: Low´s hard work pays off|
|FIFA World Cup Final Preview: The coaches to have tasted glory|
|FIFA World Cup Final Preview: The five most iconic finals|
|FIFA World Cup Final Preview: The five most iconic finals|
|FIFA World Cup Final Preview: Germany´s route to the final|
|FIFA World Cup Final Preview: Brazil 2014 produces moments to remember|
|SJ Earthquakes 1 DC United 2: Johnson, Silva score as Eastern Conference leaders extend advantage|
|Otamendi unfazed by price tag|
|Sam targeting top three with Schalke|
|Rodriguez out for revenge|
|Bruno Alves could leave Fenerbahce|
|Thiago Silva endured sleepless nights|
|Final on enemy soil ´special´, says Zabaleta|
|Arteta: Sanchez signing highlights Arsenal´s ambition|
|Mertesacker demands repeat performance|
|Scolari gets federation backing|
|Balotelli poses with shotgun|
|Lizarazu lauds Argentina´s craftiness|