; (B) compel compliance with such provision; (C) obtain damages (including statutory damages described in paragraph (4)), civil penalties, restitution, or other compensation on behalf of the residents of the State; or (D) obtain reasonable attorney's fees and other litigation costs reasonably incurred. (2) Rights of agency Before initiating a civil action under paragraph (1), the State attorney general or State privacy regulator, as the case may be, shall notify the Secretary in writing of such civil action. Upon receiving such notice, the Secretary may— (A) intervene in such action; and (B) upon intervening— (i) be heard on all matters arising in such civil action; and (ii) file petitions for appeal of a decision in such action. (3) Preemptive action by agency In any case in which a civil action is instituted by or on behalf of the Secretary for violation of this Act or a regulation promulgated under this Act, a State attorney general or State privacy regulator may not, during the pendency of such action, institute a civil action against any defendant named in the complaint in the action instituted by or on behalf of the Secretary for a violation that is alleged in such complaint. In a case brought by the Secretary that affects the interests of a State, the State attorney general or State privacy regulator may intervene as of right pursuant to the Federal Rules of Civil Procedure. (4) Statutory damages In a civil action instituted under paragraph (1), a court may award statutory damages under paragraph (1)(C) against a person for a violation of any provision of section 3 or 6— (A) in an amount not more than $50,000 for each such violation