Shai Gilgeous-Alexander scored 27 points to help the host Oklahoma City Thunder rally from 26 down to beat the Los Angeles Lakers 123-115 on Wednesday.
The comeback matched the largest in Thunder history and helped the team claim its first win of the season despite several late miscues.
Up three in the final minute, Oklahoma City had a timeout remaining but didn't use it, and Gilgeous-Alexander couldn't get the ball across halfcourt in time, giving the ball back to Los Angeles with 16.8 seconds remaining.
Malik Monk then missed a 3-pointer, the Thunder gave the ball up once again and Carmelo Anthony missed another.
Russell Westbrook, making his first appearance for the Lakers in the city where he spent his first 11 NBA seasons, was ejected in the closing seconds after being called for his second technical foul of the game. Westbrook was upset after Darius Bazley's steal and dunk in the last five seconds.
The Lakers were without LeBron James for the second consecutive game due to right ankle soreness.
Early on, it looked like that wouldn't matter as Anthony Davis helped Los Angeles jump out to a big lead and then Westbrook put together his first triple-double of the season.
But the Thunder worked the deficit down, taking the lead for the first time when Gilgeous-Alexander banked a 3-pointer home at the buzzer to end the third quarter. Oklahoma City never relinquished the lead.
Bazley added 20 points and Josh Giddey tallied 18 points and 10 rebounds as the Thunder had six players score in double figures.
Davis led the Lakers with 30 points while Westbrook had 20 points, 14 rebounds and 13 assists. Westbrook also committed 10 turnovers.
The Lakers led by as many as 23 points in the first quarter, thanks to a pair of 11-0 runs early. Davis scored eight of the Lakers' first 14 points and 12 in the first quarter to help Los Angeles lead 41-19.
The Lakers led by as many as 26 in the second quarter before the Thunder started slowly chipping away at the lead. Oklahoma City put up a season-high 37 points in the quarter, having more success attacking the basket.
After their rough start in the paint early, the Thunder turned things around down low to finish with 54 points inside.