Another late goal for Barcelona, another disappointing draw for Atletico Madrid.
For the second consecutive year, Atletico wasn't able to hold on to its lead against Barcelona at Wanda Metropolitano Stadium, missing another chance to end its winless streak against the Catalan club in the Spanish league.
Ousmane Dembele's 90th-minute goal gave Barcelona a 1-1 draw in Madrid on Saturday, extending its unbeaten run against Atletico to 17 leagues matches.
Diego Costa put Atletico ahead in the 77th with his first league goal of the season.
Last year, it was an 82nd-minute equalizer by Luis Suarez that denied Atletico.
"We let it slip away," Atletico coach Diego Simeone said. "Details made the difference."
Atletico hasn't beaten Barcelona in the league since 2010, before Simeone took charge. It has only two wins against the Catalan club in 27 matches, both in the Champions League.
The result kept Barcelona one point in front of Atletico at the top of the league, with Sevilla having a chance to move past both teams with a home win against Valladolid on Sunday.
"Atletico is definitely a rival for us in the title race," Barcelona coach Ernesto Valverde said. "It was important to salvage a draw."
Neither team created significant scoring chances until Costa's close-range header on a corner taken by Antoine Griezmann.
Dembele's equalizer came from a low left-footed shot past goalkeeper Jan Oblak after a pass by Lionel Messi.
Real Madrid dropped five points behind Barcelona after its perfect run under coach Santiago Solari came to an end with a shock 3-0 defeat at Eibar.
Santiago Solari's first game as Real Madrid's full-time coach was one to forget.
After leading Madrid to four straight victories as interim manager, Solari saw his team lose 3-0 at Eibar in the Spanish league on Saturday.
The loss -- Madrid's first-ever defeat against the Basque Country club -- halted the team's recovery from a series of poor results under former coach Julen Lopetegui, who was fired.
Madrid is sixth in the standings after 13 games. It could have moved one point behind leader Barcelona ahead of its rival's match at Atletico Madrid, which ended in a 1-1 draw later in the night.
"We admit that we didn't play well," Solari said. "We have to work to improve and to correct our mistakes. It was a tough loss, we didn't expect it."
Solari was given a permanent contract before the international break after replacing Lopetegui. He revamped the squad and put it back on track in the Spanish league and the Champions League, quickly gaining fans' approval. The former midfielder was picked among candidates that reportedly included Antonio Conte and Roberto Martinez.
Madrid had outscored opponents 15-2 in the four wins under Solari, who took over with the team ninth in the league. Madrid's last game under Lopetegui was a 5-1 loss at Barcelona.
Saturday's defeat left Madrid with one of the league's worst defenses with 19 goals conceded. Only three teams have conceded more than Madrid -- Celta Vigo, Rayo Vallecano and last-place Huesca.
Eibar moved two points behind Madrid after its second win in three matches.
"We scored three goals against one of the best teams in the world," Sergi Enrich said. "We've been after this victory for a long time and now we've got it."
The hosts opened the scoring through Gonzalo Escalante after a quick counterattack in the 16th minute. Madrid goalkeeper Thibaut Courtois made an initial save but Escalante got to the loose ball and easily found the net from close range. The goal was confirmed by video review.
Enrich added to the lead early in the second half after a defensive mistake by Madrid right back Alvaro Odriozola, who had the ball stolen from him near the area in the play that led to the goal. Kike Garcia got the third five minutes later after Madrid's defense again couldn't clear a ball crossed into the area at Ipurua Stadium.
Madrid's next game is at Roma on Tuesday. The two sides lead Group G in the Champions League.
Good night everyone ⚪️⚫️ pic.twitter.com/NmrpkfouDC— Valencia CF English 🦇💯 (@valenciacf_en) November 24, 2018
Valencia easily defeated relegation-threatened Rayo Vallecano 3-0 for its fourth win in its last five matches in all competitions.
Santi Mina scored twice and Kevin Gameiro once for the hosts, which had won only once in their first 13 games.
The good run moved Valencia to ninth in the standings, safely away from the relegation zone.
Rayo Vallecano, second-to-last in the standings and winless since its third match of the season, played the final minutes with 10 men after Luis Advincula was shown his second yellow card.
HUESCA STAYS LAST
Huesca drew with Levante 2-2, staying in last place and extending its winless streak to 12 matches.
Playing in the first division for the first time, Huesca hasn't won since the first round.