Huesca sprang a mighty upset with a 3-2 victory over Villarreal in the Copa del Rey round of 32 first leg.

Despite struggling near the foot of the Segunda Division, Huesca inflicted an embarrassing defeat on their high-flying La Liga opponents.

They took the lead twice before Darwin Machis struck the winner in the 76th minute of a pulsating encounter before Christian Fernandez was sent off in injury time.