The Nick Foles era in Philly appears over.

According to Adam Schefter of ESPN, the Eagles will trade Nick Foles and a 2015 fourth-round pick, and a 2016 second-round pick to the St. Louis Rams in exchange for Sam Bradford and a 2015 fifth-round pick from the Rams.

The second-round pick goes back to the Eagles if Bradford doesn't start at least eight games this season and the Eagles also get an additional fourth-round pick. If Bradford is re-injured, the fourth becomes a third-round pick.

The Eagles are taking on a player significantly more expensive than Foles. Bradford is due $12.985 million and missed of last season and parts of two other season with injuries.

(Listen to ESPN NFL Insider KC Joyner talk about Sam Bradford/Nick Foles and how they fit in with their new systems and teams)