South Carolina wide receiver Deebo Samuel (1) leaves the field after the conclusion of an NCAA college football game on Saturday, Nov. 18, 2017 in Columbia, S.C. South Carolina defeated Wofford 31-10. (AP Photo/Sean Rayford)

The 49ers got to coach Samuel at the Senior Bowl in January and liked him enough to take him with the fourth pick in the second round as they seek more depth at receiver after the departure of Pierre Garcon this offseason.

Samuel had 62 catches for 882 yards and 11 touchdowns last season for South Carolina and is also skilled as a returner with four kick return touchdowns in his career with the Gamecocks. He has experience playing both outside and in the slot and excels with his ability to run after the catch. He forced 21 missed tackles last season, according to Pro Football Focus.

Samuel joins last year's second-round pick Dante Pettis and speedster Marquise Goodwin as San Francisco's top receivers. The team also signed Jordan Matthews in free agency and brings back Kendrick Bourne, Trent Taylor and Richie James among others.

The 49ers pick was announced by DeMarcus Cobb, the son of late 49ers scout Reggie Cobb, who died last Saturday at the age of 50. There was a moment of silence to honor Reggie Cobb before the pick was made.

San Francisco used its first-round pick to bolster the edge rush, taking Ohio State's Nick Bosa second overall.

Bosa, the brother of Chargers star Joey Bosa, had 17 1/2 sacks and 29 tackles for loss in 30 games with the Buckeyes. He played in only three games last year before suffering a core muscle injury that required season-ending surgery.

Bosa will team with recently acquired Dee Ford to give the Niners two potent edge rushers to help upgrade a defense that set an NFL record for futility with only seven takeaways last season.

Bosa was asked again about his social-media history that included some Twitter messages that he deleted that could be considered racist and homophobic. He apologized for one that called former 49ers quarterback Colin Kaepernick a "clown" shortly after he began his protest of racial injustice and police brutality by kneeling during the national anthem.

"It wasn't directed toward that," he said. "It's not like I'm saying his stance and what he was doing, that's not what I was calling or talking about at all. It was just me, a specific thing that happened and me as a young kid, a thought popping into my head and boom, decided to tweet it out. Bad, bad decision. I respect what he's done. If it empowers anybody, then he's doing a good thing. I apologize for that."

The 49ers also have the 67th overall pick coming up in the third round, as well as three picks to come on Saturday.