Linebacker Nigel Bradham has agreed to a two-year deal with the Philadelphia Eagles, the team announced Thursday.

The move helps fill the void at the position after the Eagles traded veteran Kiko Alonso to the Miami Dolphins as part of a blockbuster trade that was completed Wednesday.

Linebacker Nigel Bradham saw his production drop last season as Rex Ryan changed the defensive scheme upon his arrival. Alan Crowhurst/Getty Images

Bradham, 26, is looking to bounce back from a 2015 season that was less successful than his 2014 season, when he emerged as a key piece in former defensive coordinator Jim Schwartz's scheme.

Starting all 14 games in which he played in 2014, Bradham posted career highs in tackles (104), sacks (2.5) and passes defensed (six), while recording the only interception and forced fumbles (two) of his career. Overall, the Bills' defense was the NFL's fourth best in 2014.

However, the arrival of Rex Ryan last season brought several changes to the Bills' defense, and Bradham was not as effective. He started the first 11 games of 2015 before suffering an eventual season-ending ankle injury. He posted 59 tackles, one sack and three passes defensed. Pro Football Focus graded Bradham 81st among 97 NFL linebackers with a qualifying amount of playing time for the season.

A fourth-round pick of the Bills in 2012, Bradham expressed a desire to return to the Bills despite reaching unrestricted free agency for the first time in his career.

ESPN Bills reporter Mike Rodak contributed to this report.