Wide receiver Torrey Smith has signed a five-year, $40 million contract with the 49ers, according to ProFootballTalk.com. The deal includes $22 million in guaranteed salary.

Smith, 26, is going into his fifth season in the league. He has recorded 213 receptions for 3,591 yards and 30 touchdowns. The former Raven brings the ability to stretch the field and provide a deep target for the 49ers.