ELMONT, N.Y. -- Kyle Palmieri had a hat trick and an assist for the New York Islanders in a 5-1 win against the Boston Bruins at UBS Arena on Saturday.

It was Palmieri's third NHL hat trick and first since Oct. 30, 2019.

“I mean, you probably couldn’t have drawn up [that first period] much better,” Palmieri said. “Hat tricks definitely don’t get old. You don’t get too many of them. So, it was a lot of fun and I’ll enjoy it.”

Anders Lee had a goal and an assist, and Jean-Gabriel Pageau and Bo Horvat each had two assists for the Islanders (26-20-14), who have won three in a row. Ilya Sorokin made 22 saves.

“I thought that our guys were on the puck. We were quick to help support each other offensively, but we did the same thing defensively,” New York coach Patrick Roy said. “I thought we were strong in our end and the offensive zone, so that pleases me a lot, to see our guys committed like this, and the back check was outstanding. I mean, everybody was really committed to playing 60 minutes.”

Marc McLaughlin scored for the Bruins (35-13-14), who have lost four of their past five (1-1-3). Linus Ullmark made 21 saves.

“We knew that the first period wasn’t acceptable by our standards,” Boston captain Brad Marchand said. “Bit us in the butt tonight. ... You got to give them credit, they made some plays. They just seemed to get to every loose puck and win every battle tonight.”

Palmieri gave the Islanders a 1-0 lead at 3:32 of the first period. He took a stretch pass from Noah Dobson at the blue line and beat Ullmark five-hole from the right circle.

Palmieri scored his second on the power play to make it 2-0 at 5:27. Horvat's one-timer hit off Parker Wotherspoon and deflected to Palmieri, who swatted the puck into the open net from the left post.

Palmieri then completed the natural hat trick at 12:19 of the first to extend the lead to 3-0. He skated into the rebound of Ryan Pulock's shot and scored from the edge of the crease.

“Palmieri was buzzing out there,” Islanders forward Brock Nelson said. “Good to see him get rewarded. Huge power-play goal. Their line was going all night. They created a lot. So, that was a big difference for us.”

Lee scored 46 seconds into the second period to make it 4-0. He tapped his own rebound into an open net after his initial shot off a rush hit Charlie McAvoy.

Nelson pushed it to 5-0 at 10:24, scoring off his own rebound after receiving a backdoor pass from Horvat.

“It was a big game for us. We want to keep building and are not done,” Pageau said. “I think you saw a team that’s competing and wants to keep climbing, and that's our main focus.”

McLaughlin made it 5-1 at 14:30 of the second period with a one-timer from below the left circle off a pass from McAvoy.

“We just weren’t good enough, weren’t firm enough,” Bruins coach Jim Montgomery said. “We didn’t start the game on time. It’s one of those games where, for whatever reason, we weren’t very good. And now we got to move on to Toronto (on Monday).”

NOTES: Palmieri's hat trick was the first by an Islanders player since Pageau had one on April 3, 2022. ... Bruins forward Pavel Zacha left at 17:19 of the first period with a lower-body injury. ... Islanders forward Mathew Barzal had an assist to extend his point streak to four games (one goal, four assists). ... Islanders forward Matt Martin left the game late in the third period with an undisclosed injury. ... McLaughlin was playing in his first NHL game since Jan. 29, 2023.