CHARLOTTE, N.C. (AP) Kemba Walker put the Charlotte Hornets in prime position for a big win when he made a driving one-handed scoop layup with 0.7 seconds left in regulation.
''Yeah, I thought it was over,'' Walker said with a smile.
Instead, Sacramento scored on an alley-oop inbounds play, forcing Walker and the Hornets to dig a little deeper for a 127-122 comeback win over the Kings on Monday night.
Walker scored 21 of his 39 points in the fourth quarter and had four more in overtime as the Hornets rallied from 22 points down in the second half on the way to their sixth consecutive home win.
It was the second-largest comeback in franchise history.
The Hornets trailed 91-74 after three quarters before Walker got hot. He was 9 of 10 from the field in the fourth with three 3-pointers, four rebounds, an assist and a blocked shot.
''I was doing anything possible to win,'' Walker said. ''I got great looks and my shots were falling. I kept being aggressive and making the right plays. That is what I try to do - make the right plays.''
Nicolas Batum had 18 points, 10 rebounds and eight assists for the Hornets, who have won four of their last five. Jeremy Lin had seven of his 14 points in overtime.
''To come back like that and play like we did in the fourth quarter it's good and it shows the fight we have within our group,'' Hornets coach Steve Clifford said.
DeMarcus Cousins had 30 points and 11 rebounds for Sacramento, and Rudy Gay had 28 points and 10 boards. Rajon Rondo had 14 points and 20 assists.
The Kings forced overtime when Gay scored on a side inbounds pass from Rondo. But the Hornets controlled the extra period.
Rookie Frank Kaminsky knocked down a 3-pointer from the top of the key and Lin converted a three-point play off a nifty drive down the right side of the lane, giving the Hornets a 118-114 edge. Lin then sliced through the defense for a reverse layup to push the lead to six and bring the crowd to its feet.
The Kings pulled within two before Lin hit a step-back jumper from 19 feet to make it a two-possession game with 43 seconds left.
After a Rondo turnover, Walker drained two free throws to make it 124-118 and the Kings never challenged again.
The game was tied at halftime, but Gay scored 16 points in the third to help the Kings build a 22-point lead.
Kings coach George Karl felt his team's fatigue was a factor down the stretch.
''I should have substituted probably earlier and more often,'' Karl said. ''I thought we were going to win the game with the switching. We probably should have changed it up with more blitzing.''
Karl said Cousins sprained his back in the third quarter, although he did continue to play and scored 12 points in the fourth. Cousins appeared to be walking fine in the locker room after the game.
''You could see it was bothering him,'' Karl said. ''He went back in. We probably should have not played him because he was never a hundred percent after that.''
The Hornets battled back in the fourth quarter behind a lineup that included Walker, Lin, Batum, Kaminsky and Cody Zeller - and not star center Al Jefferson. Clifford said the team's improved depth affords him the option to do that.
Kings: Rondo was two assists shy of the franchise record of 22 set by Phil Ford in 1979. ... Sacramento fell to 4-1 after leading entering the fourth quarter.
Hornets: Walker moved past David Wesley into third place in Hornets history in made 3-pointers with 393. ... P.J. Hairston started and had a season-high six rebounds.
Kings: Visit Milwaukee on Wednesday night.
Hornets: Host Washington on Wednesday night.