The government on Tuesday reached a $16.4 million settlement with Freddie Mac’s former CEO for his role in the mortgage finance company’s multibillion-dollar accounting scandal.

Leland Brendsel, who was ousted in 2003, agreed to pay $2.5 million in fines to the government, give back $10.5 million in salary and bonuses to Freddie Mac and to waive claims against the company for compensation worth $3.4 million.