The Yellow Submarine beat Almeria 1-0 thanks to a goal from Jonathan Pereira, which meant they moved just behind Elche into second.
Villarreal cannot now be caught as they get ready for a second spell in La Liga after their memorable 12 year stint which ended last season.