Forty eight seconds was all it took to transform the Bruins from frustrated losers to stubborn competitors that salvaged a point where none had been just a minute before.

With the Bruins trailing by a 3-1 score with less than two minutes remaining in the contest, Claude Julien pulled goalie Tuukka Rask from the game and the Bruins scored two goals with the extra skaters to push overtime before falling by a 4-3 score in the shootout at TD Garden.

It was the first time the Bruins had scored twice with the goaltender pulled since Oct. 24, 2009 when they turned a 3-1 deficit against the Ottawa Senators into a 4-3 shootout victory.

“It was wild. The fans are incredible, and it just seemed like once we got that first one (David Krejci’s goal), we knew we were going to tie it up,” said Brad Marchand, who scored the game-tying goal with 43 seconds to go in the third period. “We just kept going, and it’s always fun having a game like that in our rink.

“It just seems like our fans are so up for it and really enjoy it. It’s just too bad we couldn’t finish it off.”

Mad scrambles in front of the New York Rangers net turned into goals for Nathan Horton and Brad Marchand, and Boston still only has one regulation loss in 11 games to start the season. Bruins players were happy they managed to get a point while becoming the first NHL team to come back from a three-goal deficit, but also a little peeved they had to author a furious comeback in the first place.

“It’s nice, for sure, to get the point. I think everybody is proud to get the point,” said Andrew Ference. “But I think if you went around [the room] a majority of guys are just ticked off that we spotted them the three [goals]. During the season you know those games happen where you’re going to have to fight back and you have some breakdowns.