Updated

Charlotte, NC (SportsNetwork.com) - Kemba Walker's layup with 0.3 seconds to play helped the Charlotte Hornets hold off a late New York Knicks surge and end their 10-game losing streak with a thrilling 103-102 victory on Friday.

Carmelo Anthony gave the Knicks a 102-101 lead off a wide-open 3 from the left side with 40.7 seconds to play. After each team missed a jump shot, the Hornets took a timeout with four seconds to play after Marvin Williams rebounded Anthony's miss.

Coming out of the timeout, Walker raced up to the top of the arc to receive the inbound pass and darted through the key, laying the ball off the glass and into the net for the deciding basket as the buzzer sounded.

"I just saw an open lane ... I knew I had to get to the basket in a hurry and I was able to get a shot up," Walker said.

Gerald Henderson finished with a season-high 22 points on 8-of-10 shooting, Al Jefferson had 16 points and 13 rebounds, and Lance Stephenson also scored 16 points for Charlotte, which won its first game since Nov. 14 at Phoenix.

Anthony had a game-high 32 points, while J.R. Smith and Tim Hardaway Jr. supplied 14 and 13 points, respectively, off the bench in the Knicks' seventh straight loss.

"We weren't engaged in the things we needed to do to be successful against this team," Knicks coach Derek Fisher said.

The Hornets led by as much as 21 points after Henderson's layup with 2:31 to play in the third quarter, but the Knicks mounted a furious comeback,

A pair of Hardaway triples book-ended a 18-8 spurt that whittled Charlotte's lead down to 97-89 with 6:02 remaining in the game.

Anthony netted four points before Smith's triple from the right wing cut the lead to five points with two minutes to play. After Pablo Prigioni stole the ball from Jefferson, Anthony made it a one-possession game for a 101-99 score with 1:22 left.

Charlotte pulled away from the Knicks with a 10-3 run in the final minutes of the first quarter. After a PJ Hairston 3-pointer, Bismack Biyombo followed with an alley oop and another slam and the Hornets took a 31-21 lead into the second.

Smith netted the Knicks' first nine points of the second quarter to cut the deficit to 35-30 just over four minutes into the frame, but Williams responded with a jumper and a trey to quickly restore Charlotte's 10-point advantage.

The Hornets led 57-45 at halftime.

The two teams traded baskets early in the third stanza, but Henderson's fadeaway jumper capped a 6-0 burst and his shot from beyond the arc three minutes later extended Charlotte's lead to 80-60 with 3:04 to go in the frame.

Game Notes

Charlotte won its first home game since a 122-119 overtime victory against the Atlanta Hawks on Nov. 7 ... The Knicks have dropped their last nine games on the road ... The Hornets outscored the Knicks by a 52-30 margin in the paint and shot 47.7 percent from the floor ... The season series continues in New York on Jan. 10.