ORLANDO, Fla. (AP) Monta Ellis scored 21 points and Paul George added 20 to help the Indiana Pacers beat the Orlando Magic 105-102 on Sunday night.

CJ Miles and Ian Mahinmi had 14 points apiece for the Pacers who have won four of their last five. Jordan Hill added 13 points and 10 rebounds.

Evan Fournier led Orlando with 23 points. Nikola Vucevic added 19 points and 13 rebounds and Victor Oladipo scored 17 points.

More from FoxSports

The Magic had the ball trailing 103-102 with 9.3 seconds left, but the only shot they got was a forced 3-point attempt by Oladipo that wasn't close. Myles Turner rebounded and made two free throws for the final margin.

The game was close, though not well played throughout. Neither team led by more than eight points. Indiana had to overcome 21 turnovers, including 17 in the first half.