De'Aaron Fox finished off a dazzling playoff debut that was years in the making and had one more task to do.
With the home crowd counting down following an exhilarating return to the postseason, Fox pressed the button and lit the ceremonial beam, letting out 17 seasons of frustration for Sacramento.
"Sacramento showed out tonight," Fox said. "But doing this for the fans, just knowing the way that they support this team through thick and thin -- really thin. It's just a testament to the way they are."
Fox was the biggest reason for the celebration, scoring 38 points to tie for the second-highest scoring playoff debut in NBA history as he led the Kings to a 126-123 victoryover the defending champion Golden State Warriors on Saturday night.
Fox scored 29 points in the second half after taking time to adjust to the playoff physicality and hit the 3-pointer that gave Sacramento the lead for good late in the fourth quarter.
He took until his sixth season to reach the postseason but announced himself as a star, as only Luka Doncic scored more points in a playoff debut, with 42 three years ago.
"You need guys like that on your side because they know everything that we're throwing at them," Kings coach Mike Brown said. "There's no secrets. You have to have guys on your team that can go make plays, and Foxy went and made plays tonight."
The first playoff meeting between the Northern California neighbors lived up to the hype and delighted the raucous crowd that had been waiting for a postseason game since 2006.
The inexperienced Kings closed the game strong against a Warriors team that has won four titles in the previous eight seasons.
After Stephen Curry hit a corner 3-pointer to give Golden State a 114-112 lead with about four minutes left, the Kings responded with seven in a row starting with a 3-pointer from Fox.
The Warriors didn't go away, cutting the deficit to one on a layup by Curry in the final minute. But Andrew Wiggins missed a corner 3 for the lead in the closing seconds of his first game in more than two months.
Malik Monk made two free throws to make it 126-123 with 2.9 seconds left, and Curry missed a runner from 3 at the buzzer, giving the Kings their first playoff win since April 30, 2006, against the San Antonio Spurs.
Monk finished with 32 points off the bench, and Domantas Sabonis had 12 points and 16 rebounds.
It was a festive environment in success-starved Sacramento, where fans gathered outside the arena hours before the start of the Kings' first playoff game following an NBA-record 16-year drought.
The arena was deafening starting in pregame warmups, with some fans even bringing back the cowbells that were so common during the Kings' playoff runs two decades ago.
"It was incredible all night," forward Harrison Barnes said. "When guys ran out for layup lines with how loud it got in there and I think everyone got chills."
The excitement appeared to take a toll on the inexperienced Kings, who struggled shooting the ball early. Sacramento shot 39.2% in the first half and trailed Golden State 61-55 at halftime.
The Warriors built the lead to 10 points in the third quarter before Sacramento ended the quarter on a 15-4 run fueled by 10 points from Trey Lyles to take a 91-90 lead into the fourth, igniting the crowd.
"Our fans were off the charts," Brown said. "It was deafening in there, extremely loud. So you have to take off your hat to them because they brought it."
The Associated Press contributed to this report.