Nick Foles

Philadelphia Eagles quarterback Nick Foles (9) warms up with the team before an NFL football game against the Washington Redskins in Landover, Md., Saturday, Dec. 20, 2014. (AP Photo/Mark Tenally)

(Mark Tenally)

UPDATE: The Eagles have announced the trade. Check out the official details here.

The debate is finally over -- Nick Foles is not the Eagles' franchise quarterback.

According to Adam Schefter of ESPN, the Eagles have traded quarterback Nick Foles to the St. Louis Rams for quarterback Sam Bradford.

Per Albert Breer of NFL.com, the Eagles will also receive a second-round pick.

The deal has yet to be announced by either team.

The Rams' interest in Foles was reported last month by NJ Advance Media.

What the Eagles' plans with Bradford are remains to be seen. The veteran quarterback missed all of last season with a torn ACL. He last played in 2013, when he threw for 1,687 yards, 14 touchdowns and four interceptions.

Staying healthy has been a problem for Bradford throughout his career, as the former No. 1 overall pick has missed at least six games in two of his four seasons.

Bradford has a cap hit of $12 million next season, which would tie up a big chunk of the Eagles' remaining salary cap space.

As for Foles, this ends months of speculation that the team was moving on from him. Head coach Chip Kelly has been hesitant to commit to Foles, despite the quarterback throwing for 27 touchdowns and two interceptions two seasons ago, and going 14-5 as a starting quarterback.

Hard to believe it wasn't that long ago that Foles and Kelly appeared to be on the same page, leading the Eagles to a 5-1 start in 2014, and looking ready to repeat as division champions.

Eliot Shorr-Parks may be reached at eshorrpa@njadvancemedia.com. Follow him on Twitter @EliotShorrParks. Find NJ.com Sports on Facebook.