James finished with 32 points, nine rebounds, eight assists, three steals and two blocked shots, but also missed three second-half free throws and went 10-for-16 from the line. His teammates jumped up and down in delight when the ball went through, then the officials gathered to review the play before ruling his shot beat the buzzer.
Stephen Jackson hit a go-ahead 22-foot jumper over James with 6.4 seconds left and finished with 24 points, eight rebounds and eight assists for Golden State. The Warriors also lost at the buzzer Wednesday night against Oklahoma City.
Golden State's Monta Ellis scored 20 points in his season debut and return from an ankle injury. He did his best to upstage LeBron, but to no avail.
"That's not the first time he's hit a buzzer-beater to hurt people at their own place," Jackson said. "That's what he does. That's why he's one of the best in the league."
The game featured 27 lead changes and 15 ties - 10 lead changes alone in the fourth quarter.
Ellis made a powerful one-handed dunk with 6:54 left put Golden State ahead and showed he indeed is healthy after a left ankle injury had sidelined him so far. Ellis' basket with 1:51 to go made it 97-96, then Daniel Gibson hit a 3-pointer on the other end. Ellis then converted a pair of free throws at 1:17 to tie it at 99.
James followed by missing a layup and Jackson made two free throws at 1:04. Mo Williams hit a baseline 3 with 51.2 seconds left, only to see Jackson answer.
"That guy there, No. 23, LeBron ... it is what it is," Williams said. "He's a great player and he makes great plays."
Corey Maggette had 23 points, eight rebounds and made all 11 of his free throws, and Anthony Morrow added 19 points for Golden State, which isn't expected to see former star Baron Davis make his Bay Area comeback with the Los Angeles Clippers on Sunday because of a bruised tailbone.
Ellis hurt his ankle five months ago in a motorized scooter accident. The explosive guard, who received a six-year, $66 million contract extension earlier in July, was suspended by the Warriors for 30 games without pay.
He received a warm welcome from the sellout crowd of 19,596 before the game, then the fans roared when he hit a 12-foot fadeaway and was fouled with 7:10 left in the first quarter and again on his driving layin at the 4:22 mark.
He hit a 27-foot 3-pointer as the third-quarter buzzer sounded, pulling Golden State within 84-81 heading into the final 12 minutes.
"It felt great. It went down to the end and great players make great shots at the end of the game," Ellis said. "I didn't expect anything. ... Being out so long part of my game's still rusty."
Ellis wasn't interested in setting the record straight about his summer escapade.
"That's behind me," he said. "I don't even remember."
The 23-year-old Ellis, selected out of high school in the second round of the 2005 NBA draft, averaged career bests of 20.2 points, 5.0 rebounds, 3.4 assists and 1.53 steals in 37.9 minutes and 81 games last season. He was named the NBA's Most Improved Player after the 2006-07 campaign.