Photo: Indiana Pacers/X

The Indiana Pacers survived the New York Knicks 137-134, snapping their four-game losing streak on Tuesday night.

Pascal Siakam dropped 30 points, Andrew Nembhard added 24 points and 10 assists, and the Pacers’ bench outscored New York’s 43-18. Indiana had eight players who scored in double figures.

The Pacers scored the first nine points of overtime and overcame the Knicks’ burst over the final 24.3 seconds, during which they scored eight points in 20 seconds.

Knicks’ Jalen Brunson had 40 points, eight assists, and five rebounds, while Josh Hart had his second triple-double of the season of 15 points, 11 rebounds, and 11 assists and Karl-Anthony Towns had 22 points and 14 rebounds before fouling out with 2:14 left in overtime.

New York entered tied for the NBA’s second-most home wins with 21.

Meanwhile, the Pacers played without center Ivica Zubac, coming off in tied for the league’s fewest road wins (three) and with the worst road win percentage in the Eastern Conference at .120.

Indiana won for the first time since taking two of their three head-to-head games against the Knicks in last year’s Eastern Finals.

There were 39 lead changes, the most in the NBA this season, and the Pacers seemed poised to pull it out in regulation, leading by 4 with 1:49 left.

Both teams will compete in road games on Wednesday: the Pacers at Brooklyn, while the Knicks at Philadelphia.