Real Mallorca and Osasuna both have work to do to get through the fifth round of the Copa del Rey after losing the first legs of their ties to lower-league opposition on Thursday.
Rayo Vallecano beat 10-man Real Mallorca 2-1 with goals from Michel Sanchez and Juan Collantes coming either side of Julio Alvarez's strike for the visitors. Mallorca had Felipe Mattioni sent off in the 36th minute with the score at 1-1.
Osasuna did not have the excuse of being a man down as they also lost 2-1, going down away from home to Hercules.
Joseba Del Olmo got the winner in the 68th minute after Jorge Galan had cancelled out Hidalgo Cristian's opener.