MIAMI — Chris Bosh scored 13 straight points for Miami in the final minutes, including a trio of 3-pointers that capped a late rally, and the Heat found a way to beat the Charlotte Bobcats 99-98 on Sunday night to extend their winning streak to 10 games.

Bosh’s three 3s came in a 79-second span, the last of them putting Miami up 93-91 with 1:20 left.

LeBron James led the Heat with 26 points, Bosh finished with 22, Dwyane Wade scored 17 and Mario Chalmers added 12 for Miami, which has beaten the Bobcats 14 straight times.

Kemba Walker scored 27 points for the Bobcats, who had led the entire second half until Bosh’s barrage. Gerald Henderson scored 17, and Al Jefferson finished with 16 points and 13 rebounds for Charlotte.

The Heat were down 12 when James re-entered the game with 8:04 left. He quickly got a three-point play to cut the lead to 79-70, and things got interesting in a hurry.

A 3-pointer from James with 6:18 left cut the lead to six. He made a pass to Chalmers for another 3 about 90 seconds later, and that shot got Miami within three.

That’s when the Bosh long-range display began. The first one bounced off the rim or backboard at least five times. The second one swished.

The third one put Miami up for good, 93-91.

PISTONS 115, 76ERS 100: Andre Drummond had 31 points and 19 rebounds as Detroit won at home against Philadelphia.

Drummond was limited to 34 minutes, but he still became the first player to have at least 31 points, 19 rebounds and six steals in a game since Hakeem Olajuwon in 1990.

NUGGETS 112, RAPTORS 98: Nate Robinson scored 23 points off the bench, and Denver won at Toronto.

The diminutive guard hit five 3-pointers, including back-to-back baskets with just over two minutes to go, as the Nuggets won their sixth straight.

PACERS 105, CLIPPERS 100: David West scored 14 of his 24 points in the third quarter and league-leading Indiana improved its best start in franchise history to 16-1.

THUNDER 113, TIMBERWOLVES 103: Kevin Durant recorded his first triple-double of the season with 32 points, 10 rebounds and 12 assists, and host Oklahoma City rallied for yet another fourth-quarter win.

WARRIORS 115, KINGS 113: Stephen Curry made two free throws with 8.6 seconds left and had 12 of his 36 points in the fourth quarter, helping Golden State win at Sacramento.

PELICANS 103, KNICKS 99: Ryan Anderson made seven 3-pointers and scored 31 points, and New Orleans overcame the loss of Anthony Davis to a broken left hand to win at New York.