Boston Celtics' Terry Rozier (12) and Marcus Smart (36) celebrate as Indiana Pacers' Bojan Bogdanovic (44) watches after Boston defeated Indiana, 112-111, in an NBA basketball game, Monday, Dec. 18, 2017, in Indianapolis. (AP Photo/Darron Cummings)
Boston Celtics' Terry Rozier (12) and Marcus Smart (36) celebrate as Indiana Pacers' Bojan Bogdanovic (44) watches after Boston defeated Indiana, 112-111, in an NBA basketball game, Monday, Dec. 18, 2017, in Indianapolis. (AP Photo/Darron Cummings) Credit: Darron Cummings

Indianapolis — Boston’s plan was simple: Foul quickly and send the Pacers to the free throw line.

But trailing by one with seconds ticking away, the Celtics didn’t get the whistle they wanted.

Instead, they got the steal they needed.

Terry Rozier turned it into a go-ahead dunk with 1.5 seconds remaining that gave the Celtics a 112-111 victory over Indiana on Monday night.

Following an inbound pass with nine seconds left, Boston was attempting to trap Indiana’s Bojan Bogdanovic along the sideline. With 4.3 seconds left, Bogdanovic, who would have almost certainly been fouled had he simply held onto the ball, threw a high pass intended for Victor Oladipo near midcourt but Rozier intercepted it and had an open court to his game-winning slam.

Kyrie Irving scored 30 points for Boston, which trailed, 107-102, after Oladipo’s basket with 31 seconds remaining. Irving made a pair of 3-pointers in the final 30 seconds to keep the Celtics within striking distance.

Al Horford had 14 points, 10 rebounds and nine assists for the Celtics. Jayson Tatum added 16 points and Smart had 15.

Hornets 109, Knicks 91

Charlotte, n.c. — Frank Kaminsky scored 15 of his season high-tying 24 points in the first half to give Charlotte a jolt off the bench in a victory over New York.

Kaminsky didn’t miss a shot until the fourth quarter, finishing 10-of-13 overall and 4-of-6 on 3-pointers to provide a boost for a Hornets bench that has struggled so much lately that interim head coach Stephen Silas has shortened the playing rotation.

Rockets 120, Jazz 99

Houston — Eric Gordon scored 17 of his season-high 33 points in the fourth quarter to power a huge run that put Houston on top, and the Rockets cruised to their 14th straight win, beating Utah.

Thunder 95, Nuggets 94

Oklahoma City — Russell Westbrook scored 16 of his season-high 38 points in the fourth quarter, including the tiebreaking free throw with 2.3 seconds left, to lift Oklahoma City over Denver.

Hawks 110, Heat 104

Atlanta — Taurean Prince scored 24 points, Dennis Schroder added 23 and NBA-worst Atlanta beat injury-riddled Miami.

Timberwolves 108Trail Blazers 107

Minneapolis — Jimmy Butler powered through a recent bout of back spasms to score 37 points, sinking two free throws that gave Minnesota the lead with 2.5 seconds left in a victory over Portland.

Bulls 117, Sixers 115

Chicago — Nikola Mirotic and Kris Dunn each scored 22 points, and Chicago topped Philadelphia for its sixth consecutive victory.

Spurs 109, Clippers 91

San Antonio — LaMarcus Aldridge scored 19 points and San Antonio beat undermanned Los Angeles in Kawhi Leonard’s home debut this season.

Suns 97, Mavericks 91

Dallas — Alex Len had 14 points and 14 rebounds to help Phoenix rally past Dallas for its second win in a row.