Brendan Perlini had a goal and two assists, and the Chicago Blackhawks held off a furious Toronto comeback to beat the Maple Leafs 5-4 on Wednesday night.

Brandon Saad had a goal and an assist, and Duncan Keith, Dominik Kahun and Alex DeBrincat also scored as Chicago jumped out to a 5-0 lead before holding on for the win. Dylan Strome added two assists for the Blackhawks, who have won four straight and crept within four points of the Arizona Coyotes for the second wild card in the Western Conference.

Corey Crawford stopped 17 of 18 shots through two periods before leaving the game due to illness. Colin Delia had 26 saves — all in the third.

Chicago Blackhawks defenseman Duncan Keith (2) skates back to the bench after celebrating his goal against the Toronto Maple Leafs with teammates during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks defenseman Duncan Keith (2) skates back to the bench after celebrating his goal against the Toronto Maple Leafs with teammates during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

Auston Matthews, Morgan Rielly and Andreas Johnsson each had a goal and an assist for Toronto, and John Tavares also scored. William Nylander and Mitch Marner each had two assists. Frederik Andersen gave up four goals on 14 shots in the first before he was replaced by Garret Sparks, who finished with 24 saves.

The Maple Leafs were coming off a 6-2 home loss to Tampa Bay on Monday, and followed it up with a sloppy, uninspired performance through two periods.

Chicago dominated from the opening faceoff and went ahead 1-0 at 3:19 of the first period when Keith’s shot that was deflected by Nylander, rattled around between Andersen’s pads and just slid over the goal line before Auston Matthews could stop its momentum.

Toronto Maple Leafs right wing Mitchell Marner (16) shoots as Chicago Blackhawks defenseman Brent Seabrook (7) defends during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs right wing Mitchell Marner (16) shoots as Chicago Blackhawks defenseman Brent Seabrook (7) defends during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

The Blackhawks continued to press and went up by two with 7:05 left when Perlini took a pass from Strome, cut into the middle and whipped a knuckling puck against the grain on Andersen for his 12th of the season and fifth in the last four games.

Tavares lost the puck at the offensive blue line, leading to a 2-on-1 break the other way that saw Patrick Kane feed Kahun, who buried his 12th with 2:47 remaining in the first.

Andersen received a sarcastic cheer from the Scotiabank Arena crowd on his next save.

Chicago Blackhawks left wing Alex DeBrincat (12) celebrates his goal with teammates Brendan Perlini (11) and Dylan Strome (17) during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks left wing Alex DeBrincat (12) celebrates his goal with teammates Brendan Perlini (11) and Dylan Strome (17) during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

Maple Leafs defensemen Ron Hainsey motioned for fourth line center Frederik Gauthier to cover in front, but the message wasn’t received, leaving Saad all alone to tuck his 23rd beyond Andersen with 1:14 left in the period as four Toronto players were caught puck-watching.

It marked the first time the Leafs have given up four goals in a period this season, and the first time it’s happened in the opening 20 minutes of a home game since Dec. 23, 2008.

Andersen was replaced by Sparks to start the second, marking the first time in his career he’s been pulled in consecutive games.

Chicago Blackhawks left wing Alex DeBrincat (12) celebrates his goal with teammates Brendan Perlini (11) and Dylan Strome (17) as Toronto Maple Leafs defenseman Nikita Zaitsev (22) skates past during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks left wing Alex DeBrincat (12) celebrates his goal with teammates Brendan Perlini (11) and Dylan Strome (17) as Toronto Maple Leafs defenseman Nikita Zaitsev (22) skates past during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

Toronto came out with a little more fire in the second, but Crawford robbed Nylander in tight and Tavares rang a shot off the crossbar.

Chicago made it 5-0 with 7 1/2 minutes remaining in the middle period when Maple Leafs defenseman Nikita Zaitsev’s indecision led to DeBrincat taking a pass from Perlini and roofing a shot past Sparks for his 38th.

Toronto finally got on the board with 1:33 left in the second when Rielly, who on Tuesday was cleared of uttering an alleged homophobic slur in the Tampa game, had his shot deflected in by Johnsson for his 20th.

Toronto Maple Leafs goaltender Garret Sparks (40) makes a save as Chicago Blackhawks centre Jonathan Toews (19) watches during the third period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs goaltender Garret Sparks (40) makes a save as Chicago Blackhawks centre Jonathan Toews (19) watches during the third period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

Matthews, who was playing the 200th game of his career, brought the Leafs a little closer at 7:57 of the third when he banked his 32nd.

Rielly then made it 5-3 on the power play when his shot through traffic found its way past Delia with just over 9 minutes remaining before the defenseman hit the post moments later.

Tavares then stuffed his career-high 39th past Delia with 1:31 left inside a raucous Scotiabank Arena.

Toronto Maple Leafs left wing Andreas Johnsson (18) celebrates his goal as Chicago Blackhawks center David Kampf (64) and defenseman Carl Dahlstrom (63) react during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs left wing Andreas Johnsson (18) celebrates his goal as Chicago Blackhawks center David Kampf (64) and defenseman Carl Dahlstrom (63) react during the second period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

The Leafs continued to press — Delia appeared to push the net off its moorings with under a minute to go during a mad scramble where he’d lost his stick — but the Blackhawks held on.

NOTES: After being held out of the lineup Monday for precautionary reasons because of an illness, Toronto announced Kasperi Kapanen has been diagnosed with a concussion. … The Maple Leafs were also minus Zach Hyman (flu), while defensemen Jake Gardiner (back) and Travis Dermott (shoulder) remain sidelined. … Nylander’s assist on Johnsson’s goal was the 100th of his career.

UP NEXT

Chicago Blackhawks goaltender Corey Crawford (50) stretches to make a save against the Toronto Maple Leafs right wing William Nylander during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks goaltender Corey Crawford (50) stretches to make a save against the Toronto Maple Leafs right wing William Nylander during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)

Blackhawks: At Montreal on Saturday night.

Maple Leafs: Host Philadelphia on Friday night to finish a three-game homestand.

___

Chicago Blackhawks center Artem Anisimov (15) and Toronto Maple Leafs center Nazem Kadri (43) battle in front of Blackhawks goaltender Corey Crawford (50) during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks center Artem Anisimov (15) and Toronto Maple Leafs center Nazem Kadri (43) battle in front of Blackhawks goaltender Corey Crawford (50) during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs right wing Mitchell Marner (16) looks to control a pass as Chicago Blackhawks goaltender Corey Crawford (50) watches during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs right wing Mitchell Marner (16) looks to control a pass as Chicago Blackhawks goaltender Corey Crawford (50) watches during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs centre Auston Matthews (34) carries the puck around the net as Chicago Blackhawks defenseman Connor Murphy (5) gives chase and goaltender Corey Crawford (50) covers the post during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Toronto Maple Leafs centre Auston Matthews (34) carries the puck around the net as Chicago Blackhawks defenseman Connor Murphy (5) gives chase and goaltender Corey Crawford (50) covers the post during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks goaltender Corey Crawford (50) keeps his eye on the puck as right wing Dylan Sikura (95) and Toronto Maple Leafs center Patrick Marleau (12) work in front of him during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)
Chicago Blackhawks goaltender Corey Crawford (50) keeps his eye on the puck as right wing Dylan Sikura (95) and Toronto Maple Leafs center Patrick Marleau (12) work in front of him during the first period of an NHL hockey game Wednesday, March 13, 2019, in Toronto. (Frank Gunn/The Canadian Press via AP)