; and (2) to provide legal clarity relating to individuals or entities diligently attempting to comply with State or Federal environmental or resource quality permits, standards, regulations, conditions, requirements, prohibitions, or orders. 3. Definition of solid waste Section 1004(27) of the Solid Waste Disposal Act ( 42 U.S.C. 6903(27) ) is amended by inserting , or, if originating from or utilized by an agricultural operation, animal or crop waste, manure, or fertilizer or constituents derived from such animal or crop waste, manure, or fertilizer after Atomic Energy Act of 1954, as amended (68 Stat. 923) . 4. Citizen suits Section 7002(b)(1) of the Solid Waste Disposal Act ( 42 U.S.C. 6972(b)(1) ) is amended— (1) in the matter following subparagraph (A), by striking subtitle C of this Act; or and inserting subtitle C of this Act; ; (2) in subparagraph (B), by striking order. and inserting order; or ; and (3) by adding after subparagraph (B) the following: (C) in the case of an alleged violation by an agricultural operation— (i) if the Administrator or State is diligently seeking compliance with such permit, standard, regulation, condition, requirement, prohibition, or order in a Federal or State administrative proceeding; (ii) if the Administrator or State has, under any other law or regulation— (I) commenced and is diligently prosecuting a civil or criminal action against such agricultural operation in a court of the United States or a State to address the same substance or activity that could otherwise be the subject of an action under subsection (a)(1)(A) of this section; or (II) commenced a Federal or State administrative proceeding against such agricultural operation to address the same substance or activity that could otherwise be the subject of an action under subsection (a)(1)(A) of this section; or (iii) if the alleged violation concerns a substance or activity subject to a State plan approved under section 4007 of this Act. .