The Rams have agreed to terms with Wagner, Cameron DaSilva of USA Today reports.

Per the report, Wagner's deal is for five years and worth up to $65 million. The Seahawks released the linebacker earlier this month, but the 31-year-old remains productive at this stage of his career and is coming off a career-high 170-tackle season. With the Rams, Wagner -- who's presumably past the knee issue that caused him to miss Seattle's season finale -- slots in as a starting inside linebacker alongside Ernest Jones, with his addition representing a boost to the team's defense against the run as well as in coverage.