AUBURN HILLS, Mich. (AP) — Shane Larkin's three-point play in the final minute of the second overtime helped the New York Knicks snap their eight-game losing streak with a 121-115 victory over the Detroit Pistons on Friday night.

Larkin put the Knicks ahead by four with 28 seconds remaining, and they held on to win a game that Detroit appeared to have control of after two quarters. The Pistons led by 18 in the second and by 12 at the half but blew what looked to be an easy game against the team with the NBA's worst record.

Detroit squandered a five-point lead in the final minute of regulation, allowing the Knicks to tie it at 95 it on a pull-up 3-pointer by Langston Galloway with 6.3 seconds remaining.

With the Pistons down 105-103 late in the first overtime, Detroit's Greg Monroe scored while drawing a foul with 12 seconds left, but he missed the ensuing free throw.

Monroe and the Pistons would go on to miss several more crucial free throws in the second overtime.

Andre Drummond had 21 points and 15 rebounds for Detroit, but recently acquired point guard Reggie Jackson shot 5 of 24 from the field. The Pistons went 8 of 31 from 3-point range.

___

TIP-INS

Knicks: Tim Hardaway Jr., whose father is an assistant coach for the Pistons, scored 18 points for the Knicks. The younger Hardaway played down the stretch with a bandage above his left eye after receiving four stitches for a cut.

Pistons: Detroit assigned F Quincy Miller to the team's NBA Development League affiliate in Grand Rapids. ... The Pistons observed a moment of silence before the game for Earl Lloyd, the first black player in NBA history. Lloyd died Thursday at age 86. He played two seasons with Detroit and later coached the Pistons.