The perennial All-Star right winger is the sixth Bruin to hit the 400-mark.

Trailing, 4-1, the Maple Leafs clawed back to within 4-3 but after Pastrnak’s second goal restored a two-goal lead the visitors, led by Max Domi, tried goon it up but the Bruins (11-7-0) wouldn’t take the bait.

It was Boston’s second straight win over Toronto (8-8-1), which has lost three straight.

The Bruins came out storming, dominating for most of the first period which they ended with a 3-1 lead courtesy of a pair of power-play strikes and Alex Steeves’s first goal as a Bostonian.

Phillipe Myers went off for hooking Viktor Arvidsson at 4:13 and the Bruins needed just 13 seconds to take advantage.

David Pastrnak swirled to the top of the left circle and fired the puck through the slot. It may have been intended as a pass to Morgan Geekie, but it struck Pavel Zacha’s left skate and beat Anthony Stolarz.

It was Zacha’s fifth on the season and his third goal in four games.

The Maple Leafs tied it, also on a Boston power play.

Charlie McAvoy coughed the puck up in his own end and Steven Lorentz pounced on it and wristed a shot over Jeremy Swayman’s blocker to even things. It was Toronto’s first shot of the game and the second shorthanded goal the Bruins have allowed this season.

Shortly after the Garden erupted following a video tribute to newly minted Hall of Famer Zdeno Chara — who waved and tapped his heart from his work spot on the ninth floor — the Bruins regained the lead.

With Simon Benoit off for a high stick, Hampus Lindholm connected for his first of the season, a wrister from the top of the right circle off a nice dish from Mason Lohrei.

The home folk gave another ovation later in the period following a video tribute to another former Boston blue liner: Brandon Carlo. Traded to Toronto in March, Carlo spent the first nine years of his career in Black and Gold. He hopped off the bench, raised his stick to the crowd, and tapped his heart to the crowd.

Steeves made it 3-1 when the winger wristed one through Stolarz’s wickets from the right face-off circle. The puck was quickly retrieved for the mantle by fellow former Maple Leafs farmhand Fraser Minten.

The eruptions continued in the second with Pastrnak’s milestone marker just 49 seconds in, moments after he popped out of the penalty box.

Pastrnak’s forehand-backhand-forehand beauty greeted Dennis Hildeby who replaced Stolarz to start the period and gave the Bruins a 4-1 lead.

With the Maple Leafs already reeling and searching for a spark, the visitors suffered another blow when captain Auston Matthews left after a heavy collision with Nikita Zadorov. The bruising Bruins blue liner dropped Matthews just inside Boston’s zone. Matthews got right up, went for a retaliatory hit but just bounced off Zadorov. He headed to the dressing room shortly thereafter and didn’t return.

Toronto pulled within 4-2 when Bobby McMann beat Swayman in close on the power play. It was Toronto’s third power-play goal in two games against Boston.

Jim McBride can be reached at james.mcbride@globe.com. Follow him @globejimmcbride.