Alonzo Adams-USA TODAY Sports

Shai Gilgeous-Alexander scored 36 and Josh Giddey added a season-high 23 as the Oklahoma City Thunder knocked off the Boston Celtics 127-123 on Tuesday in Oklahoma City.

The victory extended the Thunder's winning streak to five while snapping the Celtics' six-game winning streak.

With less than four seconds left, Kristaps Porzingis hit an apparent corner 3 that would've cut Oklahoma City's lead to one.

But Porzingis' foot was on the line and the shot was ruled a two instead and the Thunder held a 125-123 lead.

Gilgeous-Alexander hit both free throws after being fouled off the inbounds to all but seal the win.

Oklahoma City led by 18 with seven minutes remaining before Boston ripped off 10 consecutive points, thanks in large part to two 3-pointers by Derrick White, to pull within eight with five minutes to play.

But after White assisted on Jayson Tatum's alley-oop, Thunder rookie big man Chet Holmgren drilled a catch-and-shoot three from the wing to end the run and stabilize the Thunder.

But Boston kept coming, cutting the Thunder's lead to two with 41 seconds left on another 3-pointer by White. Jalen Williams answered with a jumper and Oklahoma City hit four free throws to hold off the Celtics.

Porzingis led Boston with 34 points and added 10 rebounds. Tatum had 30 points, 13 rebounds and eight assists while White scored 19 points.

The Celtics led by three at halftime but the Thunder quickly jumped ahead, going 16 of 26 (61.5 percent) from the floor and hitting 6 of 9 from beyond the arc as Oklahoma City outscored Boston 40-25 in the third.

Gilgeous-Alexander scored 16 and Giddey 11 in the quarter.

Giddey has struggled much of the season but has come on strong of late.

Over the last three games, Giddey is averaging 18.3 points, 7.3 rebounds and five assists while shooting nearly 55 percent from the floor.

Giddey added eight rebounds and six assists Tuesday.

Oklahoma City shot 52.7 percent from the floor, its fourth consecutive game shooting 50 percent or better. It was just the fourth time this season that an opponent shot 50 percent or more against Boston.

More must-reads:

TODAY'S BEST
Juan Soto's bat speed decline threatens Mets' $765 million investment
NFL team executive expands on what Browns' Shedeur Sanders did wrong before draft
Insider suggests four-time Pro Bowl option for Steelers if Aaron Rodgers doesn't sign
Watch: Pacers, Tyrese Haliburton eliminate the Bucks in OT
Stanley Cup playoffs takeaways: Hurricanes advance, panic time for Maple Leafs
Jayson Tatum's historic game helps send Celtics to Eastern Conference semis
Yankees offense goes nuclear in blowout win
Pirates ace Paul Skenes explains why he's not concerned about potential injuries
Steelers may have found another steal in UDFA pool as Pittsburgh lands an athletic freak
49ers sign star TE to four-year extension
Spurs' Stephon Castle runs away with Rookie of the Year Award
Kings to make Doug Christie new head coach in full-circle moment
Vikings QB J.J. McCarthy sends strong message about whether he's ready to start in 2025
Pistons' Cade Cunningham comes alive in fourth quarter to stave off elimination vs. Knicks
Cubs defeat Pirates with an impressive night at the plate
Watch: Blue Jays' Daulton Varsho makes potential catch of the year
How Steelers reportedly expect Aaron Rodgers saga will end
Watch: Yankees open game with three straight home runs ... again
Ousmane Dembele strike lifts PSG over Arsenal in first leg of Champions League semifinal
Report: CB Jaire Alexander might stick with Packers