In what seems like the first time in forever, the Bruins finally won a game at home, riding a four-goal second period to top the Philadelphia Flyers at TD Garden, 6-3. The victory is the first win at home for Boston in 2017.

The Bruins gave up an early goal in the first period to Pierre-Eduoard Bellemare, but then got it right back when Brad Marchand scored a short-handed goal later in the frame.

Marchand also added the empty-netter to secure it for the Black & Gold.

Boston netminder Tuukka Rask turned in another solid effort, making 21 saves on 24 shot attempts.

David Krejci, Torey Krug, Zdeno Chara and Patrice Bergeron all scored in the second, which ended up being the difference.

In that period, the Bruins got a scare when they lost defensman Kevan Miller to an upper body injury on what was a reckless hit from Jakub Voracek. The Flyers’ winger nailed Miller at the numbers as he went head-first into the boards and did not return.

Philadelphia also got goals from Brayden Schenn and All Star Wayne Simmonds, who scord just as the second period was coming to a close on a 5-on-3 power play.

Next up, the Bruins will face the New York Islanders at TD Garden on Monday at 1 p.m.