CALGARY, Alberta (AP) — Johnny Gaudreau scored 35 seconds into overtime, and the Calgary Flames rallied to beat the Philadelphia Flyers 6-5 on Wednesday night.

Calgary trailed 5-3 before Sean Monahan and Rasmus Andersson scored in the final 68 seconds of third period. Gaudreau then secured the Flames’ sixth win in seven games with his 13th goal of the season.

Matthew Tkachuk had four assists for the Flames (20-10-2), who leapfrogged idle Nashville for the top spot in the Western Conference. Monahan had two goals and an assist, and Gaudreau and Mark Giordano each had a goal and two assists.

Philadelphia (12-13-4) lost for the third time in four games. Sean Couturier had two goals and an assist for the Flyers in his return to the lineup after missing two games with a lower-body injury. Travis Sanheim, James van Riemsdyk and Dale Weise also scored.

David Rittich earned the win with four saves in relief of Mike Smith, who stopped 10 of 14 shots through two periods before he was replaced to start the third.

Anthony Stolarz made 35 saves in the loss.

Couturier stripped Calgary defenseman Noah Hanafin at the point and went in alone for a short-handed goal that made it 5-3 Flyers 11:10 into the third.

Sam Bennett’s fifth goal of the season gave Calgary a 1-0 lead after one, but the teams combined for six goals in the second.

Philadelphia opened a 4-2 lead by scoring three times in 108 seconds.

Van Riemsdyk tied it at 2 when he pounced on a loose puck off a broken play and beat Smith stick side for a power-play goal at 5:55. Couturier got behind Monahan for a back-door pass from Jakub Voracek and his 11th of the season at 6:27. Weise fooled Smith with a soft shot from just inside the blue line at 7:43.

Monahan’s power-play goal at 10:13 of the second pulled Calgary within one. Tkachuk dished to Monahan in the slot for his team-leading 19th goal.

NOTES: Giordano returned to the lineup after serving a two-game suspension for kneeing Minnesota Wild captain Mikko Koivu on Dec. 6. … Philadelphia broke an eight-game power-play drought with its first goal since Nov. 17. … Calgary C Mikael Backlund sat out a third game after taking a hard hit from Wild defenseman Matt Dumba last week.


Flyers: Visit Edmonton on Friday night.

Flames: Visit Minnesota on Saturday.