Corey Perry scored on a goalmouth scramble 2:26 into overtime and the Anaheim Ducks advanced to the Western Conference finals with a 3-2 victory over the Calgary Flames on Sunday night in Game 5 of their second-round series.

Matt Beleskey got the tying power-play goal early in the third period for the Ducks, who will face the Chicago Blackhawks for a spot in the Stanley Cup finals.

The Pacific Division champion Ducks are in their first conference finals since 2007, the year of their only NHL championship.

Perry limped off the ice in the second period with an apparent leg injury, but returned moments later. He wrapped up the night with his NHL-leading 15th point of the postseason, cashing in a rebound for his seventh goal.

Frederik Andersen made 17 saves and Ryan Kesler scored a power-play goal in the second period for the Ducks, who have won eight of their nine playoff games this spring.

Jiri Hudler and Johnny Gaudreau scored early goals for the Flames in the final game of their first playoff trip since 2009.