Matthew Tkachuk scored his 40th goal, Christopher Tanev scored the tiebreaking goal in the third period, and the Calgary Flames beat the Dallas Stars 4-2 on Thursday night to win the Pacific Division title.

The Flames won their division for the eighth time in franchise history but just the third in the last 27 years.

More Images
Calgary Flames center Dillon Dube (29) carries the puck as Dallas Stars left wing Marian Studenic (43) defends during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Matthew Tkachuk scored his 40th goal, Christopher Tanev scored the tiebreaking goal in the third period, and the Calgary Flames beat the Dallas Stars 4-2 on Thursday night to win the Pacific Division title.

Calgary Flames left wing Matthew Tkachuk (19) celebrates his 40th goal and his 100th point of the season with teammate left wing Andrew Mangiapane (88) during second-period NHL hockey game action against the Dallas Stars in Calgary, Alberta, Thursday April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Jason Robertson and Luke Glendening scored for the Stars, who lost all three games on their Western Canada trip as they fight for a wild-card playoff berth.

Dallas Stars center Joe Pavelski (16) battles for the puck with Calgary Flames right wing Brett Ritchie (24) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Calgary went ahead 2-1 20 seconds into the third period when Hanifin's point shot eluded Oettinger, who was screened by Mikael Backlund.

Dallas Stars centre Joe Pavelski (16) and Calgary Flames center Dillon Dube (29) battle along the boards for control of the puck during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Tanev made it 3-2 at 13:05 on a point shot that deflected in off the leg of Glendening, who was battling with Backlund in front. Mangiapane's goal was an empty-netter

Dallas Stars defenseman Thomas Harley (55) takes a hit from Calgary Flames center Trevor Lewis (22) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Robertson tied the game on the power play less than two minutes after Tkachuk's goal.

Noah Hanifin and Andrew Mangiapane also scored for Calgary, which is 8-1-1 in its past 10 games.

Calgary Flames center Dillon Dube (29) carries the puck as Dallas Stars left wing Marian Studenic (43) defends during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Calgary Flames center Dillon Dube (29) carries the puck as Dallas Stars left wing Marian Studenic (43) defends during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Jason Robertson and Luke Glendening scored for the Stars, who lost all three games on their Western Canada trip as they fight for a wild-card playoff berth.

The Flames will host the top Western Conference wild card in the first playoff round. Dallas has a precarious hold on the second wild-card spot, two points ahead of Vegas. The Stars play their last four games at home.

Jacob Markstrom had 21 saves for the Flames and Jake Oettinger stopped 33 shots for Dallas.

Calgary Flames left wing Matthew Tkachuk (19) celebrates his 40th goal and his 100th point of the season with teammate left wing Andrew Mangiapane (88) during second-period NHL hockey game action against the Dallas Stars in Calgary, Alberta, Thursday April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Calgary Flames left wing Matthew Tkachuk (19) celebrates his 40th goal and his 100th point of the season with teammate left wing Andrew Mangiapane (88) during second-period NHL hockey game action against the Dallas Stars in Calgary, Alberta, Thursday April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Calgary went ahead 2-1 20 seconds into the third period when Hanifin's point shot eluded Oettinger, who was screened by Mikael Backlund.

The Stars answered five minutes later. Fredrik Karlstrom was stopped on a partial breakaway, but in making the save, Markstrom’s momentum carried him to out of the crease. Glendening was right there to deposit the rebound into the vacant net.

The assist by Karlstrom was his first NHL point in his first career game.

Dallas Stars center Joe Pavelski (16) battles for the puck with Calgary Flames right wing Brett Ritchie (24) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Dallas Stars center Joe Pavelski (16) battles for the puck with Calgary Flames right wing Brett Ritchie (24) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Tanev made it 3-2 at 13:05 on a point shot that deflected in off the leg of Glendening, who was battling with Backlund in front. Mangiapane's goal was an empty-netter

Calgary scored first for the NHL-leading 50th time. With the Flames on the power play, Tkachuk stuffed the puck in from the side of the net at 10:06 of the second and thrust his arms in the air in celebration as his linemates mobbed him.

The goal also put the 24-year-old winger at 100 points. His previous career highs were 34 goals and 77 points in 2018-19. Johnny Gaudreau reached 100 points last week, giving Calgary two players over the century mark for the first time since 1990-91 when Theo Fleury and Al MacInnis did it.

Dallas Stars centre Joe Pavelski (16) and Calgary Flames center Dillon Dube (29) battle along the boards for control of the puck during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Dallas Stars centre Joe Pavelski (16) and Calgary Flames center Dillon Dube (29) battle along the boards for control of the puck during the third period of an NHL hockey game Thursday, April 21, 2022, in Calgary, Alberta. (Larry MacDougalThe Canadian Press via AP)

Robertson tied the game on the power play less than two minutes after Tkachuk's goal.

NOTES: Tkachuk is Calgary’s first 40-goal scorer since Jarome Iginla had 43 in 2010-11. ... The Stars’ five-game winning streak against the Flames was snapped. Dallas had been 9-1-1 in its previous 11 games at the Saddledome. ... Tyler Toffoli recorded his 200th career assist.

UP NEXT

Dallas Stars defenseman Thomas Harley (55) takes a hit from Calgary Flames center Trevor Lewis (22) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Dallas Stars defenseman Thomas Harley (55) takes a hit from Calgary Flames center Trevor Lewis (22) during first-period NHL hockey game action in Calgary, Alberta, Thursday, April 21, 2022. (Larry MacDougalThe Canadian Press via AP)

Stars: Host Seattle on Saturday night.

Flames: Host Vancouver on Saturday night.

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