Luis Suarez struck late for Atletico Madrid to snatch a 2-1 victory at Alabi’s on Sunday and send his side two points clear of Real Madrid at the top of La Liga.
Atletico Madrid had taken the lead late in the first half when Suarez teed up a deflected goal by Marcos Llorente.
The task should have got easier for the visitors when Alaves defender Victor Laguardia was sent off in the second half.
But Alaves had a flurry of late chances and levelled in the 84th minute when Atletico Madrid defender Felipe diverted a cross from Joselu into his own net.
Atletico Madrid would not be undone, however, and they clinched a vital victory for their title charge when substitute Saul Niguez picked out fellow late addition Joao Felix.
He cut the ball across goal and Suarez pounced from less than a metre out to bundle it into the net.
Atletico Madrid went into the match trailing Real Madrid by a point.
But the last gasp victory took them on to 38 points, two ahead of their city rivals and with two games in hand.
Alaves are 13th on 18.
“We knew it would be a difficult game as Alaves always make things tough and they proved that by drawing level with one player less.
”But it was so important for us to get the win,” said goalscorer Llorente.
“Our substitutions worked very well and we got the second goal after a great piece of play and it allows us to keep focusing on our objective.”
Atletico Madrid had been boosted by the news Kieran Trippier’s 10-week suspension from the English Football Association for violating betting rules had been put on hold by world organising body FIFA.
However, the right-back did not travel to the match, as the squad had been named before the announcement was made.
Sime Vrsaljko started in Trippier’s place while record-signing Felix began the game on the bench.
But he was introduced after the hour mark and the Portuguese played a decisive role in the win, with his incisive late pass to the feet of Suarez.