; (B) enforce compliance with this section; (C) obtain a permanent, temporary, or preliminary injunction; (D) obtain civil penalties; (E) obtain damages, restitution, or other compensation on behalf of residents of the State; or (F) obtain any other appropriate equitable relief. (2) Rights of the Commission (A) Notice to the Commission (i) In general Except as provided in clause (ii), before initiating a civil action under paragraph (1), the attorney general of the State involved shall provide to the Commission a written notice of such action and a copy of the complaint for such action. (ii) Exception If the attorney general determines that it is not feasible to provide the notice described in clause (i) before initiating a civil action under this subsection, the attorney general shall provide written notice of the action and a copy of the complaint to the Commission immediately upon initiating the civil action. (iii) Jurisdiction not affected An attorney general failing to provide notice under clause (i) shall not prevent the attorney general or the Commission from having jurisdiction over a civil action brought under paragraph (1) or imperil such civil action in any way. (B) Intervention The Commission may— (i) intervene in any civil action brought by the attorney general, official, or agency of a State under this subsection; and (ii) upon intervening— (I) be heard on all matters arising in the civil action