In 2011, Virginia was subject to Section 5 of the Voting Rights Act of 1965, which prohibited the redistricting process from eliminating districts that were made largely of minority groups to discourage their preferred candidates from taking office.