A review of the weekend's action in the Spanish Primera Liga.
Diego Costa scored the decisive goal of a tempestuous game as Atletico Madrid beat Real Madrid 1-0 to maintain their perfect start to the season.
Real handed a home debut to world record signing Gareth Bale as a half-time substitute but the Welshman was unable to prevent his side slipping five points adrift of their rivals.
Costa struck early on and his side had several other chances to seal a more comfortable win, but ultimately it was they who took the points from a game which saw both sides incur several cautions.
Lionel Messi's eventful week continued as Barcelona beat Almeria 2-0 to also make it seven wins from seven to start the Primera Division season.
Messi, who appeared in court on Friday to answer questions relating to tax evasion, opened the scoring but lasted only 28 minutes before being withdrawn due to a thigh injury, with the club later confirming he will undergo scans on Sunday.
In his absence, Adriano added a second goal in an unusually low-key win for the Spanish champions.
On Sunday, Osasuna's ill-discipline kept them rooted to the foot of the table as Levante pinched a 1-0 victory with a late Jordi Xumetra goal.
Xumetra was quickest to react after Papakouli Diop's 87th-minute penalty was saved by Andres Fernandez and Osasuna's day got worse when substitute Alvaro Cejudo was handed a second caution in injury time.
Nosa Igiebor's first-half goal gave Real Betis a 1-0 win over Villarreal, who suffered their first defeat of the season.
Igiebor pounced to slot home the rebound after Joan Verdu's initial shot had been parried in the 37th minute to give Betis just their second win of the campaign.
The Yellow Submarine could have moved above Real Madrid with victory at the Benito Villamarin and although they had a decent claim for a penalty turned down in the closing stages - a decision that led to head coach Marcelino Garcia Toral being sent to the stands - they were second best throughout.
Elche clinched their first Primera Division victory in almost a quarter of a century after beating Celta Vigo 1-0 courtesy of a second-half Javi Marquez goal.
The promoted side put their agonising midweek defeat to Real Madrid behind them to record a top-flight victory for the first time since they last appeared in La Liga back in the 1988-89 season.
Marquez was the match-winner with his precise 62nd-minute finish helping Elche double their points tally for the campaign and inflict a third defeat in four games on Celta.
Adrian Colunga's second-half double inspired Getafe to a shock 2-0 win at Espanyol.
The hosts were looking to bounce back from their first defeat of the Primera Division season at Villarreal in midweek, but were undone by Colunga's brace.
The 28-year-old fired home in the 73rd minute and again in stoppage time, with both goals coming after excellent work from substitute Pablo Sarabia.
Valencia were nearly overcome by stage fright but a solitary goal from Jonas was enough to secure their third straight win and see off Rayo Vallecano.
Boss Miroslav Djukic was on thin ice after overseeing three straight La Liga defeats before watching his team lose 3-0 to Swansea at the Mestalla, but subsequent wins over Sevilla and Granada lifted the Catalan club back into the top half.
Sevilla's long wait for an away win in the Primera Division goes on as they were unable to hold on to a half-time lead and drew 1-1 at Real Sociedad.
Jairo Samperio's neat finish in the 18th minute put Sevilla on course for a first away victory in La Liga in 20 attempts but Sociedad hit back in the second half to draw level through Antoine Griezmann.
They reached 12 points on Saturday thanks to a fortuitous 37th-minute goal from Jonas but, when Rayo came looking for an equaliser, Valencia were suddenly beset by nerves and only luck saw them cling onto all three points.
Bartlomiej Pawlowski's superb second-half leveller helped Malaga extend their unbeaten run to five matches after a 2-2 draw at Valladolid on Friday night.
Pawlowski volleyed home from the edge of the area in the 76th minute after goals from Javi Guerra and Humberto Osorio in the space of 10 second-half minutes had put Valladolid in charge.
Malaga had previously not conceded in their last three games but were twice undone from set-pieces after Roque Santa Cruz had broken the deadlock midway through the first half.