49ers re-sign LB Mark Nzeocha, release DE Cassius Marsh

SANTA CLARA, Calif. (AP) — The San Francisco 49ers have re-signed linebacker Mark Nzeocha to a three-year contract and released defensive end Cassius Marsh.

The Niners also agreed to a deal with restricted free agent running back Raheem Mostert on Friday. Mostert's agent Brett Tessler says his client will sign a three-year deal.

Marsh was one of the team's top edge rushers last year with 5½ sacks but became expendable after the team traded for Dee Ford this week and gave him a new five-year contract.

Nzeocha has played in 26 games the past two seasons and has been a standout on special teams. He started three games last year at linebacker and provides depth at the position.

Mostert is one of San Francisco's top special teams players and also ran for 261 yards on 34 carries last season.

Safety Antone Exum also signed a one-year deal he had agreed to earlier this week.