Democrats in Virginia claimed a victory on parts of a voting rights lawsuit in the state, with a settlement on the portion related to long waiting times for voters to cast ballots, especially in precincts with large numbers of minorities residents. The settlement, hammered out in a consent decree by the United States District Court in the Eastern District of Virginia in the case, rules that there will be major changes by the state Board of Elections and Department of Elections to lay out guidelines about how to handle paper ballots in the case of machine breakdowns, and finding solutions to help local boards with the issue of long lines. In some cases, there have been reports of voters waiting hours before casting their ballots. The settlement on the long-lines part of the larger suit came less than a year before the presidential election. Virginia is a crucial battleground state, with an electoral composition that is reflective of demographic changes in the rest of the country.