Getty Images

Eric Mangini has a new job, on the same team.

Manigni is expected to become the defensive coordinator of the 49ers, Adam Schefter of ESPN reports.

That comes as a bit of a surprise because there were previous reports that new 49ers head coach Jim Tomsula would almost completely overhaul the staff after taking over from former 49ers coach Jim Harbaugh. Mangini spent the last two years on Harbaugh’s staff, although he was working on the offensive side of the ball under Harbaugh.

Most of Mangini’s prior experience, however, is as a defensive coach, and now he’ll get the opportunity to run the defense in San Francisco. Mangini was previously the defensive coordinator of the Patriots and spent time as a defensive assistant for the Jets before that.

Mangini also has two former stints as an NFL head coach, first with the Jets and then with the Browns. If he does a good job as defensive coordinator of the 49ers, that might help him become a head coach again.