; (II) the State in which the alleged violation occurred; and (III) except as provided in clause (ii), the alleged violator of the applicable standard, regulation, condition, requirement, prohibition, schedule, deadline, or order. (ii) Exception Notwithstanding clause (i)(III), an action may be brought under subsection (a)(1)(A) immediately after the notice described in that clause is provided to the alleged violator if the action is for a violation of this title. (B) No action if suit ongoing No action may be brought under subsection (a)(1)(A) if the Administrator or a State has commenced and is diligently prosecuting a civil or criminal action in a court of the United States or a State to require compliance with the standard, regulation, condition, requirement, prohibition, schedule, deadline, or order for which the action under subsection (a)(1)(A) would be brought. (C) Intervention as matter of right In an action under brought under subsection (a)(1)(A) in a court of the United States, any person may intervene as a matter of right. (2) Actions for endangerment (A) Notice of endangerment No action may be brought under subsection (a)(1)(B) unless, not less than 90 days before the date on which the action is brought, notice of the imminent and substantial endangerment to human health or the environment is provided to— (i) the Administrator; (ii) the State in which the endangerment may occur