The Baltimore Ravens have agreed to a two-year deal with veteran linebacker Kyle Van Noy.

The contract would be worth up to $9 million, according to a source.

Van Noy was among the bigger surprises for the Ravens last season by producing a career-high nine sacks in his 10th NFL season. He was signed to their practice squad in late September and played in his first game in Week 4.