The Bruins wanted to stay sharp with tightly competitive games right up to the playoffs, and that’s exactly what they are getting.

But the B’s found the perfect play at the perfect time to execute yet another victory, their 53rd of the season, in a 5-2 win over the Philadelphia Flyers at TD Garden. Patrice Bergeron won a clean face off to a waiting Johnny Boychuk at the right point, and the B’s defenseman scored his fifth goal of the season through a Reilly Smith screen for the go-ahead goal in the final minutes of the third period.

With the win the Bruins clinched their third Eastern Conference division title in the last six years.

David Krejci was the lone scorer in the first 34 minutes of the game as he collected a loose puck in front with three Philly defenders watching, and flipped it past Ray Emery for the score. It stayed that way until the final five minutes of the second period when Wayne Simmonds tied things up on a power play goal, and 19 seconds later Krejci fed it to Milan Lucic for a scorched one-time shot.

The Flyers stormed back with a rare goal from Philly pugilist Jay Rosehill on a spinning move that surprised Tuukka Rask as he tried to go for the poke check on an enforcer that fought Shawn Thornton earlier in the game.