Anthony Davis had 31 points and 13 rebounds and the New Orleans Pelicans earned their first playoff berth since 2011 with a 108-103 victory over the San Antonio Spurs on Wednesday night.

Davis, who'll make his playoff debut against Golden State next weekend, came through in the waning minutes with a pair of clutch jumpers, two blocks and two rebounds to prevent the Spurs from pulling off a 23-point comeback.

"We went to A.D. down the stretch and he came through on both ends of the floor," Pelicans coach Monty Williams said, calling Davis' block of Borris Diaw's late shot "phenomenal."

Tyreke Evans had 19 points and 11 assists, and Eric Gordon added 14 points for New Orleans, which had to win to make the postseason because Oklahoma City also won in Minnesota. The teams finished with identical records, but the Pelicans held the tiebreaker on head-to-head results.

Tony Parker had 23 points and Borris Diaw 20 for San Antonio, which needed to win to secure the second seed in the Western Conference playoffs.

The loss ended the Spurs' 11-game winning streak and prevented them from winning their fifth consecutive Southwest Division title.

Nets win, wait, move on

Battling for the final playoff spot in the East, the Brooklyn Nets beat the visiting Orlando Magic 101-88 behind a career-high 28 points from Bojan Bogdanovic, then scoreboard-watched.

The Nets needed the Memphis Grizzlies — coach Lionel Hollins' former team — to beat the Indiana Pacers later in the night, and Memphis did, winning 95-83 at home.

The Nets finished 38-44 — same as Indiana — with a league-high payroll of nearly $90 million but won the tiebreaker because they won the season series.

Marc Gasol had 33 points and 13 rebounds for the Grizzlies.

Rockets earn No. 2 seed

James Harden had 16 points, 11 rebounds and 10 assists in just three quarters for his fourth triple-double of the season and the Houston Rockets never trailed in a 117-91 victory over the visiting Utah Jazz.

Houston won the Southwest Division — its first division title since 1994 — and got the No. 2 seed in the Western Conference when San Antonio lost to New Orleans a few minutes later.

"It's a great accomplishment for us," Harden said. "We're very proud of that. We're going to let it kind of sink in tonight, sit back and reflect on a great season we've had and get ready for this postseason."

The Rockets built a 30-point lead by halftime.

Etc.

• For the first time since the 2005-06 season, one division — the Southwest — has all of its teams in the playoffs. They are Houston, San Antonio, Memphis, Dallas and New Orleans.

• Klay Thompson scored 25 points before resting in the second half, and the Golden State Warriors wrapped up the best regular season in franchise history with a 133-126 victory over the visiting Denver Nuggets. The top seed in the West finished 67-15.

• Aaron Brooks scored 23 points and the Chicago Bulls rallied from 18 down to beat the Atlanta Hawks 91-85 to lock up the third seed in the East and a first-round matchup with the Bucks with their fourth straight win. The Hawks, who won a franchise-record 60 games and earned the top seed in the East, matched a season high with their third consecutive loss.

• Kyle Lowry scored 26 points and the Toronto Raptors wrapped up the regular season with their franchise-record 49th victory, beating the visiting Charlotte Hornets 92-87.

• Henry Walker hit the go-ahead three-pointer with nine seconds left and Miami ended the season with two wins in one game. The Heat's 105-101 win in Philadelphia, paired with Brooklyn's win, means Miami is all but assured of keeping its top-10 draft pick. If Miami owns the No. 10 pick or better after the draft lottery, the Heat keeps that selection.

•The New York Knicks (.203) and the Los Angeles Lakers (.256), two of the NBA's most storied franchises, both lost and set franchise records for lowest winning percentage in a season. The previous Lakers record was held by the 1957-58 Minneapolis team (.264).

• Cole Aldrich, of Bloomington, scored a career-high 24 points in the Knicks' 112-90 home loss to Detroit.

• Ben McLemore scored 24 points and Derrick Williams added 22 as the Sacramento Kings beat host Los Angeles 122-99.