Richard Rakell broke a tie with 3:30 left and the Anaheim Ducks overcame a three-goal deficit to beat the Arizona Coyotes 5-4 on Thursday night in the season opener for both teams.

Corey Perry scored twice and set up Andrew Coglino’s tying goal with 6:15 remaining.

Arizona scored a pair of power-play goals in the second period to take a 4-1 lead.

The second power-play goal came after Perry knocked down Coyotes goalie Louis Domingue behind the net. That led to a wild scuffle that lasted long enough for Anaheim goalie John Gibson to slowly skate down to the red line. By the time order was restored, Domingue and Gibson exchanged words. Gibson appeared to be challenging Doningue to fight, saying, “Let’s go.”

Gibson received a 10-minute misconduct penalty, to go along with Perry’s two-minute goalie interference penalty. Arizona quickly cashed in, Christian Fischer scoring off Brendan Perlini’s assist.

The Ducks answered, and Perry got a measure of revenge, taking Rakell’s pass and deflecting it past Domingue. Thirty-one seconds later, Ondrej Kase pulled Anaheim back within one.

The Coyotes’ first power-play goal in the second period came when defender Oliver Ekman-Larsson’s long shot from the right side was deflected by Gibson, but right to Max Domi.

Phoenix scored the first two goals.

The first came on a pretty give-and-go with Anthony Duclair firing a quick and accurate pass just inside the blue line to Alex Goligoski, just on the other side of the net. He immediately fed it back to Duclair, who scored the opening goal. Clayton Keller then skated in front of the net and whipped a backhander past Gibson.

The Ducks scored 44 seconds later when Rakell stole a pass inside the blue line and set up Perry

MORE: Rick Tocchet set to lead as the guy he’s always been