The Predators’ home-ice advantage was never as evident as it was in a pivotal stretch at the end of the first period of Thursday night’s game against Dallas.

Faced with a 1-0 deficit at Bridgestone Arena, where Nashville had lost five of its previous six games, the Predators scored twice in the final 58 seconds to deliver what proved to be a knockout punch to the Stars.

Nashville went on to claim a 3-1 victory before a crowd of 16,347, improving its home record to 7-6-2. It was Nashville’s first win at home since beating Phoenix 4-2 on Nov. 25.

“We need to play well at home; it’s simple,” said captain Shea Weber, who assisted on the Predators’ first two goals. “In the past we’ve done so, and this year it hasn’t been the case. We need to get back to playing the way we did tonight.”

Six of the Predators’ next eight games are at home.

The win was the second in a row for the Predators, who beat the Rangers 4-1 Tuesday.

After an uneventful 18 minutes in the first period, Erik Cole scored for Dallas on a backhand from the left.

Then in the final minute, the Predators struck twice on the power play to take the lead.

Patric Hornqvist scored his seventh goal of the season on a 5-on-3 advantage, tying the game at 1-1 with 58 seconds remaining in the period.

Then 28 seconds later, David Legwand scored his sixth from the right side off an assist from Weber and Roman Josi with a 5-on-4 advantage.

“When you can go 2-for-2 on the power play in 20 seconds, that’s a game-changer and it’s huge,” Legwand said.