; (D) the ability of the institution of higher education to comply with other Federal or State laws relating to Federal elections at that campus location; and (E) the number of students enrolled at the institution of higher education in the year of the relevant Federal election. (f) Enforcement (1) Attorney General The Attorney General may bring a civil action in an appropriate district court for such declaratory or injunctive relief as is necessary to carry out this section. (2) Private right of action (A) A person who is aggrieved by a violation of this section may provide written notice of the violation to the chief election official of the State involved. (B) If the violation is not corrected within 90 days after receipt of a notice under subparagraph (A), or within 20 days after receipt of the notice if the violation occurred within 120 days before the date of a Federal election, the aggrieved person may bring a civil action in an appropriate district court for declaratory or injunctive relief with respect to the violation. (C) If the violation occurred within 30 days before the date of a Federal election, the aggrieved person need not provide notice to the chief election official of the State under subparagraph (A) before bringing a civil action under subparagraph (B). (D) The court, in an action under this section, shall allow the plaintiff, if the prevailing party, to recover from the defendant reasonable attorneys’ and expert witness fees and other costs of the action. 8. Prohibition of residency requirements (a) Applicability to all elections for Federal office Section 202 of the Voting Rights Act of 1965 ( 52 U.S.C. 10502 ) is amended— (1) in subsection (a)— (A) in the matter preceding paragraph (1)— (i) by striking the offices of President and Vice President and inserting Federal office ; and (ii) by striking presidential elections and inserting elections for Federal office ; (B) in paragraph (1), by striking their President and Vice President and inserting Federal office