; and (B) as though all applicable terms and provisions of the Federal Trade Commission Act were incorporated into and made a part of this section, except that any reference in such terms and provisions to the Commission shall be treated as referring to the Secretary. (2) Enforcement at retail level by State Attorneys General (A) In general If the chief law enforcement officer of a State, or an official or agency designated by a State, has reason to believe that any person has violated or is violating subsection (a), the attorney general, official, or agency of the State, in addition to any authority it may have to bring an action in State court under its laws, may bring a civil action in any appropriate United States district court or in any other court of competent jurisdiction to— (i) enjoin further such violation by such person; (ii) enforce compliance with such subsection; (iii) obtain civil penalties; and (iv) obtain damages, restitution, or other compensation on behalf of residents of the State. (B) Notice The State shall serve written notice to the Secretary of any civil action under subparagraph (A) before initiating such civil action. The notice shall include a copy of the complaint to be filed to initiate such civil action, except that if it is not feasible for the State to provide such prior notice, the State shall provide such notice immediately upon instituting such civil action. (C) Authority to intervene Upon receipt of the notice required by subparagraph (B), the Secretary may intervene in such civil action and upon intervening— (i) be heard on all matters arising in such civil action