Colin Wilson and Mikko Rantanen each had two goals and an assist, and the Colorado Avalanche beat the Calgary Flames 5-1 in Game 5 of their playoff series Friday night to advance to the second round.

Gabriel Landeskog also scored, and Nathan MacKinnon and Tyson Barrie each had three assists as the Avalanche won a playoff series for the first time since 2008. Philipp Grubauer stopped 28 shots and a penalty shot by Johnny Gaudreau in the first period.

More Images
Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal with teammates during the first period of Game 5 against the Calgary Flames in an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Colin Wilson and Mikko Rantanen each had two goals and an assist, and the Colorado Avalanche beat the Calgary Flames 5-1 in Game 5 of their playoff series Friday night to advance to the second round.

Calgary Flames left wing Johnny Gaudreau (13) is stopped on a penalty shot by Colorado Avalanche goaltender Philipp Grubauer (31) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Calgary, which finished first in the Western Conference at 50-25-7, was beaten by a team that sprinted the final two weeks of the regular season to capture the West's last wild card and then won four straight in this series after losing the opener.

Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal against the Calgary Flames with teammates Nathan MacKinnon (29), Tyson Barrie (4) and Cale Makar (8) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Playoff veteran James Neal was a healthy scratch for the Flames with Austin Czarnik drawing in on the third line for his NHL playoff debut.

Calgary Flames left wing Johnny Gaudreau (13) hangs his head near the end of the third period of Game 5 of the team's NHL hockey first-round playoff series against the Colorado Avalanche on Friday, April 19, 2019, in Calgary, Alberta. The Avalanche won 5-1, knocking the Flames out of the playoffs. (Larry MacDougalThe Canadian Press via AP)

Colorado was the more confident team after coming from behind to win both the second and fourth games of the series 3-2 in overtime, and decisively beating Calgary 6-2 in Game 3.

Calgary Flames goalie Mike Smith hangs his head late in the third period against the Colorado Avalanche during Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. Colorado won the game 5-1 and won the series. (Larry MacDougalThe Canadian Press via AP)

Colorado scored first when Landeskog deflected a shot by Barrie by Smith's glove at 9:40 of the opening period.

Colorado Avalanche defenseman Erik Johnson (6) takes a hit from Calgary Flames center Sam Bennett (93) during second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Brodie scored with 5 seconds left in the first to pull Calgary to 2-1.

Colorado Avalanche left wing Gabriel Landeskog, right, watches a shot by teammate Colin Wilson go in for a goal on Calgary Flames goalie Mike Smith during the second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

From the slot, Wilson redirected MacKinnon's shot on Smith stick-side for a power-play goal with 5:13 left in the middle period.

T.J. Brodie scored for the Flames, and Mike Smith finished with 27 saves.

Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal with teammates during the first period of Game 5 against the Calgary Flames in an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal with teammates during the first period of Game 5 against the Calgary Flames in an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Calgary, which finished first in the Western Conference at 50-25-7, was beaten by a team that sprinted the final two weeks of the regular season to capture the West's last wild card and then won four straight in this series after losing the opener.

The Flames' ouster marked the first time both conferences top seeds were eliminated in the first round. East-leading Tampa Bay, which won the Presidents' Trophy with the league's best record, was swept by Columbus.

Calgary ranked second in goal scoring in the regular season behind the Lightning and tied with San Jose. However, after opening with a 4-0 victory in Game 1, the Flames didn't score more than two goals in any game. The NHL's highest scoring team on home ice this season mustered only one in Game 5 despite head coach Bill Peters juggling his lines in an attempt to spark the offense.

Calgary Flames left wing Johnny Gaudreau (13) is stopped on a penalty shot by Colorado Avalanche goaltender Philipp Grubauer (31) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Calgary Flames left wing Johnny Gaudreau (13) is stopped on a penalty shot by Colorado Avalanche goaltender Philipp Grubauer (31) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Dave ChidleyThe Canadian Press via AP)

Playoff veteran James Neal was a healthy scratch for the Flames with Austin Czarnik drawing in on the third line for his NHL playoff debut.

Gaudreau, Calgary's top goal scorer, was limited to one assist in the series.

His penalty shot attempt in the first was unsuccessful, he shot the puck wide on a clear breakaway in the period, and had what would have been his first goal of these playoffs waived off for goaltender interference in the second.

Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal against the Calgary Flames with teammates Nathan MacKinnon (29), Tyson Barrie (4) and Cale Makar (8) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Colorado Avalanche left wing Gabriel Landeskog (92) celebrates his goal against the Calgary Flames with teammates Nathan MacKinnon (29), Tyson Barrie (4) and Cale Makar (8) during the first period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Colorado was the more confident team after coming from behind to win both the second and fourth games of the series 3-2 in overtime, and decisively beating Calgary 6-2 in Game 3.

The Avalanche continued to beat Calgary to the puck in all three zones and make the Flames chase and defend.

Rantanen's wrist shot over Smith's left shoulder 57 seconds into the third period deadened Scotiabank Saddledome as Flames fans began coming to grips with team's impending first-round upset.

Calgary Flames left wing Johnny Gaudreau (13) hangs his head near the end of the third period of Game 5 of the team's NHL hockey first-round playoff series against the Colorado Avalanche on Friday, April 19, 2019, in Calgary, Alberta. The Avalanche won 5-1, knocking the Flames out of the playoffs. (Larry MacDougalThe Canadian Press via AP)

Calgary Flames left wing Johnny Gaudreau (13) hangs his head near the end of the third period of Game 5 of the team's NHL hockey first-round playoff series against the Colorado Avalanche on Friday, April 19, 2019, in Calgary, Alberta. The Avalanche won 5-1, knocking the Flames out of the playoffs. (Larry MacDougalThe Canadian Press via AP)

Colorado scored first when Landeskog deflected a shot by Barrie by Smith's glove at 9:40 of the opening period.

When Gaudreau shot the puck wide on a breakaway, the Avs scored on the return trip to make it 2-0 at with 4:22 left in the first. Rantanen circled out from behind Smith and put the puck off the back of the Calgary goalie to score.

Gaudreau had taken off on a partial breakaway just minutes earlier. With Barrie and Cale Makar on his back, Gaudreau's backhand was just wide, but he was awarded a penalty shot. Gaudreau went forehand to backhand, but Grubauer snapped his left pad down to deny him.

Calgary Flames goalie Mike Smith hangs his head late in the third period against the Colorado Avalanche during Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. Colorado won the game 5-1 and won the series. (Larry MacDougalThe Canadian Press via AP)

Calgary Flames goalie Mike Smith hangs his head late in the third period against the Colorado Avalanche during Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. Colorado won the game 5-1 and won the series. (Larry MacDougalThe Canadian Press via AP)

Brodie scored with 5 seconds left in the first to pull Calgary to 2-1.

The Flames couldn't score again.

Wilson earned his first at 6:52 of the second when Rantanen blocked a clearing attempt by Calgary's Rasmus Andersson and dished to him in the high slot.

Colorado Avalanche defenseman Erik Johnson (6) takes a hit from Calgary Flames center Sam Bennett (93) during second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Colorado Avalanche defenseman Erik Johnson (6) takes a hit from Calgary Flames center Sam Bennett (93) during second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

From the slot, Wilson redirected MacKinnon's shot on Smith stick-side for a power-play goal with 5:13 left in the middle period.

NOTES: Avalanche C Derick Brassard (illness) and D Sam Girard (upper body) were Colorado's scratches.

UP NEXT

Colorado Avalanche left wing Gabriel Landeskog, right, watches a shot by teammate Colin Wilson go in for a goal on Calgary Flames goalie Mike Smith during the second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Colorado Avalanche left wing Gabriel Landeskog, right, watches a shot by teammate Colin Wilson go in for a goal on Calgary Flames goalie Mike Smith during the second period of Game 5 of an NHL hockey first-round playoff series Friday, April 19, 2019, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Avalanche will face the winner of the Vegas-San Jose series, which the Golden Knights lead 3-2.

More AP NHL: www.apnews.com/NHL and www.twitter.com/AP_Sports