The Detroit Red Wings avoided a potential arbitration hearing with Gustav Nyquist and agreed to terms with him on a four-year, $19 million contract on Friday.

The deal carries a cap hit of $4.75 million per season.

"We're very happy to have Gustav locked up for four more years," said Executive Vice President and General Manager Ken Holland in a statement. "He's quickly become an important part of our team, and is a critical piece to the Red Wings' future. He is just now entering the prime of his career."

Nyquist had 27 goals and 27 assists while skating in all 82 games for the Red Wings last season.

He had been a restricted free agent after finishing a two-year, $1.9 million contract and had filed for salary arbitration.