NEW YORK // Carmelo Anthony helped lift the Knicks out of their recent slump with 39 points and 10 rebounds in New York's 113-106 overtime win over the Orlando Magic.
The Knicks' recent lack of chemistry had been under the microscope heading into the game but despite giving up the lead and being forced into overtime they held their nerve to snap a six-game losing streak.
"We had a will to win," Anthony said after his highest scoring effort since joining the Knicks in February's trade from Denver. "We knew that the day would come when we would get out of this hole and stop the losing streak."
New York led 96-90 with about a minute left in the fourth quarter before Orlando rallied to send the game into overtime on Jason Richardson's game-tying three-pointer with five seconds left in regulation.
The Knicks recovered in the extra session where they opened play with two three-pointers and closed with the final five points.
Chauncey Billups made a three-pointer to put the home team in front 106-104 with 3:15 to go in overtime and New York (36-38) never trailed after that.
Amar'e Stoudemire added 20 points and nine rebounds in the winning effort and the Knicks stayed two games behind the Philadelphia 76ers for sixth spot in the Eastern Conference.
Dwight Howard led the way for the Magic (47-27) with 29 points and 18 rebounds but managed just two points in overtime.
He picked up his 17th technical foul of the season late in the game. One more will earn him a second one-game suspension.
The NBA gives a mandatory one-game suspension when a player reaches 16 technicals and dishes out more suspensions for every two technical calls after that.
Orlando, who had beaten the Knicks in their last six meetings, also saw a five-game win streak snapped and remain fourth in the east.