; or (3) be deemed to have become a resident in or a resident of any other State or jurisdiction. 3. Notification of retention of voting rights (a) State notification At the time an individual is convicted of a criminal offense under the law of a State, the State shall notify the individual in writing that the individual’s conviction of the offense does not affect the individual’s right to vote in an election for Federal office and that the individual may register to vote in an election for Federal office if the individual is otherwise eligible to vote in the election. (b) Federal notification At the time an individual is convicted of a criminal offense under Federal law, the court in which the individual is convicted shall notify the individual in writing that the individual’s conviction of the offense does not affect the individual’s right to vote in an election for Federal office and that the individual may register to vote in an election for Federal office if the individual is otherwise eligible to vote in the election. 4. Enforcement (a) Declaratory and injunctive relief The Attorney General may bring a civil action against any State or jurisdiction in an appropriate United States District Court for such declaratory and injunctive relief (including a temporary restraining order, a permanent or temporary injunction, or other order) as may be necessary to enforce this Act. (b) Private right of action (1) In general A person who is aggrieved by a violation of this Act may provide written notice of the violation to the chief State election official of the State involved. (2) Relief Except as provided in paragraph (3), if the violation is not corrected within 20 days after receipt of a notice under paragraph (1), or within 5 days after receipt of the notice if the violation occurred within 120 days before the date of an election for Federal office, the aggrieved person may, in a civil action, obtain declaratory or injunctive relief with respect to the violation. (3) Exception If the violation occurred within 30