Updated

Eric Mangini is back in the NFL — and back to his coaching roots.

The former coach of the Cleveland Browns and New York Jets was formally introduced as a senior offensive consultant for the San Francisco 49ers on Tuesday, one day after he formally began his new job with the defending NFC champions.

Mangini spent the past two years as an analyst at ESPN after being fired by the Browns in January 2011 following a pair of 5-11 seasons.

Although his background is on defense, Mangini spent his first two seasons in the NFL working as an offensive assistant. With the 49ers, the 42-year-old Mangini will break down opposing defenses as an advance scout and will aid coach Jim Harbaugh in developing game plans each week.