Atlanta Hawks center Dwight Howard (8) dunks over New York Knicks center Joakim Noah (13) in the second half of an NBA basketball game on Sunday, Jan. 29, 2017, in Atlanta. The Hawks won the game in the fourth overtime 142-139. (AP Photo/Todd Kirkland)
Atlanta Hawks center Dwight Howard (8) dunks over New York Knicks center Joakim Noah (13) in the second half of an NBA basketball game on Sunday, Jan. 29, 2017, in Atlanta. The Hawks won the game in the fourth overtime 142-139. (AP Photo/Todd Kirkland) Credit: ap — Todd Kirkland

Atlanta — Paul Millsap had a season-high 37 points, including the go-ahead layup with 27 seconds remaining in the fourth overtime, and the Atlanta Hawks overcame Carmelo Anthony’s season-high 45 points to outlast the shorthanded New York Knicks, 142-139, on Sunday.

The Knicks’ first four-overtime game in 66 years lasted almost four hours. Millsap logged 60 minutes. Five players, including Anthony and Atlanta’s Dwight Howard, fouled out.

Anthony scored the tying baskets at the end of regulation and the first overtime, before fouling out with 12.9 seconds remaining in the second overtime. Courtney Lee sank a 26-foot tying 3-pointer with 1.5 seconds remaining in the second OT and sank the tying free throws late in the third extra period.

Cavaliers 107, Thunder 91

Cleveland — Kyrie Irving scored 29 points, LeBron James had 25 and 14 rebounds and Cleveland played one of its better all-around games in weeks, beating Russell Westbrook and Oklahoma City.

The Cavs have won two straight after the NBA champions lost six of eight amid internal turmoil sparked by James criticizing the team’s roster following a recent loss.

Westbrook finished with 20 points, 12 rebounds and 10 assists for his 24th triple-double, but only made seven of 26 shots for the Thunder, who had won three straight.

Bulls 121, Sixers 108

Chicago — Jimmy Butler scored 28 points, and Robin Lopez added a season-high 21 points and had 10 rebounds to help Chicago beat Philadelphia.

After a week of tension, the Bulls bounced back from consecutive home losses to Atlanta and Miami despite blowing a 20-point lead.

Butler and Dwyane Wade returned to the starting lineup after being benched as starters Friday night in a blowout loss to the Heat. Wade and Butler were critical of teammates after they blew a late double-digit lead in a loss to the Hawks on Wednesday.

Mavericks 105, Spurs 101

San Antonio — Seth Curry scored 24 points and Dallas snapped a 12-game losing streak in San Antonio.

Kawhi Leonard had 24 points for San Antonio, which lost consecutive games for just the second time this season.

Pacers 120, Rockets 101

Indianapolis — Paul George had 33 points and nine rebounds while hounding James Harden on defense most of the night, leading Indiana past Houston for its third straight victory

Clearly, Harden was not himself on the last leg of a five-game trip. He was 3-of-17 from the field, 2-of-10 on 3-pointers, had eight turnovers and 15 points. He also had five rebounds and eight assists.

Magic 114, Raptors 113

Toronto — Nikola Vucevic had 25 points and 10 rebounds, D.J. Augustin added 21 points off the bench to help Orlando beat Toronto.

Vucevic, who also had five assists, keyed a late-second quarter surge that saw the Magic close the first half on a 21-2 run to take the lead for good in snapping a three-game losing streak.

Wizards 107, Pelicans 94

New Orleans — John Wall had 18 points and 19 assists, Bradley Beal scored 27 points, and Washington beat New Orleans to extend its winning streak to four.

Marcin Gortat had 17 points and 11 rebounds, and Markieff Morris added 21 points for the Wizards. They briefly squandered a 17-point halftime lead, but regained control for good with a pivotal 8-0 run in the middle of the third quarter that was highlighted by 3s by Beal and Morris.

Anthony Davis had 36 points, 17 rebounds, three steals and two blocked shots for the Pelicans. Jrue Holiday had 26 points and 11 assists.