Michael McLeod scored the tiebreaking goal late in the second period, Mackenzie Blackwood stopped 32 shots and the New Jersey Devils beat the playoff-bound New York Islanders 2-1 Thursday night for their fifth win in six games.

Pavel Zacha also scored for the Devils, who beat the Islanders for just the second time in seven meetings this season.

More Images
New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

Michael McLeod scored the tiebreaking goal late in the second period, Mackenzie Blackwood stopped 32 shots and the New Jersey Devils beat the playoff-bound New York Islanders 2-1 Thursday night for their fifth win in six games.

New York Islanders' Mathew Barzal (13) defends against New Jersey Devils' Kevin Bahl (88) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)

The teams meet again Saturday night at the Nassau Coliseum to conclude their season series.

New Jersey Devils goaltender Mackenzie Blackwood (29) stops a shot by New York Islanders' Brock Nelson (29) as Damon Severson (28) defends during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The Islanders pulled Varlamov for an extra skater with about 1 1/2 minutes left, but couldn't tie it. New York outshot New Jersey 13-5 in the third period.

New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The Islanders outshot the Devils 6-1 over the first 8:14 of the game, but couldn't take advantage. New Jersey then turned it around and had an 11-2 edge the rest of the period.

New York Islanders' Ross Johnston (32) defends against New Jersey Devils' Connor Carrick (5) during the first period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

Zacha has six goals and nine points in his last seven games. ... Severson has five assists in a five-game point streak. ... Beauvillier extended his point streak to five games with five goals and six points in the stretch. He has seven goals and four assists in his last nine games.

New York Islanders' Matt Martin (17) checks New Jersey Devils' Nico Hischier during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The Devils had 20-year-old LW Nolan Foote in the lineup after he rejoined the team from Binghamton of the AHL. New Jersey was without LW Andreas Johnsson (lower-body injury) for the sixth straight game, RW Mikhail Maltsev (lower-body injury) for the third straight, and D Ty Smith (upper-body injury) for the second straight. Also, LW Miles Wood, D P.K. Subban, and D Jonas Siegenthaler were scratched.

New Jersey Devils' Jack Hughes (86) defends against New York Islanders' Oliver Wahlstrom (26) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)

More AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP_Sports

Anthony Beauvillier scored on a fortunate deflection for the Islanders, who have lost three straight (0-2-1) — against Buffalo and New Jersey, the bottom two teams in the East Division — and six of their last eight (2-4-2) overall. Semyon Varlamov finished with 23 saves.

New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The teams meet again Saturday night at the Nassau Coliseum to conclude their season series.

The Islanders are 5-6-2 in their last 13 games — including a 4-0-0 mark against the rival Rangers.

Kyle Palmieri, who along with Travis Zajac was facing the Devils for the first time since the two were dealt to the Islanders days before the trade deadline, was denied by Blackwood on a stuff try from the left doorstep with 7:21 remaining.

New York Islanders' Mathew Barzal (13) defends against New Jersey Devils' Kevin Bahl (88) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)

New York Islanders' Mathew Barzal (13) defends against New Jersey Devils' Kevin Bahl (88) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)

The Islanders pulled Varlamov for an extra skater with about 1 1/2 minutes left, but couldn't tie it. New York outshot New Jersey 13-5 in the third period.

Trailing 1-0 after 20 minutes, the Islanders tied it early in the second period when Scott Mayfield's centering pass for a streaking Beauvillier went off Beauvillier's skate and in at 5:35. It was Beauvillier's 15th of the season.

The Devils regained the lead late in the middle period as Damon Severson sent a pass across the ice from the left side and McLeod quickly beat Varlamov from the right side for his ninth with 4 1/2 minutes left.

New Jersey Devils goaltender Mackenzie Blackwood (29) stops a shot by New York Islanders' Brock Nelson (29) as Damon Severson (28) defends during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

New Jersey Devils goaltender Mackenzie Blackwood (29) stops a shot by New York Islanders' Brock Nelson (29) as Damon Severson (28) defends during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The Islanders outshot the Devils 6-1 over the first 8:14 of the game, but couldn't take advantage. New Jersey then turned it around and had an 11-2 edge the rest of the period.

Zacha gave the Devils a 1-0 lead with 5:49 left in the first. Nico Hischier had the puck in the left corner, passed it over to Jesper Bratt, who sent it in front and Zacha quickly put it in past Varlamov from the left circle. It was his 16th goal and extended his career high to 34 points this season.

SURGING

New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

New Jersey Devils' Michael McLeod (20) celebrates with teammates after scoring a goal during the second period of the team's NHL hockey game against the New York Islanders on Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

Zacha has six goals and nine points in his last seven games. ... Severson has five assists in a five-game point streak. ... Beauvillier extended his point streak to five games with five goals and six points in the stretch. He has seven goals and four assists in his last nine games.

LINEUPS

Mathew Barzal was back in the Islanders' lineup after sitting out Tuesday against Buffalo, ending his streak of 284 consecutive games. He skated on a line with Zajac and Palmieri with RW Jordan Eberle sitting out. D Andy Greene, another former Devil, also sat out. Brayden Coburn played in his place.

New York Islanders' Ross Johnston (32) defends against New Jersey Devils' Connor Carrick (5) during the first period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

New York Islanders' Ross Johnston (32) defends against New Jersey Devils' Connor Carrick (5) during the first period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

The Devils had 20-year-old LW Nolan Foote in the lineup after he rejoined the team from Binghamton of the AHL. New Jersey was without LW Andreas Johnsson (lower-body injury) for the sixth straight game, RW Mikhail Maltsev (lower-body injury) for the third straight, and D Ty Smith (upper-body injury) for the second straight. Also, LW Miles Wood, D P.K. Subban, and D Jonas Siegenthaler were scratched.

ON THE MOVE

The Devils announced the relocation of their AHL franchise from Binghamton to Utica, New York, under a 10-year agreement. This marks the second time the Devils’ AHL team will be in Utica. They played as the Utica Devils from 1987-93 before changing affiliations to the Albany River Rats until 2006. The Devils bought the team in Lowell and played as the Lowell Devils until moving to Albany in 2010. They remained there until moving to Binghamton in 2017. They will now be called the Utica Comets beginning with the 2021-22 season.

New York Islanders' Matt Martin (17) checks New Jersey Devils' Nico Hischier during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

New York Islanders' Matt Martin (17) checks New Jersey Devils' Nico Hischier during the second period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. (AP PhotoFrank Franklin II)

More AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP_Sports

New Jersey Devils' Jack Hughes (86) defends against New York Islanders' Oliver Wahlstrom (26) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)

New Jersey Devils' Jack Hughes (86) defends against New York Islanders' Oliver Wahlstrom (26) during the third period of an NHL hockey game Thursday, May 6, 2021, in Uniondale, N.Y. The Devils won 2-1. (AP PhotoFrank Franklin II)