; and (ii) the court shall take into consideration, among other factors— (I) the seriousness of the violation; (II) the efforts of the person committing the violation to remedy the harm caused by the violation in a timely manner; and (III) whether the violation was intentional. (b) Enforcement by States (1) In general If the attorney general of a State has reason to believe that an interest of the residents of the State has been or is being threatened or adversely affected by a practice that violates this Act, the attorney general of the State may bring a civil action on behalf of the residents of the State in an appropriate district court of the United States to obtain appropriate relief. (2) Rights of the Commission (A) Notice to the Commission (i) In general Except as provided in clause (iii), the attorney general of a State, before initiating a civil action under paragraph (1), shall provide written notification to the Commission that the attorney general intends to bring such civil action. (ii) Contents The notification required under clause (i) shall include a copy of the complaint to be filed to initiate the civil action. (iii) Exception If it is not feasible for the attorney general of a State to provide the notification required under clause (i) before initiating a civil action under paragraph (1), the attorney general shall notify the Commission immediately upon instituting the civil action. (B) Intervention by the Commission The Commission may— (i) intervene in any civil action brought by the attorney general of a State under paragraph (1); and (ii) upon intervening— (I) be heard on all matters arising in the civil action