Franz Wagner scored a three-pointer with three seconds left to secure a dramatic 119-118 victory for the Orlando Magic and end the Los Angeles Lakers’ unbeaten home record.
The 23-year-old German was the leading scorer with 37 points, 11 assists and six rebounds as the Magic took advantage of some wayward shooting from the Lakers in the fourth quarter.
The home team was on the verge of an eighth straight home victory when it opened a 118-114 lead with 27 seconds remaining.
Wagner cut the lead to 118-116, before Lakers forward Anthony Davis missed two free throws with a chance to put the game out of reach.
The Magic took full advantage, with Wagner’s 26-foot shot sealing a seventh victory in eight games.
That means Orlando improves to 10-7 and remains fourth in the Eastern Conference. The Lakers are also fourth in the West after slipping to 10-5.
Elsewhere, Brandon Miller scored a career-high 38 points. Charlotte Frelons recovered after losing a 20-point lead to beat the Detroit Pistons 123-121 in overtime.
Detroit trailed 89-69 in the third quarter, but came back to level 107-107 with one minute and 33 seconds remaining.
But Tre Mann’s layup with 3:03 left in overtime gave the Hornets a lead they never relinquished and sealed just a second victory in six games.
RJ Barrett scored 31 points, including 12 in the fourth quarter, as the Toronto Raptors beat the Minnesota Timberwolves 110-105.
Harrison Barnes had 25 points and 10 rebounds as the San Antonio Spurs beat the Utah Jazz 126-118.