Follow CBSMIAMI.COM: Facebook | Twitter

SUNRISE (AP) — Jaromir Jagr scored the tiebreaking goal in the third period and the Florida Panthers beat the Calgary Flames 4-3 on Tuesday night to snap a five-game losing streak.

READ MORE: 2 Tigers At Pittsburgh Zoo Test Positive For COVID-19

Aaron Ekblad, Reilly Smith and Vincent Trocheck also scored for the Panthers. Roberto Luongo made 25 saves.

David Jones scored twice for Calgary, which lost for the first time in three games. Sean Monahan had a goal, and Karri Ramo stopped 25 shots.

The 43-year-old Jagr gave Florida a 4-3 lead when his shot from in front slipped past Ramo’s glove and into the corner of the net at 8:11 of the third. The goal was Jagr’s first in five games, and he leads the Panthers with seven goals. Jagr also had an assist.

Luongo fell to the ice at 15:06 of the third when a slap shot from Dennis Wideman hit him in the shoulder or neck. Luongo stayed in the game after a visit by the trainer.

Calgary tied it at 3 on a power-play goal by Monahan. He grabbed a rebound in front and put the puck past Luongo with 28 seconds left in the second. Monahan has nine points in 11 games.

READ MORE: 'I Can't Wait To Compete For Championships': New Miami Hurricanes Coach Mario Cristobal

Ekblad stretched the Panthers’ lead to 3-1 when he one-timed a pass from Jagr to the left circle past Ramo at 3:53 of the second.

Calgary closed the gap to 3-2 on Jones’ second goal. Jones’ shot from in front hit Luongo’s glove, then trickled past him into the net at 6:35 of the second.

Smith’s goal gave the Panthers a 2-1 lead. Alex Petrovic’s shot from near the blue line was blocked, but Smith got the rebound and poked it into the net at 15:43 of the first.

The Panthers took a 1-0 lead on a power-play goal by Trocheck. Jussi Jokinen took a shot from the left circle and Trocheck grabbed the rebound and put it past Ramo at 5:16.

The Flames tied the score less than 2 minutes later on their first shot on goal. Two Panthers players collided at mid-ice, opening up a lane for Joe Colborne. His drop pass went off the skate of a Florida player, and Jones grabbed the loose puck and beat Luongo on the stick side at 7:13.

NOTES: Panthers C Dave Bolland returned after missing two games with a hand injury. … Panthers players wore camouflage warmup jerseys with patches representing all five branches of the military during pregame activities. … Flames forward Michael Ferland returned to the lineup for the first time since Oct. 23 due to a lower-body injury.

MORE NEWS: NASA Launches Infrared Laser Mission That Could Revolutionize Space Communication

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