Terrence Ross had 26 points, Nikola Vucevic added 25 points and 12 rebounds and the Orlando Magic rallied past the Boston Celtics 116-108 on Sunday night to clinch their first playoff berth in seven years.

Evan Fournier added 24 points for Orlando (41-40), which last made the postseason during the 2011-12 season. Sunday's victory also gave the Magic its first regular-season sweep over Boston since 1996-97.

Even with the loss, the Celtics (48-33) clinched at least the fourth seed and home-court advantage in the first round of the playoffs just before tip-off. That came courtesy of Brooklyn's win over Indiana.

Kyrie Irving had 23 points for Boston. Al Horford finished with 18 points and Gordon Hayward added 16 off the bench.

Brooklyn 108, Indiana 96: D'Angelo Russell scored 20 points and Joe Harris added 19, leading the visiting Nets back into the NBA playoffs for the first time in four years. They moved into position to clinch when Miami lost in overtime at Toronto earlier in the day.

San Antonio 112, Cleveland 90: LaMarcus Aldridge had 18 points and 13 rebounds as the Spurs extended the host Cavaliers' losing streak to nine games. San Antonio is tied for eighth place in the West, which would mean a matchup with Golden State, but the Spurs still can move ahead of the sixth-place Thunder and eighth-place Clippers because of tiebreaker advantages.

Toronto 117, Miami 109 (OT): Pascal Siakam had 23 points and 10 rebounds, Kawhi Leonard scored 22 points and the host Raptors further dented the Heat's fading playoff hopes. The Heat (38-42) dropped into a ninth-place tie in the East with Charlotte, a game behind Detroit.

Charlotte 104, Detroit 91: Kemba Walker scored 31 points to help the visiting Hornets cling to their slim playoff chances. The Hornets are tied with Miami in ninth and trail the Pistons by one game for the final playoff spot in the East.

Milwaukee 115, Atlanta 107: Giannis Antetokounmpo scored 30 points and Khris Middleton added 21, sending the host Bucks to 60 wins in a season for the first time since 1981.

Golden State 131, L.A. Clippers 104: The host Warriors handed the Clippers a costly loss, dropping them into a tie for eighth in the West.

Houston 149, Phoenix 113: James Harden scored 30 points in just three quarters as the Rockets broke their NBA record by making 27 three-pointers in a victory over the Suns in Houston.

L.A. Lakers 113, Utah 109: The host Lakers ended the Jazz's seven-game winning streak, and Utah fell two games behind Portland for the fourth seed in the Western Conference and home-court advantage in the first round.

ASSOCIATED PRESS