Athletic Bilbao missed a glorious chance to move back into the top six following a disappointing 1-1 draw at home to lowly Malaga in the 36th round of the Primera Division.
Athletic had picked up just two points from their last four games to drop off the pace in the race for next season's Europa League, but poor results from the sides around them meant the Basques could return to the top six with a win in this fixture.
And having scored just once in their last four matches, Joaquin Caparro's side got off to the perfect start in this game as Gaizka Toquero opened the scoring after just four minutes.
But the locals' joy was short-lived as Duda equalised 15 minutes later.
The Andalusians put bodies behind the ball and defended stoutly to hold on for a point that may yet be vital, while Athletic will rue a missed opportunity, especially with a trip to Real Madrid coming up at the weekend.
Athletic began with their usual intensity and found themselves a goal up following the first chance of the game.
That was handed to Toquero by Ander Iturraspe after four minutes, but the striker still had work to do and did it with aplomb, beating his marker skilfully and sliding past Malaga keeper Gustavo Munua, who had come racing off his line to cut down the angle.
But Athletic's performances have gone off the boil lately and the Basques did not look altogether convincing, despite their early lead while Malaga looked dangerous on the counter-attack.
The Andalusians were playing an ultra-defensive formation, but in their difficult predicament, that is understandable.
Nevertheless, they were having their moments too and Valdo flashed a shot just wide after 10 minutes.
Malaga did equalise nine minutes later, but there was an element of fortune about their goal as Duda netted directly from a corner.
Fernando Llorente missed a great chance to the restore the locals' lead four minutes later and David Lopez was off target with a header as Athletic enjoyed the best of the rest of the first half.
But having got back into the game through Duda's surprising strike, Malaga were now more than happy to defend.
Caparros' side also enjoyed the best of the second half, but chances were few and far between against a Malaga side with zero ambition.
Markel Susaeta had Athletic's best opportunity halfway through the second period, but Munua made a decent save and the locals struggled after that to break down the visitors' 10-man wall.
Pretty it was not, but Juan Ramon Lopez Muniz's men held out for a valuable point which keeps them one above the relegation zone with two games left.
They may well have to be more ambitious in those, but they certainly are not short of fight.
Athletic, meanwhile, can still make the Europa League, but will rue this missed chance to move back into sixth.
With two games left, the first of which is against Madrid at the Santiago Bernabeu, Athletic trail sixth-placed Getafe and Villarreal, in seventh, by a point.