Midfielder Victor Ormazabal's 80th-minute goal gave minnows Pontevedra a 1-0 win over Zaragoza in a first-leg match of the Copa del Rey's fourth round on Wednesday.
Victor turned home a pass by substitute Xavi More to bring the third division team hope of advancing past the six-time cup winners when the teams meet again in Zaragoza on Jan. 2.
In other first-leg matches, it was: Las Palmas 2, Villarreal 4; Valladolid 1, Murcia 1; Levante 2, Almeria 1; Malaga 0, Racing Santander 0; and Xerez 0, Recreativo Huelva 1.
Lying second in the first division, Villarreal carried their good form into Spain's knockout competition with a victory over Las Palmas, currently last in the second flight.
Villarreal made a confident start courtesy of early goals by striker Guille Franco and midfielder Robert Pires.
However, Sergio Suarez halved the deficit with a 40th-minute penalty and his twin Francis Suarez fired Las Palmas' equalizer on the hour.
Franco spurned a chance to win the match with 10 minutes remaining when his penalty kick was saved by goalkeeper Angel Pindado.
Las Palmas captain David Garcia was dismissed in the 84th minute and Villarreal made the most of their numerical advantage when midfielder Bruno Soriano and Franco added late goals.
Murcia striker Fernando Baiano gave his side a 48th minute lead at first division rivals Valladolid, with Diego Camacho equalizing seven minutes later.
Levante striker Mustapha Riga scored in the third and 42nd minutes to decide another game between two top flight sides.
Almeria replied through forward Natalio Lorenzo in the 19th minute and teammate Jose Luis Cabrera was ejected 40 minutes later.
Santander played out a stalemate with second division leaders Malaga.
Recreativo Huelva enjoyed better luck at second division strugglers Xerez, with midfielder Javier Camunas netting the game's only goal in the 88th minute.
Top flight clubs Real Madrid, Atletico Madrid, Espanyol and others have opted to play their first legs next month to avoid being affected by international call-ups.
All of the second legs will be played on Jan. 2.