Philadelphia, PA (SportsNetwork.com) - The Philadelphia Eagles have agreed to terms on a trade that will send quarterback Nick Foles, a fourth-round draft pick in 2015 and a second-round pick in 2016 to the St. Louis Rams in exchange for former No. 1 overall draft pick Sam Bradford and the Rams' fifth-round pick in 2015.

Also, if Bradford plays less than 50 percent of the snaps next season, the Eagles get a 2016 fourth-rounder back, and if he doesn't play one snap for Philadelphia, it gets a third-round pick in 2016.

Bradford was named the NFL's Offensive Rookie of the Year in 2010 but has since had his career derailed by an assortment of injuries, most recently a torn ACL that sidelined him for the entire 2014 season.

The 27-year-old Bradford started seven games for the Rams in 2013, completing 60.7 percent of his passes for 1,687 yards and 14 touchdowns to just four interceptions before suffering a season-ending knee injury.

The 2008 Heisman Trophy winner threw for 11,065 yards, 59 touchdowns and 38 interceptions over 49 games with the Rams.

"Sam was a leader on our team in the locker room and on the field," said Rams coach Jeff Fisher. "He was a great teammate who was dealt some adversity but handled it all with grace and dignity. He represented himself as well as the organization in a first-class manner. I wish him nothing but the best throughout his career."

In Philadelphia, Bradford will be reunited with former Rams and current Eagles offensive coordinator Pat Shurmur, who coached the quarterback in his rookie season.

Foles put together a terrific 2013 campaign in which the three-year pro threw 27 touchdown passes and just two interceptions while leading the Eagles to an NFC East title. However, he wasn't able to replicate those outstanding numbers while missing half of last season with a broken collarbone sustained in November.

The 26-year-old Foles completed 61.6 percent of his passes for 6,753 yards, 46 touchdowns and 17 interceptions in 28 games (24 starts) with the Eagles.

"I'm extremely excited about adding Nick to our team," said Fisher. "Nick is a talented young quarterback and will be a great addition to our offense. I look forward to getting him here as we prepare to start our offseason program."

Foles is the latest star player to depart Philadelphia in the past week. He joins star running back LeSean McCoy and Pro Bowl wide receiver Jeremy Maclin.