Barcelona sealed their first La Liga title since 2018-19 with four games to spare after a stylish win at the home of city rivals Espanyol.
Barca were 3-0 up by half-time, Robert Lewandowski scoring his 20th league goal of the season before Alejandro Balde, 19, doubled the lead.
Lewandowski added the third before Jules Kounde's header made it 4-0.
Espanyol did reduce the deficit through Javier Puado and Joselu but remain in trouble near the bottom of the table.
Barcelona have 85 points, 14 more than nearest rivals Real Madrid, with 12 points left to play for.
It is their first La Liga title since club legend Lionel Messi left in August 2021 and first since Xavi was appointed manager in November 2021.
Meanwhile, Espanyol are in danger of a second relegation in four seasons from La Liga after a ninth league defeat in 11 games.
They are four points from safety with four matches left.
Xavi delivers in first full season
Barcelona's players will have to wait to get their hands on the trophy but they celebrated after the full-time whistle before making a hasty retreat to the dressing room after some Espanyol fans dashed on to the pitch.
Barca trailed Real Madrid by three points after losing 3-1 away to them on 16 October, while they made a disappointing exit from the Champions League after losing three of their six group games.
But Xavi, who won eight La Liga titles during a distinguished 17-year career playing in Barca's first team, has delivered in his first full season in charge.
It was a particularly emotional night for captain Sergio Busquets, who has confirmed he will leave Barcelona at the end of the season after 18 years at the club.
This is the 34-year-old's ninth league title with Barca but the future looks promising for the side, with Balde and Kounde scoring their first La Liga goals in Barcelona colours.
Barcelona will move out of their Nou Camp home next season while the stadium is redeveloped.
But fans will get a chance to celebrate the club's first major trophy since 2020-21 during their last two home games - against Real Sociedad on Saturday and Mallorca on 28 May.
Latest Stories
-
GPL 2024/25: Young Apostles hand Samartex first home defeat since March
17 mins -
Unconventional Trump brings openings and perils for Africa
47 mins -
Iseguri Initiative fights teenage pregnancy and early child marriage
1 hour -
‘Dreams quashed’: Foreign students and universities fear Australia’s visa cap
2 hours -
G20 talks in Rio reach breakthrough on climate finance, sources say
2 hours -
2024/25 Ghana League: Bechem United shock Chelsea in Berekum
4 hours -
GPL 2024/25: Nations FC beat Asante Kotoko to go top
4 hours -
GPL 2024/2025: Gold Stars drop to 2nd after 2-0 defeat to Medeama
4 hours -
#GPL 2024/25: Hearts pip Karela in Tamale to move into top 4
4 hours -
Feedback from Klopp, others more valuable than just anybody – Otto Addo to critics
4 hours -
Support us if you want to qualify for the World Cup – Otto Addo to Ghanaians
4 hours -
Defective ballot papers for Ahafo and Volta Regions destroyed by EC
5 hours -
Election 2024: Be fair and transparent – Togbe Afede to EC
5 hours -
AFCON 2025Q: Poor home form cost us – Otto Addo
5 hours -
Togbe Afede criticises recent Supreme Court rulings as uninspiring and illogical
5 hours