; 227)) by the Secretary of Agriculture, with respect to any activities subject to that Act. (5) Under the Farm Credit Act of 1971 ( 12 U.S.C. 2001 et seq.) by the Farm Credit Administration, with respect to any Federal land bank, Federal land bank association, Federal intermediate credit bank, or production credit association. (e) Enforcement by State attorneys general (1) In general (A) Civil actions In any case in which the attorney general of a State has reason to believe that an interest of the residents of that State has been or is threatened or adversely affected by the engagement of any person in a practice that violates this Act or a regulation prescribed under this Act, the State, as parens patriae, may bring a civil action on behalf of the residents of the State in a district court of the United States of appropriate jurisdiction to— (i) enjoin that practice; (ii) enforce compliance with this Act or such regulation; (iii) obtain damages, restitution, or other compensation on behalf of residents of the State; or (iv) obtain such other relief as the court may consider to be appropriate. (B) Notice (i) In general Before filing an action under subparagraph (A), the attorney general of the State involved shall provide to the Commission— (I) written notice of that action