The Bruins had to weather the stormiest attack the Red Wings have come up with to date, but still came up on the winning side when all the goals were counted in Game 4 at Joe Louis Arena. They rebounded from a two goal deficit to collect goals in each of the final two periods before taking home a 3-2 overtime decision that now gives them a commanding 3-1 lead in the best-of-seven series.

Dougie Hamilton fired a shot through bodies in front that bounced Jarome Iginla before ending up in the back of the net with 6:28 remaining in the first overtime session for both teams.

The Bruins can wrap things up on Saturday afternoon at TD Garden, but it won’t be easy if Thursday night’s game was any indication.

The Red Wings outshot the Bruins by a 13-5 margin in the first period, and cashed in on goals from two of Detroit’s playoff stalwarts: a power play point bomb from Niklas Kronwall through a Todd Bertuzzi screen, and a Pavel Datsyuk tap-in after Kronwall had stripped Milan Lucic in the defensive zone to start the scoring threat.

Boston slowly climbed back, first getting a Torey Krug power play blast from the high point that deflected off a Red Wings stick in front of the net to halve Detroit’s lead headed into the second intermission.

Then the Bruins tied it up on a great play from a couple of their biggest forwards. Carl Soderberg beat Detroit defenseman Brian Lashoff into the corner for a 50/50 puck, and then slid a perfectly placed pass to Lucic waiting in the slot. Gustav Nyquist was late covering the passing lane, and Lucic buried the shot through the five hold of Jonas Gustavsson to tie things up.

Brad Marchand missed open net opportunities on the backdoor in both the first and the third period, and had set himself up for goat status if the B’s hadn’t pulled the game out in OT.