The Green Bay Packers have hired 49ers assistant offensive line coach Adam Stenavich to become new coach Matt LaFleur’s offensive line coach, a source told NBC Sports Bay Area on Friday.

Stenavich becomes the second 49ers assistant this week to leave the organization for a promotion. The Denver Broncos on Thursday hired former 49ers quarterbacks coach Rich Scangarello to be the team’s offensive coordinator.

Stenavich served two seasons on Kyle Shanahan’s staff as an assistant under 49ers offensive line coach John Benton. Last season, the 49ers ranked 13th in the NFL in rushing yards despite losing projected starting running back Jerick McKinnon before the start of the regular season.

Matt Breida, Alfred Morris, Raheem Mostert and Jeff Wilson Jr. all took turns as the team’s lead back, with Breida rushing for 814 yards and 5.3 yards per attempt.

Stenavich worked closely with right tackle Mike McGlinchey, who was named to the NFL’s All-Rookie team.

Stenavich joined the 49ers after working two seasons as line coach at San Jose State. He played left tackle at Michigan (2001-05) and spent the 2008 and ‘09 seasons on the Houston Texans’ practice squad.