MADRID (AP) -- Unbeaten Barcelona added to its domestic dominance by winning the Spanish league title for the third time in the last four seasons on Sunday.
Lionel Messi claimed a hat trick and Philippe Coutinho also scored to give Barcelona a 4-2 win at Deportivo La Coruna as the Catalan club took an insurmountable 11-point lead over Atletico Madrid.
Third-place Real Madrid is 15 points behind Barcelona.
It was Barcelona's seventh league title in 10 seasons and 25th overall. Madrid, last year's champion, leads with 33 La Liga trophies.
Barcelona has also thrived in the Copa del Rey, the country's second-most important club competition, winning it for the last four seasons.
Barcelona's next goal is to try to finish the league unbeaten, something which has never happened in the competition's current format.
"It's been an almost perfect season for us in the league," midfielder Sergio Busquets said.
Andres Iniesta, who last week announced he won't return for a 17th season with the club, started from the bench because of a small muscle problem. He entered the match close to the end to applause from most of the crowd at Riazor Stadium.
Iniesta and Messi each have won nine Spanish league titles.
Sunday's result relegated Clarence Seedorf's Deportivo.
The hosts paid tribute to Barcelona even before the match started with its squad lining up outside the tunnel and applauding their rivals as they entered the field. Most of the opposing fans at Riazor also applauded Barcelona's players.
Coutinho opened the scoring in the seventh minute with a well-placed shot into the top corner after a pass by Ousmane Dembele, and Messi added to the lead in the 38th with a strike from near the far post after a perfect cross by Luiz Suarez.
Deportivo pulled one closer with a goal by Lucas Perez in the 40th and equalized with Emre Colak's shot from inside the area in the 64th.
Messi put Barcelona ahead in the 82nd from close range after exchanging passes with Suarez inside the area, then sealed the victory in a breakaway in the 85th.
Messi has 32 league goals, leaving him with eight more than Madrid's Cristiano Ronaldo in the race for top scorer.
It has been yet another disappointing coaching stint for Seedorf, the former Dutch midfielder who earned only two victories in 13 matches since arriving to try to save Deportivo from relegation. The team has lost six times and drawn five under his command, returning to the second division for the first time since 2013-14.
"We didn't reach our goal," Seedorf said. "Now the future is open. We'll see what happens."
Seedorf was a star with the Dutch national team for more than a decade and a prominent player for Ajax, Real Madrid, Inter Milan and AC Milan. But he has achieved lackluster results in his coaching attempts, including at AC Milan in 2014.
ATLETICO STAYS SECOND
Atletico's depleted team defeated Alaves 1-0 to strengthen its grip on second place.
Kevin Gameiro converted a second-half penalty kick to secure the away victory for Atletico, which rested most of its regular starters ahead of Thursday's return leg against Arsenal in the Europa League semifinals.
The result gave Atletico a four-point gap to third-place Real Madrid, which has a game in hand.
Gameiro scored the 78th-minute winner from the spot less than 10 minutes after Fernando Torres had his penalty kick saved by Alaves goalkeeper Axel Werner.
Atletico forward Angel Correa was sent off with a second yellow card in second-half injury time.
Fourth-place Valencia still has to secure its Champions League spot after a 0-0 home draw against Eibar.
Valencia, winless in four matches, has an 11-point lead over fifth-place Real Betis, which has four games left and hosts last-place Malaga on Monday.
GETAFE MOVES UP
Getafe moved to the final qualification spot for the Europa League with a 1-1 home draw against Girona.
The result left Getafe in seventh place, one point in front of Sevilla.
Girona, also in the fight for a spot in Europe's second-tier club competition, stayed ninth. It has the same 48 points as Sevilla, which has a game in hand.