NEW YORK (AP) — LeBron James had done his part to put the Miami Heat in control of the Eastern Conference semifinals, and one last free throw was meaningless except to him.
He missed, leaving him one shy of his first 50-point playoff game, muttering to himself after.
"That's the first time I've been disappointed in myself in a win," James said.
Then he smiled, realizing his performance left nothing to complain about.
James tied his playoff career high with 49 points, Chris Bosh made the tiebreaking 3-pointer with 57 seconds left, and the Heat beat the Brooklyn Nets 102-96 on Monday night for a 3-1 lead.
James carried the Heat nearly the entire way until Bosh hit the shot that put Miami ahead for good — a play where James resisted the temptation to force a shot, instead passing to Mario Chalmers, who swung it to a wide-open Bosh.
Ray Allen followed with four free throws and James finished it off with one more, putting the Heat in position to wrap it up at home Wednesday in Game 5.
James was 16 of 24 from the field and 14 of 19 from the free throw line in matching the 49 points he scored for Cleveland against Orlando in the 2009 Eastern Conference finals. He missed his second free throw with 1.1 seconds left.
"He was what was needed on the road and that's what makes him the best player in the game," Heat coach Erik Spoelstra said.
Spoelstra talked to James about coming out in the fourth quarter, but had about as much success as the Nets' defenders.
"He asked me and I didn't know if he was serious or not, and what I told him I cannot say again," James said. "So I wanted to finish out the game. I felt like it was a must-win for us."
Joe Johnson scored 18 points for the Nets, who were 15 of 25 from 3-point range in their Game 3 victory but only 5 of 22 in this one. Paul Pierce scored 16 points, while Deron Williams and Shaun Livingston each had 13.
Dwyane Wade scored 15 points on the night his Heat postseason record of 46 points was shattered. Bosh finished with 12.
Miami pulled out a thrilling victory in a game neither team led by double digits and has won at least one road game in 14 straight series, breaking the record set by the Chicago Bulls from 1991-94.
Kevin Garnett's two free throws tied it with 2:30 remaining. Both teams then couldn't score, with Bosh missing a pair of jumpers before getting a third crack at it when the Heat swung the ball around to him in the corner in front of the Brooklyn bench for a 3 that made it 97-94. Johnson then missed a jumper while trying to draw James' sixth foul — Johnson said afterward that James "flopped" — and Allen's free throws put it away.
"Obviously the series is not over but we really have to have some urgency going to Miami and we've got to come out of there with one," Johnson said.
Wade scored 46 points against Boston in the first round of the 2010 playoffs, and James' best in a Heat uniform had also come against the Celtics, his memorable 45-point performance that saved Miami's season in Game 6 of the 2012 Eastern Conference finals.
Pierce, who asked to guard James after Game 1, was on the wrong end of an assault that was even better this time.
James and the Heat had shrugged off a couple days of chatter from Pierce, who said the Nets weren't afraid of the Heat. But things were testy at the start, with first-quarter technical fouls for James, Pierce, Shane Battier and Alan Anderson. Miami started quickly again, making nine of its first 12 shots, and led 27-22 after one behind 12 points from James.
He opened the second on the bench and Brooklyn started with a 9-2 spurt to take its first lead at 31-29 when Andrei Kirilenko converted a three-point play. James was a force once he returned — especially after a second foul against him seemed to get James more annoyed than any of Pierce's talking did.
James made three straight baskets to turn a three-point deficit into a three-point lead, and he gave Pierce a glare after a thunderous slam later in the period. He had 13 points in just 7 ½ minutes of the quarter, and the Heat led 56-49 after making 24 of 38 shots (63 percent) in the first half.
He had 13 straight Miami points in the third, but Brooklyn cut it to one on a few occasions before James made a pair of free throws to give Miami a 79-76 lead going to the fourth.
Notes: Mirza Teletovic was held to four points and missed all three 3-point attempts. He had been 11 of 19 in the series, Wade saying before the game it was "red alert" when he entered. ... As they have during postseason home games, the Nets had a Brooklyn-based entertainer announce their starting lineups. On Monday it was Mike D of the Beastie Boys. Denzel Washington, Spike Lee and Floyd Mayweather Jr. were also in the crowd.