NEW YORK — There was huge anticipation for Sunday to produce a historic Madison Square Garden game. It absolutely did, just not one anyone could’ve expected.

Improbably and unexpectedly in a road Game 7 situation, the Indiana Pacers had one of the greatest shooting halves in the 77-year history of the NBA. When the stunned New York Knicks tried to recover with a second-half push, the Pacers’ superstar and their super-sub stepped in and delivered the final blows.

The result was a 130-109 Pacers victory, eliminating the Knicks by finishing off four victories in five games after falling behind 2-0 in the series. The Pacers will head to Boston to open the Eastern Conference finals against the Celtics on Tuesday.

“Well, we’re the uninvited guest,” coach Rick Carlisle said after the Pacers completed their second consecutive series win over a higher seed. “Here we are. When you win a Game 7 in Madison Square Garden, you’ve made history. It’s very, very difficult to do.

The Pacers ended up shooting 67.1% overall, the highest field goal percentage for a playoff game in NBA history. And that was after they cooled off in the second half.