By CBS3 Staff

PHILADELPHIA (CBS) — Derek Barnett isn’t leaving the Birds’ nest after all. The Eagles on Thursday said Barnett signed a two-year contract to return to the team.

The Eagles drafted the 25-year-old with the 14th overall draft pick in 2017.

READ MORE: Enhanced Risk For Severe Weather Across Philadelphia Region Monday Afternoon

Barnett started 45 of his 64 career games with the Eagles and has 21½ sacks in his five-year career.

READ MORE: All Eyes On Pennsylvania Primary As Tuesday's Election Day Approaches

Last season, the defensive end recorded just 2 sacks in 15 games. Discipline has been an issue for the DE, however. In his career, Barnett has taken 26 accepted penalties, according to pro-football-reference, including eight last season.

Barnett will return to the Eagles as the second member of the 2017 first-round draft class to sign with Philadelphia this free agency. Camden native and Temple product Haason Reddick signed a three-year contract when free agency opened.

MORE NEWS: Police: 14-Year-Old Boy Shot In Leg In Philadelphia's Haddington Neighborhood

Reddick was drafted one pick ahead of Barnett in 2017.