The Bruins found the perfect way to celebrate the acquisition of superstar Jaromir Jagr.

Nathan Horton scored with just under 10 minutes left in regulation and the Bruins managed 50 shots on goal in a 3-2 win over the Ottawa Senators Tuesday night at TD Garden. For Horton, who could be facing demotion to the team’s third line with the Jagr addition, scored in his fourth straight game. Back-up goalie Anton Khoudobin made his second straight start and stopped 45 of 47 shots he faced to earn the win, his eighth of the season against three losses. The two teams combined for 97 shots on goal.

The win was big for the Bruins, who improved to 23-8-4 and reached 50 points on the season. They are just one point behind Montreal for the division lead and now six points up on third-place Ottawa in the division.

In an up-tempo first period, the two teams combined for 40 shots, 21 by the Bruins, including five by Tyler Seguin. It was Seguin who gave the Bruins the lead, snapping a 1-1 tie when he took a perfect feed from Brad Marchand and fired a shot into the net vacated by goalie Robin Lehner.

The game didn’t start off well for Boston as a Dennis Seidenberg turnover left the puck all alone for Colin Greening in front of Khudobin. Greening’s backhander beat the Boston goalie far side just 2:48 into the game for a 1-0 Ottawa lead. The Bruins countered just 50 seconds later when David Krejci redirected a Zdeno Chara slap shot from the high slot past Lehner. The Bruins got the go-ahead tally from Seguin just 61 seconds later.

The two teams continued their fast play in the second period but couldn’t put the puck in the net.

A bizarre turn of events and instant replay led to a tie game just two minutes into the third. Khudobin appeared to make a spectacular sprawling save on Andre Benoit‘s shot from the slot. The puck appeared to bounce off the crossbar and back into play. But after a stoppage, the officials were called over to review the play and replays showed that the puck disappeared under the crossbar and hit the top of the net, resulting in a game-tying goal.

With 13 minutes left in regulation, Seguin grabbed a loose puck and skated in alone on Lehner but lost an edge after not being able to get a clean shot on the Senators goalie. Three minutes later, Lehner turned aside Rich Peverley on a 2-on-1 break. But the Bruins kept working and got their break when Dougie Hamilton crushed Erik Condra with a big, clean hit in the Bruins zone. That led moments later to a scrum in front of Lehner and a goal from Horton at 10:21, putting Boston on top, 3-2.

The Bruins had to hold on for final 32.3 seconds as Johnny Boychuk was called for interference in front of Khudobin. With their net empty, the Senators had a 6-on-4 for the final half-minute but could not score.

The Bruins are off on Wednesday – trade deadline day in the NHL – and will get the services of newly acquired Jaromir Jagr on Thursday for their next game, a home date with the Devils.

For more from DJ Bean and Mike Petraglia from the Garden, visit the Bruins team page at weei.com/bruins.