Kings 105, Magic 99

Garrett Temple scored 19 of his career-high 34 points in the fourth quarter to lift the visiting Sacramento Kings to a win over the Orlando Magic on Tuesday night.

Willie Cauley-Stein had 21 points and nine rebounds and Buddy Hield added 13 points for the Kings, who stopped an eight-game losing streak. Temple accounted for all of Sacramento’s points during a 17-6 run that put the Kings ahead 103-97 with 23.5 seconds to go.

Evan Fournier led the Magic with 22 points and Elfrid Payton had 21 points, seven assists and seven rebounds. Aaron Gordon added 16 and Jonathon Simmons had 14 for Orlando.

Payton’s pull-up jumper with 7:13 remaining had given the Magic a 91-86 lead. Orlando made just one more field goal — a dunk by Bismack Biyombo with 5:33 left — before Payton made a meaningless layup with under one second to play.

Sacramento rallied from an 11-point third-quarter deficit to take a 94-93 lead on Temple’s 3-pointer with 5:11 left in the game. Temple followed that with two perimeter jumpers and another 3-pointer to help the Kings to a 101-97 lead with 1:31 to go.

Thunder 109, Nets 108

Russell Westbrook made a go-ahead layup with 3.3 seconds left to help the host Oklahoma City Thunder rally from a 15-point second-half deficit and beat the Brooklyn Nets.

The lead changed hands six times in the final 2:23. Brooklyn went ahead 108-107 on a driving layup by Spencer Dinwiddie with 7.8 seconds left, but Westbrook answered with his own. After three timeouts, Dinwiddie missed a 3-point attempt at the buzzer, with the Thunder’s Andre Roberson guarding him closely.

Westbrook had 32 points and Paul George had 28 with nine rebounds. George was left off the NBA All-Star roster earlier in the day.

Joe Harris led the Nets with 19 points while Dinwiddie and DeMarre Carroll had 13 each.