A person familiar with the deal says Philadelphia Eagles cornerback Byron Maxwell and linebacker Kiko Alonso are being traded to the Miami Dolphins. 

The teams will swap first round picks, with the Eagles moving up to the eighth slot, and the Dolphins moving down to 13th overall.

The trade almost fell apart after the Dolphins expressed concern over Maxwell's shoulders. 

Maxwell and Alonso had a disappointing season in Philadelphia after they were acquired before the 2015 season by coach Chip Kelly, who was fired before the season finale.

Alonso was originally acquired from the Buffalo Bills in exchange for RB LeSean McCoy in March 2015. 

The Dolphins' acquisition of Maxwell likely means they plan to part with four-time Pro Bowl cornerback Brent Grimes, who became expendable because of a decline in his play.