The Rangers have agreed to terms with restricted free-agent defenseman Jacob Trouba, whom they acquired from the Jets in a major offseason trade.

The deal reached Friday with Trouba, 25, is for seven years and $56 million, with an $8 million salary cap hit for the upcoming season.