Miquel Moreno scored the only goal for the visitors in the 64th minute, before striker Juan Miguel Jimenez Lopez and French defender Teo Hernandez were sent off in the 71st and 82nd minutes respectively.
Real Sociedad won the first round of the Liga on Friday with a solitary goal from Huesca.