LeBron James had 26 points and nine assists and Mario Chalmers added 14 points as the Heat won for the second time in two nights after beating Dallas at home on Thursday.

DeMar DeRozan scored 28 points and Andrea Bargnani had 27 for Toronto. Amir Johnson had 12 points and 12 rebounds and Jose Calderon had 16 assists, one shy of his season high, but the Raptors lost for the sixth time in eight games.

In Orlando, Florida, Dirk Nowitzki banked in a jumper with 5.9 seconds left and scored a game-high 28 points to lead Dallas past Orlando.

Jameer Nelson scored 24 points to lead the Magic. Ryan Anderson added 21 and Dwight Howard finished with 19 points and 15 rebounds.

The Mavericks trailed by 15 points in the third quarter before rallying in the final period, aided by a plethora of turnovers by the Magic.  

In Salt Lake City,  DeMarcus Cousins scored 27 points, including the winning free throw with 3.8 seconds left, to help Sacramento end a four-game losing streak.

The win snapped Utah’s seven-game home winning streak, while the Kings won on the road for only the fifth time this season. Al Jefferson led the Jazz with 27 points. Gordon Hayward added 19, but couldn’t get his driving layup to fall, and Utah’s tip-in attempt was too late.

In Oakland, California,  Gerald Green tied the score with a thundering one-handed dunk from the baseline, then added a go-ahead basket moments later and New Jersey rallied from 19 points down in the second half.

Gerald Wallace had 24 points and 18 rebounds for the Nets, who ended a six-year losing streak at Oracle Arena. Wallace scored 10 points over the final 6 minutes of the game and blocked Charles Jenkins’ potential tying shot just before time ran out.

In Los Angeles,  Chris Paul made a driving layup with 5 seconds to go, lifting the Clippers past Portland for their season high-tying fourth straight victory.

Paul, Blake Griffin and Randy Foye led six Clippers in double figures with 20 points each. Caron Butler and DeAndre Jordan had 12 each, and Nick Young added 10.

J.J. Hickson led the Blazers with a season-high 29 points and 13 rebounds.

In Washington,  Cartier Martin tied a career-high with 20 points in his second game under a 10-day contract, and Washington built a big lead and held on to it for a change, breaking a five-game losing streak.

The loss knocked Philadelphia out of first place in the Atlantic Division, one game behind Boston. The 76ers began the day tied with the Celtics, who beat Minnesota.

The Wizards had blown double-digit leads in their last three home games, but this time they didn’t let up.

In Charlotte, North Carolina, Arron Afflalo scored 12 of his team-high 19 points in the second half and added 11 rebounds as Denver held off Charlotte.

The Nuggets entered in a three-way tie for seventh place in the Western Conference standings with Houston and Utah and in need of a victory against the worst team in the league.

They got it behind a balanced effort as Ty Lawson had 14 points and 10 assists, while Corey Brewer added 17 points off the bench on 7-for-11 shooting, and Kenneth Faried had 12 points.

In Cleveland, Brandon Jennings scored 28 points and Milwaukee routed Cleveland.

Ersan Ilyasova, who missed Tuesday’s game because of back spasms, scored 20 points while Mike Dunleavy added 16 and shot 4 for 5 on 3-pointers. Jennings and Ilyasova didn’t play in the fourth quarter.

In Atlanta, Joe Johnson scored 28 points and Willie Green carried the Hawks in the fourth quarter, leading Atlanta past former coach Mike Woodson and the New York Knicks.

Green scored 15 of his 20 points in the final period, including a 3-pointer from the corner that stretched Atlanta’s lead to 94-84.

Woodson, who coached the Hawks from 2004-10, returned to Philips Arena for the first time as the Knicks interim coach.  

In Minneapolis,  Kevin Garnett had 24 points, 10 rebounds and four assists in his return to Target Center and Boston outmuscled Kevin Love and Minnesota.

Paul Pierce had 21 points and nine rebounds, and Rajon Rondo had 17 assists for the Celtics, who have won four in a row and six of their last seven.

Love had 22 points and 11 rebounds but succumbed to Garnett’s physical defense in a battle between the face of the Timberwolves past and present.

In Houston, Goran Dragic scored a season-high 25 points and Courtney Lee added 17 as Houston beat Memphis at home for the 12th straight time.

Houston led by six with 1:22 remaining before Marcus Camby made two baskets sandwiched around a layup by Rudy Gay to extend the lead to 97-89 about a minute later.

In Chicago,  Luol Deng scored 20 points, Joakim Noah added 19 points and 12 rebounds, and Chicago beat Detroit for the 14th straight time.

The Bulls scored the final eight points after the Pistons closed within four with just under 5 minutes left and improved their league-best record to 42-11 even though star Derrick Rose and Richard Hamilton remained sidelined by injuries.