Marcus Cromartie

San Francisco 49ers strong safety Craig Dahl (43) celebrates after intercepting the ball from Arizona Cardinals quarterback Ryan Lindley with defensive back Marcus Cromartie (47) during the fourth quarter of an NFL football game in Santa Clara, Calif., Sunday, Dec. 28, 2014. The 49ers won 20-17. (AP Photo/Marcio Jose Sanchez)

(Associated Press)

The Buffalo Bills are looking to add depth to their secondary in free agency.

Earlier in the week, Buffalo hosted B.W. Webb on a free agent visit. On Friday, the team will bring in Marcus Cromartie for a workout according to Matt Barrows of the Sacramento Bee.

#49ers free agent Marcus Cromartie heading to Buffalo on Friday for a workout, per source. #Bills interested in him as a CB, possible S. — Matt Barrows (@mattbarrows) April 5, 2017

Cromartie went undrafted out of Wisconsin the 2013 NFL draft. He signed with the Chargers and was promoted to their active roster in his rookie season. He didn't appear in any games during his time with the Chargers.

After a brief stint on the Cleveland Browns' practice squad, Cromartie joined the San Francisco 49ers. He's spent the last three seasons in San Francisco and appeared in 21 games. Cromartie recorded 21 total tackles and three passes defensed from 2014-2016.

If signed, Cromartie could compete for a depth role in the Bills' secondary. Buffalo currently has five cornerbacks and six safeties on their roster.