Landmark settlement comes after years of public criticism, legal and regulatory action. and shareholder warnings