FC Barcelona secure second in La Liga with victory over Rayo Vallecano
FC Barcelona secured the runners-up spot in La Liga behind champions Real Madrid with a 3-0 home win against Rayo Vallecano.
Robert Lewandowski's early strike and two second-half goals from Pedri sealed victory for Barca in their final home game of the season and also a place in the Spanish Super Cup.
Rayo Vallecano will head into next week's final match safe despite defeat due to results elsewhere.
Carlo Ancelotti's Real Madrid, who secured their 36th title earlier this month, let slip a 4-1 half-time lead to draw their penultimate league match 4-4 at Villarreal, for whom Alexander Sorloth scored all four of their goals.
Arda Guler's double and efforts from Joselu and Lucas Vazquez put Madrid in full control, but Sorloth, who had headed Villarreal's first before the break, struck three more times in the second half.
Girona's 3-1 win at Valencia ensured them a third-placed finish, while Atletico Madrid, already assured of the final Champions League spot, lost 4-1 to Osasuna in their last home game.
Athletic Bilbao guaranteed themselves a Europa League place as first-half goals from Raul Garcia and Iker Muniain sealed a 2-0 home win against Sevilla.
Real Sociedad's 2-0 win at Real Betis guaranteed them sixth place and Europa League qualification, while Betis will fill the Europa Conference League slot.
Cadiz's relegation was confirmed after a goalless home draw against Las Palmas coupled with the point earned by Real Mallorca, as they drew 2-2 with bottom club Almeria.