The Carolina Hurricanes have locked up one of their best young forwards for the long term.

Victor Rask agreed to a six-year contract with the club worth $4 million per season, the Hurricanes announced Tuesday.

The 23-year-old ranked second on the team with 21 goals and tied for second with 48 points in his second season with Carolina. He led the Hurricanes with 18 power-play points and ranked fourth on the team in ice time, averaging 16:58.

"Victor has gotten better every season that he's been a part of our organization," general manager Ron Francis said in a statement Tuesday. "He is a big part of this team's present and future, and we are thrilled to sign him to a longer-term deal."

The move brings Carolina above the 2016-17 salary cap floor ($54 million), giving the Hurricanes a total cap hit of about $55 million, according to General Fanager.

The Hurricanes extended a qualifying offer to Rask on June 27. He was a restricted free agent.

Carolina selected him 42nd overall in 2011.