; (B) enforce compliance with such section; (C) obtain civil penalties; and (D) obtain damages, restitution, or other compensation on behalf of residents of the State. (2) Notice and intervention by the FTC The attorney general of a State shall provide prior written notice of any action under paragraph (1) to the Commission and provide the Commission with a copy of the complaint in the action, except in any case in which such prior notice is not feasible, in which case the attorney general shall serve such notice immediately upon instituting such action. The Commission shall have the right— (A) to intervene in the action; (B) upon so intervening, to be heard on all matters arising therein; and (C) to file petitions for appeal. (3) Limitation on State action while Federal action is pending If the Commission has instituted a civil action for violation of this Act, no State attorney general, or official or agency of a State, may bring an action under this subsection during the pendency of that action against any defendant named in the complaint of the Commission for any violation of this Act alleged in the complaint. (4) Relationship with State-law claims If the attorney general of a State has authority to bring an action under State law directed at acts or practices that also violate this Act, the attorney general may assert the State-law claim and a claim under this Act in the same civil action. (d) Savings clause Nothing in this Act shall preempt or otherwise affect any State or local law.