By all accounts around the NFL, Eric Studesville is a quality guy and a quality coach who got swept up in a difficult situation.

The former Buffalo Bills running backs coach has agreed to terms to join the Broncos’ coaching staff, four NFL sources confirmed. Studesville and the rest of the Bills’ coaching staff were let go at season’s end when interim head coach Perry Fewell was not retained.

Fewell was hired to be the New York Giants’ defensive coordinator, and the remainder of the Bills’ staff was left scrambling. Studesville, who also has been the running backs coach for the Giants, has coached Tiki Barber, Willis McGahee, Marshawn Lynch and Fred Jackson — all 1,000-yard rushers in the NFL.

Studesville, 42, is expected to be at the Broncos’ Dove Valley headquarters today. He was the Bills’ running game coordinator too and is versed in that portion of game planning as well.

The Broncos continued to work toward filling their vacant defensive coordinator position Wednesday. Dean Pees still has the inside track on that job. But the 60-year-old coach has dealt with health issues over the last year, including being hospitalized overnight in Houston after experiencing shortness of breath during the New England Patriots’ regular-season finale.

Broncos linebackers coach Don Martindale met with head coach Josh McDaniels about the defensive coordinator job and is getting heavy consideration as well, according to two NFL sources. Martindale has been a linebackers coach since he entered NFL coaching as an Oakland Raiders assistant in 2004.