; or (ii) a State, local, or tribal government. (b) Consent decree and settlement reform (1) Pleadings and preliminary matters (A) In general In any covered civil action, the agency against which the covered civil action is brought shall publish the notice of intent to sue and the complaint in a readily accessible manner, including by making the notice of intent to sue and the complaint available in the Federal Register or online not later than 15 days after receiving service of the notice of intent to sue or complaint, respectively. (B) Entry of a covered consent decree or settlement agreement A party may not make a motion for entry of a covered consent decree or to dismiss a civil action pursuant to a covered settlement agreement until after the end of proceedings in accordance with subparagraph (A) and paragraph (2)(B)(i). (2) Publication of and comment on covered consent decrees or settlement agreements (A) In general Not later than 60 days before the date on which a covered consent decree or settlement agreement is filed with a court, the agency seeking to enter the covered consent decree or settlement agreement shall publish in the Federal Register and online the proposed covered consent decree or settlement agreement. (B) Public comment (i) In general An agency seeking to enter a covered consent decree or settlement agreement shall accept public comment during the period described in subparagraph (A) on any issue relating to the matters alleged in the complaint in the applicable civil action or addressed or affected by the proposed covered consent decree or settlement agreement. (ii) Submissions to court When moving that the court enter a proposed covered consent decree or settlement agreement or for dismissal pursuant to a proposed covered consent decree or settlement agreement, an agency shall inform the court of the statutory basis for the proposed covered consent decree or settlement agreement and its terms. (3) Review by court (A) In general A court shall review the statutory basis for the proposed