Real Sociedad secured their second La Liga win of the season at Huesca on Friday thanks to a second-half goal from Mikel Merino.
The visitors endured a nervy finish after seeing Juanmi and Theo Hernandez both sent off, as they ended the game with nine men.
The 1-0 win moves Sociedad into sixth place in the table ahead of the weekend's games. After a bright start to their debut season in La Liga, Huesca have now lost three in a row.
La Liga Table
1. Barcelona, 4, +11, 12
2. Real Madrid, 4, +8, 10
3.