The long wait for Nikolaj Ehlers’ free agent decision is over.

Ehlers decided Thursday to sign with the Carolina Hurricanes, taking the top player available off the market more than 72 hours since the NHL’s signing period began.

Ehlers agreed to terms on a six-year, $51 million contract. He’ll count $8.5 million against the salary cap through 2031. He’s coming off being nearly a point-a-game player with 63 in 69.

“Nikolaj was the top free agent available on July 1, and we are proud that he’s chosen to make Carolina his home,” general manager Eric Tulsky said. “He’s a highly skilled winger who can really skate and will fit very well with our forward group.”

It turned out to be worth the wait for the speedy 29-year-old winger from Denmark who played his first 10 seasons with Winnipeg. Ehlers’ contract is the most lucrative of any signed by an unrestricted free agent who left his team this week and $250,000 more than Brock Boeser got to re-sign with Vancouver.

The only bigger contracts have been K’Andre Miller’s eight years and $60 million — also with Carolina in a sign and trade from the New York Rangers — and Ivan Provorov staying with Columbus for $59.5 million over the next seven seasons.

“From first-round pick to the highest-scoring Danish player in NHL history, and all the countless memories in between, thank you for everything, Fly,” the Jets posted on social media. “All the best in Carolina.”

Ehlers joins a core that has reached the playoffs seven consecutive seasons under coach Rod Brind’Amour with two trips to the Eastern Conference final over the past three springs. Carolina still has $10 million in cap space with just about a full roster, providing flexibility to fill holes between now and the trade deadline in March.

Signing Ehlers could start dominos falling around the league as teams who did not get him — among them, the Washington Capitals — turn to backup plans. That includes potential trades, with Pittsburgh actively in selling mode, along with remaining free agents.

The Capitals pivoted nearly immediately to bringing back winger Anthony Beauvillier on a two-year, $5.5 million deal.

Elsewhere on Thursday, Dmitry Orlov is heading to the spend-happy San Jose Sharks, who have been active this week and even made a pickup off the waiver wire to reach the salary floor.

Orlov, who turns 34 later this month, signed a two-year contract worth $13 million. A Stanley Cup champion from his time in Washington who spent the past two seasons in Carolina, the veteran defenseman will count $6.5 million against the cap through 2026-27.

Orlov is the latest addition for the Sharks, who needed to add $20 million somehow to get to the $70.6 million minimum for player salaries.

That counts money owed to captain Logan Couture, whose playing career is over because of a debilitating injury.

San Jose also claimed Nick Leddy off waivers from St. Louis to add to its new-look blue line that includes recently signed veteran John Klingberg, who got $4 million for next season.