Buddy Hield scored a season-high 35 points, Richaun Holmes hit two free throws with 13.3 seconds remaining to give Sacramento the lead, and the Kings snapped the Boston Celtics’ 10-game winning streak with a 100-99 victory Sunday.

Marcus Smart had a chance to win it for Boston, but his runner in the lane hung on the rim before trickling off as the buzzer sounded.

Harrison Barnes added 13 points and Bogdan Bogdanovic had 12 points and 10 assists for the Kings (5-7), who lost a similarly close game two nights earlier to the Lakers in Los Angeles.

Sacramento Kings forward Richaun Holmes, left, goes to the basket against Boston Celtics center Robert Williams III during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

Sacramento Kings forward Richaun Holmes, left, goes to the basket against Boston Celtics center Robert Williams III during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

The Celtics (10-2) lost for the first time since their Oct. 23 opener at Philadelphia.

Jaylen Brown scored 18 points and Kemba Walker had 15 for Boston. Jayson Tatum and Daniel Theis each added 14.

Down four to start the second half, the Celtics outscored the Kings 29-21 in the third quarter to take a 75-71 advantage entering the fourth.

Boston Celtics guard Marcus Smart, left, fouls Sacramento Kings guard Bogdan Bogdanovic during the first half of an NBA basketball game in Sacramento, Calif., Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

Boston Celtics guard Marcus Smart, left, fouls Sacramento Kings guard Bogdan Bogdanovic during the first half of an NBA basketball game in Sacramento, Calif., Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

The Kings led 50-46 at the half, holding the Celtics to 41% shooting (16 for 39) overall and 5 for 17 from beyond the arc.

Hield had 16 points on 7-for-11 shooting to lead Sacramento over the first two quarters.

Boston didn’t have a player crack double figures in scoring in the first half and helped Sacramento by committing 11 turnovers, which the Kings converted into 13 points.

Boston Celtics guard Marcus Smart, left, scrambles for the ball against Sacramento Kings guard Buddy Hield, right, during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

Boston Celtics guard Marcus Smart, left, scrambles for the ball against Sacramento Kings guard Buddy Hield, right, during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

TIP-INS

Celtics: According to STATS, Boston was just the second team in NBA history to rattle off 10 wins in a row after losing its opener, joining the 1979-80 Milwaukee Bucks.

Kings: Coach Luke Walton didn’t offer much reaction to the NBA announcing that a key foul on Barnes on Friday, which sent LeBron James to the line to sink two free throws that helped the Lakers pull out the win, should have been called an offensive foul on James. “I don’t care, I don’t look at it,” Walton said. “Our mindset is ‘What’s next? What are we doing next?’”

Boston Celtics guard Marcus Smart, left, fouls Sacramento Kings guard Bogdan Bogdanovic during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

Boston Celtics guard Marcus Smart, left, fouls Sacramento Kings guard Bogdan Bogdanovic during the first half of an NBA basketball game in Sunday, Nov. 17, 2019. (AP PhotoRich Pedroncelli)

UP NEXT

Celtics: Boston continues its four-game road swing through the West with a Monday night matchup at Phoenix.

Kings: Sacramento returns to the court Tuesday to host the Suns, who will be on the second night of a back-to-back stretch.

More AP NBA: https://apnews.com/NBA and https://twitter.com/AP_Sports