Rayo, who went into the game bottom of the table following successive defeats, thought they had doubled their advantage through Real Madrid loanee Raul de Tomas but his second-half effort was ruled out after the referee consulted VAR.

Huesca’s Argentinian midfielder Ezequiel Avila had a late header comfortably saved by Rayo goalkeeper Alberto Garcia as the hosts pushed in vain for an equaliser against their fellow newly-promoted side.