Updated

Marian Gaborik capped his hat trick just 27 seconds into overtime to give the New York Rangers their first win of the season, a 4-3 triumph over the Boston Bruins.

In the extra session, Andrew Ference couldn't handle a pass at the right point and the puck slid into the neutral zone.

Gaborik tapped it ahead and caught up to the puck in the Boston end. His first shot was stopped, but he banged the rebound out of mid-air for his 14th career hat trick.

"I just tried to chip it in front of me and keep it from bouncing," said Gaborik. "I got a good shot off on the first try and he made the stop, but fortunately I was able to get some wood on the rebound."

Taylor Pyatt scored the other goal while Henrik Lundqvist stopped 26 shots for the Rangers, who avoided a second straight three-loss start to a campaign.

Milan Lucic, Nathan Horton and Brad Marchand all scored for the Bruins, who failed in their bid for their first 3-0 start since 2001-02. Tuukka Rask gave up all four goals on 33 shots.

"This is never an easy place to come into and they're one of the heayweight favorites to be in it at the end this year," said Lucic. "It was nice that we stayed with them, just couldn't pull it out at the end there."

New York took a 1-0 lead at the 4:36 mark of the first on a set play. A lead pass through the middle found Brad Richards at the blueline and he one-touched it over to his left. The puck found Rick Nash and he fired it over to the right where Gaborik threw it into the net from a sharp angle for his first of the season.

It only took a bit over two minutes later for Gaborik to get his second goal of the season when he tipped in a Michael Del Zotto right point shot.

Boston made it a one-goal game just 1:05 into the second period on the power play when Dougie Hamilton's slap shot from the high slot went off the stick of Marchand and past Lundqvist.

The Bruins tied the game at the 12:24 mark of the second when Lucic's third chance on a rebound got past Lundqvist.

New York, though, answered less than a minute later as a shot by Derek Stepan from the left boards was stopped, but Pyatt was at the left of the net to backhand home the rebound for a 3-2 lead.

Boston tied the game late in the third as good work from Gregory Campbell along the deep left boards saw him center the puck with Horton wristing it home with 4:23 left in regulation.

Game Notes

Hamilton's assist on the first goal was the first point of his NHL career ... Boston had taken a 3-1 win at home against the Rangers on Saturday ... The Rangers play in Philly on Thursday ... Boston hosts the Islanders on Friday ... Boston, which killed all five New York power plays in the game, is now a perfect 14-for-14 killing penalties this season ... Boston went 1-for-5 on the power play. The team was 0-for-9 on the season coming in.