DETROIT (AP) -- Tomas Tatar got his first career hat trick, helping the Detroit Red Wings break out of a slump with a 6-4 win over the Anaheim Ducks on Saturday night.
Tatar got his third goal early in the third period, putting the puck on both sides of his stick before flipping it over John Gibson.
Rickard Rakell scored his second goal of the game less than two minutes later, pulling Anaheim within a goal.
The Red Wings restored their two-goal lead midway through the third when Frans Nielsen scored off a rebound in front of the net.
Detroit scored more goals (four) in the first two periods than it totaled over its previous four games -- all home losses -- and finished with a season scoring high. Tatar almost matched the number of goals (four) he scored in his first 31 games of the season. He made his NHL debut during the 2010-11 season and scored a career-high 29 goals two years ago.
Xavier Ouellet scored his first of the season and third of his career with 2:08 left in the second period to put the Red Wings ahead 4-3, their first lead in five games.
Petr Mrazek helped Detroit keep the lead, finishing with 21 saves.
Anaheim's Jonathan Bernier stopped 17 shots through two periods before being replaced by Gibson.
Rakell and Shea Theodore scored in the first period, giving the Ducks a 2-0 lead that seemed safe against a team that has been struggling to score. Cam Fowler gave them another two-goal lead early in the second.
Tatar, though, pulled Detroit within a goal for the second time, and quickly the Red Wings figured out a way to score. Dylan Larkin went to the front of the net and into the crease and was rewarded with a game-tying goal midway through the second period that stood after a video review and challenge from Ducks coach Randy Carlyle.
NOTES: Mrazek wore a holiday-themed mask, featuring Buddy from Will Ferrell's movie "Elf." ... The Ducks scratched D Korbinian Holzer and F Jared Boll. ... Detroit scratched F Drew Miller, D Brian Lashoff and D Alexey Marchenko. ... Detroit will play 10 of its next 11 games on the road. ... Anaheim's Andrew Cogliano has played in 736 straight games, dating to 2007, for the longest active streak, and is one game away from tying Jay Bouwmeester for fifth on the NHL's all-time list. Doug Jarvis played in a league-record 964 consecutive games from 1975 to 1987. ... The Ducks fell to 1-2 on their five-game road trip. ... Detroit D Mike Green was hurt in the final minute, skated off the ice and didn't stop on the bench en route to the locker room.
UP NEXT:
Ducks: Play at Toronto on Monday night.
Red Wings: Play at Carolina on Monday night.