Cole Aldrich had a career-high 19 points and the New York Knicks beat the Orlando Magic 80-79 on Saturday night in a game that had the lowest-scoring quarter in NBA history.

The teams combined to score only 15 points in the second quarter, breaking the mark of 18.

Aldrich also had 14 rebounds to help the Knicks win for the second time in 13 games. Tim Hardaway Jr. added 13 points, including a late 3-pointer that proved to the winner.

Victor Oladipo had 21 points to lead a Magic team that has lost two straight and dropped their final home game of the season. Tobias Harris added 15 points.

The Knicks scored eight points in the second quarter, shooting 3 for 20 from the field with a pair of turnovers. The Magic had seven points and were 3 for 19 from the field, with seven turnovers. Orlando went the better part of 10 minutes in the second quarter with just one field goal and a free throw before getting two late baskets by Victor Oladipo.

The previous NBA mark was accomplished three times, the last by Utah and Detroit on March 13, 2005.

The seven points scored by Orlando in the period tied a team record for fewest points in a quarter. It also set a Magic record for fewest points in a second quarter.

Orlando overcame its early scoring woes, erased an 11-point fourth-quarter deficit and took a 69-68 lead on a 3-pointer by Willie Green with 5:08 to play in the game.

The score was tied at 73 when Elfrid Payton put the Magic back in front 75-73 with a short jumper.

But the Knicks tied it right back up on their next possession on Tim Hardaway, Jr.'s long jumper from the wing.

Oladipo missed a layup coming out of a timeout and Hardaway was fouled going to basket by Nik Vucevic. He converted on his ensuing free throws to nudge New York back in front 77-75 with 41.6 seconds remaining.

After nearly losing the ball on their first attempt to inbound, the Magic got the ball into Oladipo's hands, who tied it again on a driving layup.

The Knicks ran down the clock and Langston Galloway lost the ball on a drive. But the ball eventually found its way to Hardaway, who drilled a 3 to make it 80-77.

Oladipo missed a jumper, and the ball wound up in a tie up between Cleanthony Early and Channing Frye with 6.9 left.

Frye won the ensuing jump and after a long 3-pointer missed for Oladipo, Vucevic had to settle for a layup with only .9 showing on the clock.

TIP-INS

Knicks: Shot just 37 percent from the field (31 of 82) and 6 for 20 from the 3-point line (30 percent).

Magic: Have made a 3-point field goal in 654 consecutive games, dating all the way back to March 17, 2007. ... G Evan Fournier sat out. He had played the last two games, but previously missed 17 straight games with a sore right hip. ...Orlando's players have missed a total of 155 games this season due to injury or illness.

UP NEXT

Knicks: At Atlanta on Monday night.

Magic: At Miami on Monday night.