ORLANDO, Fla. (AP) -- Tobias Harris scored 19 points and the Orlando Magic hung on to beat the Boston Celtics 100-95 on Tuesday night.
Nik Vucevic and Kyle O'Quinn each added 18 points as Orlando ended a four-game losing streak.
Orlando looked to be in control in the second half and led by as many as 27 points. But that advantage was trimmed all the way down to three points in the closing minutes. The Magic were outscored 35-15 in the fourth quarter, but never trailed.
Tyler Zeller led the Celtics with 22 points and 10 rebounds. Avery Bradley added 20 points, and Kelly Olynyk 14.
Boston looked sluggish offensively for most of the night, connecting on just 38 percent of its field goal attempts.
Orlando led by 25 entering the final period, but fell apart in the closing minutes, relying on outside shots and turning the ball over five times.
The Celtics, who couldn't find the basket in the first half, scored from all over the court in the final 12 minutes.
Olynyk's 3-pointer got Boston within 90-87 with just 2:34 to play, but the Magic were able to cobble together enough free throws in the final 2 minutes to preserve the win.
The Magic were the beneficiaries of an inept first-quarter shooting performance by the Celtics. Boston connected on just one of its first 17 field goal attempts in period, and finished the quarter 2 for 22.
The Magic continued to pile on at the outset of the second quarter, getting a lift from their bench as they sprinted out to 40-15 lead with just over 8 minutes to play before the half. Ben Gordon had the hottest hand of Orlando's reserves, scoring eight points during the spurt.
Orlando also scored 15 points off nine Boston turnovers in the half.
Celtics: The Celtics set new season lows for points in a quarter (9), and points in a half (30) on Tuesday night. ... James Young (right shoulder injury) remained inactive against the Magic. Coach Brad Stevens said he will see a doctor when the team gets to back Boston in hopes of getting approval to play.
Magic: Reserve G Willie Green, who was inactive Sunday against the 76ers with flu-like symptoms, was activated Tuesday night.
Celtics: Host Brooklyn on Friday.
Magic: Host Cleveland on Friday.