RALEIGH (AP) — A federal appeals court has ruled that the legislative maps drawn for the Wake County commissioners and school board members are unconstitutional.

In a 2-1 decision issued Friday, the 4th U.S. Circuit Court of Appeals said the maps violate the state and federal constitutional guarantees of one-person, one person.

The decision was released the day that the filing period for the school board seats ends. Commissioner candidates were set in the March primary.

The two judges wrote that they see no reason why the November 2016 elections should proceed under the unconstitutional plans that they struck down.

The ruling says the plaintiffs proved the districts were drawn to try to guarantee Republican victories. It criticizes both GOP legislators and the U.S. District Court judge who upheld the districts.