The New York Knicks pulled away midway through the second half to stun the two-time defending champion Miami Heat 102-92 at Madison Square Garden.

Carmelo Anthony held his own against four-time NBA MVP LeBron James on Thursday night, scoring 29 points, grabbing eight rebounds and dishing out five assists, while Italian center Andrea Bargnani contributed 19 points and five rebounds.

Amar'e Stoudemire gave New York a boost off the bench with 14 points and 11 rebounds and point guard Raymond Felton had a double-double of his own, scoring 13 points and tallying 14 assists.

Shooting guard Iman Shumpert also made a key contribution with 12 points and nine rebounds.

The decisive juncture of the game was the end of the third quarter and start of the fourth, when the Knicks went on a 16-0 run to turn a 71-66 deficit into an 82-71 lead.

The teams had nearly identical field-goal percentages (54.4 percent for the Heat and 53.7 percent for the Knicks) but New York had 14 more field-goal attempts thanks to a 10-4 edge in the offensive rebounding battle and five fewer turnovers.

James scored 32 points on 12-of-17 shooting and Dwyane Wade added 23 points on 11-of-15 from the field, but the other member of Miami's big three, Chris Bosh, had an off night with just six points in 37 minutes of play.

The Knicks, who started the season in dismal fashion, won their third straight to improve their record to 13-22, while the Heat fell to 27-9, a game and a half behind the Eastern Conference-leading Indiana Pacers.

In one other NBA game Thursday night, the Denver Nuggets defeated the Oklahoma City Thunder 101-88. EFE