WASHINGTON AP – Former Fannie Mae chief Franklin Raines and two other top executives have agreed to a $31.4 million settlement with the government announced Friday over their roles in a 2004 accounting scandal.

Raines, former Fannie chief financial officer Timothy Howard and former controller Leanne Spencer were accused in a civil lawsuit in December 2006 with manipulating earnings over a six-year period at the company, the largest U.S. financer and guarantor of home mortgages.