Alaves missed the chance to go second in La Liga after conceding an injury-time goal in a fiery 2-1 defeat to Basque rivals Eibar.
The league's surprise package went ahead inside four minutes when Manu Garcia's strike was allowed to stand after the referee consulted VAR over a possible infringement.
Fourth-placed Alaves were reduced to 10 men in the 24th minute following Ruben Duarte's straight red card, with Fabian Orellana striking a post from the resulting free-kick.
Eibar's Pablo De Blasis was dismissed for a second bookable offence just after the hour mark, but his side levelled soon after thanks to Joan Jordan's stunning strike from distance.
And the hosts won the derby late on as Pape Diop headed home his first goal for the club from Jordan's corner in the first minute of added time.
Defeat for Alaves allowed Sevilla to go second on goal difference after their 0-0 draw at Real Sociedad.
Los Rojiblancos created little at Anoeta and the stalemate leaves them four points adrift of leaders Barcelona.
Sevilla's city rivals Real Betis had to settle for a point after surrendering a two-goal lead in the 3-3 draw at home to Celta Vigo.
Goals either side of half-time from Loren and Firpo Junior put Betis in command at Estadio Benito Villamarin.
But a brace from Maximiliano Gomez and Brais Mendez's strike saw Celta turn the game around, before Sergio Canales' 87th-minute free-kick restored parity.
Bottom club Huesca were denied a second win of the season after conceding a late equaliser in a 1-1 draw with Getafe.
Xabier Etxeita nodded the home side ahead early in the second period, before Jorge Molina found the bottom right corner to level in added time.
Elsewhere, Villarreal's winless league run stretched to five matches following a 1-1 draw at home to Levante.
An own goal from former Everton defender Ramiro Funes Mori put Levante ahead 14 minutes from time at El Madrigal, before Alfonso Pedraza rifled an injury-time equaliser into the roof of the net.