The 49ers Wednesday announced they interviewed Bills interim coach Anthony Lynn to fill the vacancy left after Chip Kelly was fired.

Lynn, 48, began the season as Buffalo’s running backs coach, but ended the year as the team’s interim head coach. Buffalo fired offensive coordinator Greg Roman, who held the position with San Francisco from 2011 to 2014, after just two games.

Lynn took over the play calling duties and helped the Bills finish with the NFL’s top-ranked rushing offense. LeSean McCoy finished with 1,267 yards rushing and 13 touchdowns, while Tyrod Taylor led quarterbacks with 580 yards in the ground.

Related 49ers express interest in Panthers defensive coordinator for coaching vacancy

San Francisco interviewed Lynn this time last year before hiring Kelly and made Lynn a candidate for the offensive coordinator post which was eventually filled by Curtis Modkins.

Lynn before spending the last two seasons with Buffalo was a running backs coach for 12 years, working for the Jaguars, Cowboys, Browns and Jets.

The 49ers are also expected to interview New England offensive coordinator Josh McDaniels, Falcons offensive coordinator Kyle Shanahan, Washington offensive coordinator Sean McVay, Dolphins defensive coordinator Vance Joseph and Panthers defensive coordinator Sean McDermott.