Cardinals starting outside linebacker Matt Shaughnessy has agreed to terms on a two-year deal with the team, according to an NFL source.

Shaughnessy visited the Patriots on Wednesday, but the Cardinals managed to re-sign a key part of their defense.