The scandal almost crippled the government agency.