Person with knowledge of deal says Eric Mangini agrees to be 49ers offensive consultant

A person with knowledge of the negotiations says the San Francisco 49ers have agreed to terms with Eric Mangini to be an offensive consultant for the NFC champions.

The former Cleveland Browns and New York Jets coach will work on Jim Harbaugh's staff for the two-time reigning NFC West winners, who lost 34-31 in the Super Bowl to the Baltimore Ravens after missing scoring chances in the waning moments.

With a defensive expertise and experience as an assistant, he might help game plan for opposing defenses in the new role.

The 42-year-old Mangini had been working as an analyst with ESPN since August 2011, after being fired by the Browns in January that year. He went 10-22 in two years for Cleveland after three seasons in New York.