Brandon Knight had a career-high 31 points, including five 3-pointers, and Greg Monroe scored 17 points and the Detroit Pistons ended a two-game losing streak with a 104-102 win over the Orlando Magic on Sunday.
The Magic had a chance to tie the game in the closing seconds after a missed free throw, but missed three putback attempts as the final horn sounded.
Orlando's J.J. Redick tied a career high with 31 points and set a career high with eight 3-pointers.
Jameer Nelson had 18 points and eight assists, and Glen Davis added 17 points and 12 rebounds.
The Magic have lost five straight games, including 10 of 11 at home.