A review of the weekend's action in the Spanish Primera Division.
Barcelona's 100 per cent start to the Primera Division season was ended on Saturday evening as they were held to a 0-0 draw at Osasuna.
The Catalan giants opted to rest several first-team regulars ahead of Tuesday's Champions League trip to AC Milan, with Lionel Messi starting on the bench after his thigh injury and Gerard Pique, Dani Alves and Alexis Sanchez not included.
The visitors bossed possession and had the lion's share of chances - the best of which were passed up by Cesc Fabregas - but Osasuna held on to become the first team in La Liga to keep a clean sheet against Barca in almost two years.
Cristiano Ronaldo converted a stoppage-time penalty won by Gareth Bale to seal a 2-0 victory for Real Madrid against Malaga , allowing Carlo Ancelotti's side to maintain the pressure on Barcelona and Atletico Madrid.
Los Blancos led 1-0 thanks to a fortuitous goal from Angel Di Maria just after half-time, but then spent much of the second period being frustrated by some outstanding saves from Malaga goalkeeper Willy Caballero as they sought a second goal.
However, the clincher duly arrived in added time. Ronaldo, who had had a frustrating afternoon, crashed a spot-kick into the bottom corner after 76th-minute substitute Bale had chased a long ball before going to ground under a challenge from Weligton.
An own goal by goalkeeper Thibaut Courtois ended Atletico Madrid's 100 per cent start to the season as they went down 1-0 at Espanyol.
The Belgian attempted to keep out a deep cross from Juan Fuentes but the ball bounced off his arm and into the net after 54 minutes.
Los Rojiblancos were outfought by the Catalans, who limited the visitors to very few goalscoring opportunities due to their discipline and hard work.
The result meant Diego Simeone's side missed the opportunity to go top of the Primera Division table after Barcelona's earlier result. Instead they slipped one point behind Gerardo Martino's men, while allowing allowing Real Madrid to reduce their deficit with their neighbours to just two points.
On Sunday, Sevilla squandered a two-goal lead as Real Valladolid hit back to claim a 2-2 draw with two goals in three minutes, leaving Unai Emery's side still searching for their first win on the road since September 2012.
The visitors appeared on course for a regulation victory when they eased into a 2-0 lead inside half an hour through Carlos Bocca and Alberto Moreno.
However, they were shocked by goals in the 81st and 84th minutes from Mateus Manucho and Patrick Ebert as the hosts somehow clawed their way back into a game Sevilla had completely dominated.
Getafe profited from Granada defender Pape Diakhate's first-half dismissal to claim a fourth successive league win and move up to fifth place after a 2-0 success.
A Jeison Murillo own goal and Pedro Leon's third strike of the season shortly after half-time sealed a 2-0 win to continue Getafe's flying start.
Granada slipped to a fourth home loss in five - they have been goalless in each of those defeats - and their work was cut out for them once Diakhate was sent packing on 31 minutes for his second caution.
A late free-kick from Alejandro Galvez gave 10-man Rayo Vallecano all three points at Almeria.
The centre-back struck on 78 minutes to put the Madrid side ahead, only 15 minutes after centre-back Saul Niguez had been sent off for two bookings.
Paco Jemez's side move well clear of the relegation zone and up to 13th thanks to the result, their second successive win, while Almeria stay stuck to the bottom of the Primera Division and still without a victory all season with nine games now played.
Ten-man Elche survived a late onslaught from Real Betis to record their third win in a row in the Primera Division with a 2-1 victory.
The visitors scored twice in quick succession in the first half through Manu del Moral and Fidel Chaves, but Jorge Molina's goal put Pepe Mel's side back in contention before the break.
Dominga Cisma was sent off one minute into the second half for a second yellow card but, even with an extra player, Betis' search for an equaliser proved in vain thanks in no small part to the heroics of Elche goalkeeper Manu Herrera.
Real Sociedad claimed their first Primera Division win since the opening day as they ended Valencia's five-game unbeaten run with a 2-1 success at the Mestalla.
Antoine Griezmann and Ruben Pardo scored either side of half-time to pave the way for a much-needed three points.
Dorlan Pabon grabbed a consolation goal for Valencia in injury-time.