DENVER -- Gabriel Landeskog had a goal and two assists, and the Colorado Avalanche scored three times in the third period to rally past the Calgary Flames 5-4 on Thursday night.
Matt Duchene and Paul Stastny each had a goal and an assist for Colorado, which improved to 6-2-1 at home.
The game had added intrigue when it was announced before the opening faceoff that the Flames had signed restricted free agent Ryan O'Reilly to an offer sheet. While Calgary was taking a 2-0 lead early in the first period, the Avalanche announced they had matched the offer and were keeping the 22-year-old forward.
TSN in Canada reported the deal was for $10 million over two years, including a $2 million signing bonus.
Calgary general manager Jay Feaster said the decision to put forth an offer sheet came after he tried to trade for O'Reilly.
"We had extensive trade discussions with Colorado but felt the price to acquire the player via trade was too steep," he said. "We felt it would negatively impact our future, so we made the decision to go ahead with the offer sheet. We tried to structure it in a way that we felt would give us a better chance to get him."
Jarome Iginla scored twice and Jay Bouwmeester and Mike Cammalleri each had a goal for the Flames, who had won seven straight in Denver and earned at least one point in eight consecutive games at Colorado.
The excitement off the ice was nearly matched on it. Bouwmeester and Cammalleri scored 33 seconds apart to put the Flames ahead 2-0 just 5 minutes into the game.
Iginla made it 3-0 late in the first before Ryan O'Byrne and David Jones scored goals early in the second to cut it to 3-2.
Iginla's second late in the period made it a two-goal game again, but Landeskog made it 4-3 just 23 seconds into the third.
It was Landeskog's first goal since Jan. 22. He missed 11 games with a head injury.
Six minutes later, Stastny knocked in Landeskog's rebound to tie it. Duchene scored the winner when he tipped in a centering pass from Jamie McGinn 10:52 into the third.
Joey MacDonald stopped 31 shots for the Flames. Semyon Varlamov made 19 saves for Colorado.
The Flames acquired forward Brian McGrattan from Nashville for defenseman Joe Piskula. McGrattan did not appear in a game this season for the Predators and recently finished a two-week conditioning assignment in the AHL.