A pair of Arizona election policies that Democrats say unfairly burden voters are constitutional and in keeping with the Voting Rights Act, a split federal appeals court ruled Wednesday.

A three-judge panel for the U.S. Court of Appeals for the Ninth Circuit affirmed a trial court’s May ruling that greenlighted the state’s practice of tossing ballots that have been cast in the wrong precinct, and a state law criminalizing most third-party collection of early ballots.