The U.S. Supreme Court ruled Tuesday that state courts have the power to review federal election laws passed by state lawmakers, rejecting the controversial theory of an “independent state legislature” advanced by North Carolina Republicans.

In a 6-3 vote in Moore v. Harper, the high court said the U.S. Constitution “does not vest exclusive and independent authority in state legislatures to set the rules regarding federal elections.”