Free agent safety Eric Weddle, who was cut by the Baltimore Ravens on Tuesday, has agreed to a two-year contract with the Los Angeles Rams, the team announced on Friday. 

According to ESPN's Dan Graziano, Weddle's deal is worth $12.5 million with $5.25 million guaranteed. 

The 34-year-old Weddle spent the past three seasons with the Ravens and was named a Pro Bowler in each of those campaigns. He joined the Ravens after signing a four-year contract with the team ahead of the 2016 season.

Weddle, who has 12 NFL seasons under his belt, spent the first nine seasons of his career with the-now Los Angeles Chargers, who drafted him in the second round of the 2007 draft. He was also named a Pro Bowler during the 2011, '13 and '14 seasons.