NHL

Goals by Klingberg and Johns rally Stars past Red Wings 5-2

  • Dallas Stars' Radek Faksa (12) of the Czech Republic and the rest of the bench congratulate Stephen Johns (28) on his goal against the Detroit Red Wings in the second period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)

    Dallas Stars' Radek Faksa (12) of the Czech Republic and the rest of the bench congratulate Stephen Johns (28) on his goal against the Detroit Red Wings in the second period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)  (The Associated Press)

  • Dallas Stars' Antti Niemi (31) of Finland blocks a shot from Detroit Red Wings' Andreas Athanasiou (72) in the second period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)

    Dallas Stars' Antti Niemi (31) of Finland blocks a shot from Detroit Red Wings' Andreas Athanasiou (72) in the second period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)  (The Associated Press)

  • Dallas Stars left wing Lauri Korpikoski (38) of Finland celebrates his goal against Detroit Red Wings' Petr Mrazek of the Czech Republic, left rear, as Nick Jensen (3), right, watches in the first period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)

    Dallas Stars left wing Lauri Korpikoski (38) of Finland celebrates his goal against Detroit Red Wings' Petr Mrazek of the Czech Republic, left rear, as Nick Jensen (3), right, watches in the first period of an NHL hockey game, Thursday, Jan. 12, 2017, in Dallas. (AP Photo/Tony Gutierrez)  (The Associated Press)

Defensemen John Klingberg and Stephen Johns scored goals 49 seconds apart in the second period and the Dallas Stars topped the Detroit Red Wings 5-2 on Thursday night.

The Red Wings took a 2-1 lead on first-period goals by Gustav Nyquist and Henrik Zetterberg, but Dallas goalie Antti Niemi held Detroit scoreless over the last 44:18. He finished with 31 saves.

Brett Ritchie tied it at 2 on a tip-in goal at 3:31 of the second period.

Klingberg put in a rebound at 15:53, and Johns sent a wrist shot from the right-wing boards past Petr Mrazek at 16:42.

Dallas' Lauri Korpikoski scored the game's first goal. Patrick Eaves added an empty-netter.

The Red Wings completed a seven-game trip with a 2-3-2 record, and remained last in the Atlantic Division.

Detroit had won the previous seven games at Dallas dating to Oct. 14, 2010.