TORONTO (AP) — Kyle Lowry scored nine of his 24 points in the fourth quarter, DeMar DeRozan added 21 and the Toronto Raptors beat San Antonio 86-83 on Friday night to snap a four-game losing streak against the Spurs.

Jonas Valanciunas had 15 points and 11 rebounds as the Raptors improved to 17-3 at home, the second-best home record in the NBA behind San Antonio's mark of 19-2.

LaMarcus Aldridge had 17 points and 14 rebounds, Pau Gasol scored 15 points and Patty Mills had 13 as San Antonio lost for the fourth time in six road games. The Spurs are 11-15 away from home.

It had been more than two years since Toronto last beat San Antonio. The Raptors won 97-94 at home on Dec. 9, 2015.

San Antonio guard Manu Ginobili missed his second straight game because of a sore right thigh.

WIZARDS 122, PISTONS 112

DETROIT (AP) — Bradley Beal and Kelly Oubre Jr. had 26 points apiece, and Washington scored 45 in the third quarter before holding off Detroit.

The Pistons cut a 20-point second-half deficit to four in the fourth quarter, but John Wall made a big 3-pointer to put the Wizards up 107-100. Oubre added a four-point play a few possessions later to push Washington's lead to nine.

Andre Drummond had 14 points, 21 rebounds and eight assists for the Pistons, who have lost four straight.

Wall finished with 16 points and 11 assists.

NETS 101, HEAT 95

NEW YORK (AP) — DeMarre Carroll scored 26 points, Spencer Dinwiddie had 15 and Brooklyn beat Miami.

The Nets snapped a five-game skid at Barclays Center and a seven-game home losing streak to the Heat.

Caris LeVert and Joe Harris each added 12 points for the Nets. D'Angelo Russell played 14 minutes and went 0 for 5 from the field in his first action after missing 32 games following left knee surgery.

Hassan Whiteside had 21 points and 13 rebounds, and Goran Dragic scored 17 for the Heat.

LeVert made an acrobatic layup to give the Nets a 95-91 lead with 57.8 seconds remaining and then a step-back jumper to ice the game at 97-91.

GRIZZLIES 106, KINGS 88

MEMPHIS, Tenn. (AP) — Dillon Brooks scored a career-best 22 points, Ben McLemore had a season-high 21 and Memphis beat skidding Sacramento for its third consecutive win.

The game marked Zach Randolph's first return to Memphis since spending eight years as a key figure in the Grizzlies' success. The power forward received a standing ovation when he was introduced with the starting lineups. The team showed a tribute video between the first and second quarters.

Randolph finished with four points and six rebounds for the Kings, who have lost seven straight.

Tyreke Evans added 14 points for Memphis. De'Aaron Fox led the Kings with 16 points and six assists.

SUNS 108, NUGGETS 100

DENVER (AP) — Devin Booker scored 30 points and T.J. Warren had 25 to lead Phoenix past Denver.

Josh Jackson and Isaiah Canaan added 16 points apiece off the bench for Phoenix, which snapped a seven-game losing streak to the Nuggets that stretched back to Nov. 20, 2015.

Jamal Murray scored 30 in his return to the lineup and Nikola Jokic had 14 points and 17 rebounds for Denver. Murray missed Wednesday's game at the Los Angeles Clippers with concussion symptoms.

LAKERS 99, PACERS 86

LOS ANGELES (AP) — Reserve guard Jordan Clarkson sparked an undermanned Lakers team with 33 points to lead Los Angeles over Indiana.

The Lakers, missing three injured starters, snapped a two-game skid despite making just two of 14 free throws. They shot 14.3 percent from the line, a franchise low.

Victor Oladipo led the Pacers with 25 points. Domantas Sabonis added 15 points and 14 rebounds.

Three other Lakers scored in double figures besides Clarkson. Julius Randle had 14 points, Kyle Kuzma added 13 and Larry Nance Jr. 10.

The Pacers had won five of seven.

KNICKS 117, JAZZ 115

SALT LAKE CITY (AP) — Tim Hardaway Jr. scored 31 points and New York rallied to beat Utah.

Hardaway was 6 for 7 from behind the arc as the Knicks shot 55 percent from 3-point range.

The Jazz missed three straight 3-pointers on one possession with less than 30 seconds left that would have tied the game at 115 after a late 11-2 run.

Courtney Lee's 13-point third quarter helped the Knicks rebound from a 10-point deficit to take an 85-78 lead into the fourth. Lee and Kristaps Porzingis each scored 18 points.

Rudy Gobert had 23 points and 14 rebounds for the Jazz in his first game since Dec. 15 due to a sprained knee. Rodney Hood added 18 points.

___

For more NBA coverage: https://apnews.com/tag/NBAbasketball