The 49ers have signed wide receiver DeAndre Carter to a two-year contract.

Carter broke into the league with the Ravens following the 2015 draft. He has bounced around since then, spending time on the practice squad with the Raiders and Patriots. He went to camp with the Patriots last year before being waived in September.