Jim Dedmon-USA TODAY Sports

Brandon Miller scored 31 points and the Charlotte Hornets rode solid fourth-quarter defense to avenge a loss from two nights earlier, defeating the visiting Cleveland Cavaliers 118-111 on Wednesday.

Tre Mann and Miles Bridges each scored 17 points and Grant Williams had 16 off the bench for the Hornets (18-54), who snapped a five-game losing streak.

But the big development down the stretch was the Cavaliers' inability to score. Cleveland managed just two points in the final 5:29.

Jarrett Allen had 24 points on 11-for-14 shooting to lead Cleveland (44-29). Max Strus added 19 points, reserve Sam Merrill pitched in with 17 and Darius Garland and Georges Niang each provided 14.

Charlotte also received boosts from Vasilije Micic's 11 points and 12 assists and Nick Richards' 11 points and 10 rebounds.

The Cavaliers scored 13 of the first 18 points of the fourth quarter for a 109-105 lead. After going more than four minutes without a made field goal, the Hornets perked up and hit three shots within a 76-second span to draw even at 111.

Then Miller's short jumper put Charlotte ahead with 1:58 to play.

Williams added two free throws in the final 1:26, and Miller sealed the result with a 3-pointer with 25 seconds remaining.

The Cavaliers had offensive snags, managing only Caris LeVert's layup in those final five-plus minutes.

Cleveland beat the Hornets 115-92 on Monday night at home.

The fourth-quarter struggles for both teams seemed out of character after an offensive free-for-all earlier in the game.

The Hornets went to the fourth quarter with a 100-96 lead. That was a notable accomplishment given that Charlotte had gone its previous five games without reaching the 100-point mark.

Cleveland led 70-69 at halftime, shooting 59.5 percent from the field. Charlotte connected on 60 percent of its shots before the break.

However, 3-point shooting made the difference, as the Cavaliers sank 13 triples to the Hornets' eight through the first 24 minutes of action.

Merrill provided Cleveland with its largest lead of the first half -- and the game -- when he drained a trey with 35.7 seconds left in the opening quarter to make it 43-29.

More must-reads:

TODAY'S BEST
Celtics dominate short-handed Cavaliers in blowout Game 1 win
Rangers special teams, goaltending help them take control against Hurricanes
Knicks share brutal injury news on Mitchell Robinson
Titans put Treylon Burks on notice with latest free-agent addition
Rudy Gobert's Defensive Player of the Year award redeems reputation of darkness retreats
LIV Golf scores major win ahead of PGA Championship
Astros GM makes revealing comments about team's trade-deadline strategy amid poor start
Watch: Overtime goal completes Avalanche's comeback in 4-3 win over Stars
Thunder’s three-point barrage takes down Mavericks in Game 1
Legendary Broncos DC Joe Collier dead at 91
Watch: Phillies' Bryce Harper stays hot with another grand slam
Cardinals' Willson Contreras suffers broken arm after being hit by swing
Nuggets star gets fined, but avoids suspension for ugly Game 2 actions
PSG superstar to potentially depart club with zero UEFA Champions League trophies
NFL has a reported date for the 2024 schedule release
Lions sign veteran defensive tackle
Sharks win 2024 NHL Draft Lottery, get No. 1 pick for first time
John Calipari recruiting another top player from Kentucky
Giants designate right-hander for assignment
Former All-Star shares concerns of potential Knicks burnout