One-time Newcastle great Alan Shearer failed to keep the club in the Premier League after it lost 1-0 to Aston Villa on Sunday and was relegated along with West Bromwich Albion and Middlesbrough.

On a tense final day of the league campaign, Sunderland and Hull managed to stay up despite losing.

Hull lost 1-0 at home to newly crowned champion Manchester United, which rested most of its stars ahead of Wednesday's Champions League final against Barcelona, and Sunderland tumbled 3-2 at home to third-place Chelsea.

Middlesbrough needed a big victory at West Ham to stand any chance of survival, but lost 2-1 and finished tied on points with West Brom, which already was assured of being relegated despite a 0-0 draw at Blackburn.

West Brom and Middlesbrough finished with 32 points, Newcastle had 34, Hull 35 and Sunderland 36.

Newcastle has not won the league since 1927, but began the season with high hopes under Kevin Keegan. He quit after disputes with the owner, and Shearer, a local-born former England captain who scored a Premier League record 260 goals, took over for the last eight games, winning only one.

"I can't say we were unlucky in the season. We went down because we weren't good enough over 38 games," said Shearer, who scored 206 league and cup goals for Newcastle. "Big changes have to be made at the football club."

In Sunday's other games, Arsenal outplayed Stoke 4-1, Liverpool beat Tottenham 3-1, Everton won 2-0 at Fulham, Manchester City edged Bolton 1-0, and Wigan beat Portsmouth 1-0.

___

MILAN (AP) _ Francesco Totti's late free kick ruined Paolo Maldini's last home match for AC Milan, lifting AS Roma to a 3-2 victory at San Siro.

Now 40, Maldini has been playing for Milan in the top flight of Italian soccer since he was 16. He has won seven Italian league titles and five European Cups with the club.

He will make his farewell when Milan goes to Fiorentina in the last round of games next weekend. The loss left Milan in second 10 points behind Inter Milan, which has already been crowned champion for the fourth season in a row.

___

MADRID (AP) _ Runner-up Real Madrid continued its disappointing end to the Spanish league season with a 3-1 loss to Mallorca in its final home game.

Gonzalo Higuain opened the scoring for the home team with his 21st goal of the season, only for Juan Arango, Cleber Santana and Alhassane Keita to reply for Mallorca and inflict Madrid's fourth straight defeat.

With one game remaining, champion Barcelona has a league record tally of 86 points. Madrid has 78, Sevilla 67 and Atletico Madrid 64.

On Saturday, Barcelona lost 1-0 to lowly Osasuna. Barca plays Manchester United in the Champions League final on Wednesday.

Sevilla ensured a third-place finish by beating Deportivo La Coruna 1-0, while Recreativo Huelva and Numancia became the first teams to be relegated after each lost 1-0 to Racing Santander and Getafe, respectively.

Other results were: Athletic Bilbao 1, Atletico Madrid 4; Villarreal 3, Valencia 1; Valladolid 1, Sporting Gijon 2; Almeria 0, Espanyol 3; and Malaga 1, Real Betis 1.

___

GLASGOW, Scotland (AP) _ Rangers won the Scottish league title with a 3-0 victory at Dundee United, preventing Celtic from winning its fourth straight title.

Goals by Kyle Lafferty, Pedro Mendes and Kris Boyd in the first 52 minutes gave Walter Smith's team its first league title since 2005 with 86 points. It now hopes to complete the double by beating Falkirk in the Scottish Cup on May 30.

Celtic, which was held to a 0-0 draw at home by third-place Hearts, finished four points behind.

Dundee United's loss means it slipped to fifth and missed out to Aberdeen for a Europa League spot next season. Aberdeen beat Hibernian 2-1 and finished ahead of Dundee United on goal differential.

___

ATHENS, Greece (AP) _ Panathinaikos beat PAOK 4-1 in the Greek league playoffs for European competition to move closer to a place in the Champions League qualifiers.

Giorgos Karagounis, Brazilian defender Gabriel, Dimitris Salpingidis and Antonis Petropoulos scored for Panathinaikos, while Ilias Anastasakos notched PAOK's consolation goal.

The win, combined with a 0-0 draw for AEK at Larissa, brought Panathinaikos closer to winning the four-team playoffs and gaining a berth in the qualifying rounds of the Champions League. Two other teams will play in the second-tier Europa League.

After five rounds, Panathinaikos leads with 15 points, followed by AEK with 12, PAOK with six and Larissa with one. Based on their regular-season standings, PAOK began the six-game playoffs with a bonus of three points, Panathinaikos with two, AEK with one and Larissa with no points.

Panathinaikos plays AEK and Larissa travels to PAOK in the last round next Sunday.