Boston’s Brad Marchand flies through the air after being tripped by Carolina’s Brendan Lemieux during Wednesday’s game in Boston. Marchand scored twice to tie Ray Bourque for fifth on the Bruins’ all-time goal-scoring list with 395. Charles Krupa/Associated Press

BOSTON — Jordan Martinook scored on a breakaway to snap a tie with 2 1/2 minutes left and Spencer Martin stopped 25 shots Wednesday night to help the Carolina Hurricanes beat Boston 3-2, halting the Bruins’ five-game winning streak.

Boston goaltender Linus Ullmark reacts after giving up a tie-breaking goal to Carolina’s Jordan Martinook on Wednesday in Boston. Charles Krupa/Associated Press

Brad Marchand scored a pair of third-period goals to tie Ray Bourque for fifth on the Bruins’ career list as Boston rallied from a two-goal deficit. But Martinook took a feed from Martin Nečas and wristed the puck through Linus Ullmark’s legs for the lead.

Nečas and Teuvo Teräväinen also scored for the Hurricanes, giving them a 2-0 advantage after two periods.

Boston cut the margin to one when Trent Frederic fought for the puck behind the net and then slid it across the slot to Marchand. The same line delivered eight minutes into the third when Marchand poked the rebound of Charlie Coyle’s shot through Martin’s legs to tie it.

Marchand has 395 goals – all with Boston. Bourque, the Hall of Fame defenseman and five-time Norris Trophy winner, scored 395 of his 410 career goals with the Bruins. On the team’s career list, Marchand trails Rick Middleton (402), Patrice Bergeron (427), Phil Esposito (459) and John Bucyk (545).

Ullmark made 30 saves for Boston in his second start since missing 10 days with a lower-body injury.

Only subscribers are eligible to post comments. Please subscribe or login first for digital access. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.