CLEVELAND: Ty Lawson scored 24 points, Arron Afflalo added 23 and the struggling Denver Nuggets ended Cleveland’s four-game winning streak with a 106-97 victory over the Cavaliers on Monday night.

Denver took the lead for good early in the third quarter and was up by as many as 14 midway through the fourth.

LeBron James, who missed the morning shootaround because of a cold, led Cleveland with 22 points.

The Nuggets limped into the game having lost seven of eight and were coming off Sunday’s defeat at New York in which they made one field goal in the second quarter.

Denver looked like a different team Monday, placing five players in double figures. Leading 90-84, the Nuggets scored eight straight points and went ahead 98-84 on Lawson’s layup with 6:01 to play.

Cleveland, which hit its first 11 3-pointers Saturday against Atlanta, failed to reach 100 points for the first time in six games.

Timofey Mozgov had 14 points and 11 rebounds for Denver.

Kevin Love, Kyrie Irving and Dion Waiters each scored 20 points for the Cavaliers.

Grizzlies 119 Rockets 93: Mike Conley scored 19 points, and Memphis easily defeated visiting Houston in a matchup of the teams with the N.B.A.’s best records.

Whatever showdown was expected from the two 9-1 teams never materialized as Memphis took a 16-point lead in the first quarter and extended it in each of the remaining periods, until the margin reached 36 points in the fourth. Seven players finished in double figures for the Gizzlies, who won their fourth straight.

Spurs 100 76ers 75: Matt Bonner had 18 points, and host San Antonio handed Philadelphia its 10 straight loss.

Tim Duncan had 16 points and 9 rebounds and Kawhi Leonard had 5 points and 11 rebounds in limited action. Cory Joseph added 14 points for San Antonio (6-4), which never trailed. Duncan played 16 minutes and Tony Parker 18.

Mavericks 107 Hornets 80: Monta Ellis scored 18 points, Chandler Parsons had 17, and Dallas defeated host Charlotte for the Mavericks’ fourth straight win.

Dirk Nowitzki scored 13 points to become the fourth player in N.B.A. history to eclipse 27,000 career points with the same franchise, joining a prestigious group that includes the Hornets owner Michael Jordan, Karl Malone and Kobe Bryant.

Magic 107 Pistons 93: Tobias Harris scored 14 of his 24 points in the fourth quarter as visiting Orlando pulled away late to beat Detroit. Nikola Vucevic finished with 25 points and 14 rebounds for the Magic, who had all five starters in double figures.

Kings, Gay agree to $40M, 3-year deal

Meantime, a person with knowledge of the deal says the Sacramento Kings and forward Rudy Gay have agreed to a $40 million, three-year contract extension that runs through the 2017-18 season.

The person, who spoke to The Associated Press on Sunday on condition of anonymity because the team had not made an official announcement, also says the extension includes a player option in the final year of the deal.

Yahoo Sports first reported the agreement.

Gay is making $19.3 million this season. He was set to become a free agent in July.

Sacramento acquired Gay in a trade with Toronto last season, and he has teamed with center DeMarcus Cousins to form a dynamic scoring duo in California's capital city. Gay is averaging 22.5 points, 6.8 rebounds and 3.5 assists this season to help the Kings get off to a surprising 6-4 start.