Tomas Fleischmann, Marcel Goc and Shawn Matthias scored 6:12 apart in the third period to lead the Florida Panthers past the Carolina Hurricanes 4-1 on Tuesday night.
Jacob Markstrom stopped 33 shots while flirting with his first career shutout, and Filip Kuba had two assists.
The last-place Panthers scored the first three goals and held on to snap their six-game losing streak.
Markstrom was 2:33 from the shutout when Jordan Staal scored for Carolina.
Dan Ellis stopped 40 shots for the Hurricanes, who entered atop the Southeast Division but lost their fourth straight.
An untimely turnover by Bobby Sanguinetti - one of three Carolina defensemen who were injured in the first two periods - wound up turning into the game's first goal.
His misplay near Ellis sent the puck to Tomas Kopecky, who set up Fleischmann's wrister to make it 1-0 at 7:39.