UNDATED (AP) — The San Antonio Spurs have grabbed a share of first place in the NBA's Western Conference by beating the Grizzlies in Memphis while Oklahoma City was losing in Utah.

The Spurs blew a 16-point lead in the last five minutes of regulation before pulling out a 110-108 win at Memphis. Tim Duncan scored 24 points, Marco Belinelli added 19 and Kawhi (kah-WY') Leonard had 17 to carry the Spurs to their fourth straight road win.

Kevin Durant poured in 48 points, but the Thunder had trouble stopping Gordon Hayward in a 112-101 loss to the Jazz. Hayward provided Utah's final 17 points and finished with a career-high 37 on 13-for-16 shooting as the Jazz earned their fourth straight home win.

The Thunder trimmed a 24-point deficit to four before ending an eight-game road winning streak.

Portland could have made it a three-way tie for first in the West, but DeMarcus Cousins had 35 points and 13 rebounds as the Kings beat the Trail Blazers 123-119 in Sacramento. Rudy Gay added 32 points to help the Kings withstand Damian Lillard's career-high 41 points for the Blazers. Lillard scored 26 points in the fourth quarter.

Indiana improved to a league-best 28-6 and stayed 1 ½ games ahead of Miami for the Eastern Conference lead. Roy Hibbert scored 22 points and Danny Granger matched his season high with 13 to help the Pacers beat Toronto 86-79. Lance Stephenson just missed a triple-double, finishing with 13 points, 10 rebounds and eight assists while helping the Pacers outscore the Raptors 40-26 in the paint.

The Heat kept pace as LeBron James scored 32 points and Dwyane (dwayn) Wade added 22 in Miami's 107-88 comeback win against New Orleans. The Heat trailed by 11 early in the third quarter before outscoring the Pelicans 59-26 over the next 20 minutes.

In other NBA action:

— Golden State owns its longest winning streak since December 1975 after David Lee had 22 points and 18 rebounds in the Warriors' 10th straight victory, 101-80 at Milwaukee. Stephen (STEH'-fehn) Curry and Klay Thompson each had 15 points for the Warriors, who led by just two before a 23-7 run to start the second half.

— Dirk Nowitzki scored 27 points and Dallas avoided its first five-game home losing streak in five years by knocking off the Los Angeles Lakers 110-97. Monta (MAHN'-tay) Ellis had 16 points and nine assists for the Mavericks, including 10 straight points midway through the fourth quarter.

— Taj Gibson and Joakim (JOH'-keem) Noah each posted double-doubles as Chicago won for the sixth time in eight games, 92-87 over Phoenix. Gibson had 19 points and 10 rebounds, and Noah added 14 points and 16 boards to help the Bulls send the Suns to just their fourth loss in 15 games.

— Randy Foye hit seven 3-pointers and finished with a season-high 23 points in Denver's 129-98 blowout over Boston. Kenneth Faried had 21 points and 13 rebounds as the Nuggets won their third straight since an eight-game skid.

— C.J. Miles set a team record with 10 3-pointers and scored a season-high 34 points in leading Cleveland's 111-93 win over Philadelphia. Kyrie Irving added 16 points after missing three games with a bruised left knee.

— Bradley Beal scored 21 points and Marcin Gortat (mahr-SEEN' GOHR'-taht) added 18 to lead Washington's 97-83 win over the Bobcats. The Wizards used a 17-0 run in the third quarter to take control and send Charlotte to its sixth loss in seven games.

— Carmelo Anthony scored 13 of his 34 points in the third quarter and hit the game-clinching free throws with 2.9 seconds left in New York's 89-85 victory over Detroit. The Knicks outscored the Pistons 32-17 in the third period and handed Detroit its season-high fifth straight loss.

MEMPHIS, Tenn. (AP) — You don't see many three-team trades pulled off in the middle of an NBA season, but the Memphis Grizzlies have managed to swing one with the Boston Celtics and Oklahoma City Thunder.

The Grizzlies have acquired guard Courtney Lee and sent guard Jerryd Bayless to the Celtics. The Grizzlies get Lee and a 2016 second-round draft pick from Boston. The Celtics received forward Ryan Gomes (gohmz) from Oklahoma City, and the Thunder receive a conditional 2017 second-round draft pick from Memphis.

The Celts say they've already waived Gomes.