Mark Barron has agreed to a two-year, $12 million deal with the Pittsburgh Steelers, according to a source.

Barron was the starting inside linebacker for the Los Angeles Rams, but they released him earlier this month with two years remaining on his contract.

The Rams acquired Barron midway through the 2014 season from the Tampa Bay Buccaneers, who selected him with the seventh overall pick in the 2012 draft.