Lionel Messi scored a hat-trick as Barcelona regained the title in LaLiga with a pulsating 4-2 win against Deportivo La Coruna, who were relegated.
The runaway leaders headed into Sunday's fixture at the Riazor knowing a point would be enough to win a seventh title in the past 10 seasons and the 25th in their history.
A routine victory looked on the cards from the moment Philippe Coutinho finished Ousmane Dembele's pass, and Messi scored a 30th league goal of the campaign from Luis Suarez's sensational assist to double the lead.
But Depor, who had to win to avoid going down, made a real contest of it.
MORE: Melbourne Victory coaches handed four-match bans for pitch invasion against Sydney FC
Lucas Perez deservedly cut the deficit before the break and Emre Colak finished a fine team move to level in the 64th minute.
Ultimately, though, Depor failed to complete the comeback and the brilliant Messi stuck the nail in their Liga coffin with two further late strikes to leave Barca celebrating another title triumph.
It caps a significant turnaround for a Barca side that saw Real Madrid conquer LaLiga and the Champions League last season, while a 5-1 aggregate Supercopa de Espana defeat to their Clasico rivals in August coupled with the sale of Neymar to Paris Saint-Germain led to suggestions the Catalan giants were in crisis.
But Barca have quashed those concerns in some style, with Ernesto Valverde able to celebrate a LaLiga and Copa del Rey double in his first season as head coach.
Some frailties remain, as exposed by the quarter-final Champions League collapse to Roma, but the possibility of an unprecedented unbeaten LaLiga season is realistic with four matches to go, albeit they must negotiate next weekend's Clasico to keep that dream alive.
Andres Iniesta, who made a late cameo, will also depart Camp Nou with a ninth LaLiga crown, the Spain great announcing this week he will leave the club after a 22-year association.
CHAMPIOOONS!!!
— FC Barcelona (@FCBarcelona) April 29, 2018
It's not just this season's title.
It's not just our 25th @LaLiga .
It's a historic decade.
7 championships out of 10! #7heChamp10ns pic.twitter.com/5cy1GNLVib
It took just seven minutes for Barca to make the breakthrough. The ball was worked to the right of the area where Dembele kept his composure, having seemingly been foiled, to pick out Coutinho, who curled a sumptuous first-time effort into the left-side of the goal.
Depor responded well and thought they had an equaliser when Perez tapped in after Marc-Andre ter Stegen had brilliantly saved Raul Albentosa's header, but the celebrations were curtailed by the offside flag.
Messi saw a 30-yard free-kick expertly saved by Ruben Martinez before desperate Depor twice went close, first Borja Valle failed to make clean contact with Michael Krohn-Dehli's teasing cross before Fabian Schar inexplicably headed over from six yards.
Barca doubled their lead in style in the 38th minute when Suarez lofted an exquisite outside-of-the-boot pass in the path of the onrushing Messi to side-foot home on the volley.
The visitors were caught cold almost immediately, though, as Perez swept home Valle's tee up.
And Depor were level in the 64th minute. Valle made a great run in behind the Barca defence, held the ball up and fired across goal to Celso Borges, who cleverly laid into the path of Emre to complete a fine team move.
Barca were momentarily rattled, but Messi and Suarez both missed great chances before Depor's brave resistance was broken for good.
Messi and Suarez combined brilliantly in a crowded penalty area before the former rolled the ball into the wide-open goal.
And the Argentina legend put the icing on the cake, combining with Suarez and namesake Denis once more before applying the cool finish.
Final whistle at Riazor!
— FC Barcelona (@FCBarcelona) April 29, 2018
@LaLiga Champions
Deportivo 2-4 FC Barcelona
Lucas Pérez and Çolak / Coutinho and Messi (3) #DeporBarça #7heChamp10ns pic.twitter.com/RuofmCfiym