Updated

SANTA CLARA, Calif. (AP) The San Francisco 49ers have agreed to a four-year contract with free-agent defensive tackle Earl Mitchell on Friday.

A person familiar with the deal confirmed that Mitchell had decided to join the Niners just over a week after being released by Miami. The person spoke on condition of anonymity because the signing had not been announced by the team.

NFL.com first reported the deal, saying Mitchell would get a $16 million deal with $5.5 million paid in the first year.

The 49ers need help on the interior of the defensive line as they are expected to switch from a three-man front to a four-man front under new coordinator Robert Saleh. San Francisco allowed a league-worst 165.9 yards rushing per game last season.

---

For more NFL coverage: www.pro32.ap.org and http://twitter.com/AP-NFL