NEWARK, N.J. (AP) -- Sean Monahan scored a power-play goal 35 seconds into the third period and the Calgary Flames beat the New Jersey Devils 3-1 on Wednesday night to move into a Western Conference wild-card spot.

Stephen Gionta of the New Jersey Devils checks Curtis Glencross of the Calgary Flames at the Prudential Center in Newark. (Bruce Bennett, Getty Images)

Curtis Glencross scored late in the second period to tie it 1-1, T.J. Brodie added a short-handed, empty-net goal in the final minute, and Karri Ramo made 26 saves as the Flames snapped a three-game losing streak.

Calgary, which lost 1-0 at the New York Rangers on Tuesday, moved one point ahead of idle Minnesota in the playoff race.

Mike Cammalleri scored his fifth goal in four games for the Devils, who had a season-high, four-game winning streak snapped. Cory Schneider made 23 saves, giving up two goals in a 49-second span bridging the second and third periods.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)