Barcelona B came from behind to beat Alaves in their Segunda Division clash on Saturday to move to sixth in the table.
Neither side were able to find a breakthrough in the first half, as both teams lacked quality in the final third of the pitch.
After the break, the visitors took the lead in the 59th minute through Miroslav Stevanovic, as he fired an effort past Jordi Masip.
However, Barcelona rallied late in the game and Sandro Ramirez found an equaliser in the 70th minute.
The home side earned all three points with just five minutes left when Denis Suarez's shot beat Inaki Goitia to find the net.