Barcelona’s quest for an unbeaten La Liga season came to a shocking end with a 5-4 defeat away to Levante on Sunday.
Barca wrapped up the league title two weeks ago, but coach Ernesto Valverde had said his team were focused on becoming the first Spanish side to go unbeaten through an entire league campaign without a loss since Real Madrid did it in 1932, when the season only lasted 18 games.
But Levante, who had not beaten Barcelona in the league since 1964, ended their dream in the second-to-last game of the season as Emmanuel Boateng recorded a hat trick.
Philippe Coutinho scored three goals of his own in an attempt to rally his side, who had left Lionel Messi out of the squad, and Luis Suarez added a 71st-minute penalty, but the comeback came up short, ending Barcelona run of 44 games unbeaten dating back to last season.
Levante took the lead in the ninth minute when Jose Luis Morales cut the ball back from the endline for Boateng to tap in off the underside of the bar.
On the half-hour mark, Sasa Lukic played Boateng into the box and the Ghanaian rounded Marc-Andre ter Stegen to become the first player this season to score twice in a game against Barcelona in any competition.
Coutinho got a goal back eight minutes later with a blast from the top of the box to bring Barcelona into the dressing room down 3-1.
But the hosts came out for the second half on fire and made it 5-1 within four minutes, Enis Bardhi scoring from distance before Boateng completed his hat trick on the counter-attack.
Boateng became the first player to score a hat trick against Barcelona since Diego Forlan did it for Villarreal in 2005.
But Coutinho sparked Barcelona into life before the hour mark by firing home from nine yards after Levante cleared their lines, then made it 5-3 four minutes later with a deflected shot on the half-volley from 20 yards.
Suarez cut the deficit to one from the penalty spot in the 71st minute after Boateng tripped up Sergio Busquets, but the Uruguayan striker then missed a chance to equalise with a header.