A North Carolina judge has voided constitutional amendments approved by voters in November requiring photo identification to vote in person and capping the state income tax rate.

The judge sided Friday with the state NAACP, which argued last year's edition of the General Assembly that voted to put amendments to the North Carolina Constitution on the ballot was illegally constituted due to racially gerrymandered districts.

The NAACP challenged four amendments. Only two of them - the voter ID and the income tax cap - were approved by a majority of voters.

Wake Court Superior Court Judge Bryan Collins wrote the amendments placed on the ballot by a legislature "that did not represent the people of North Carolina."

The decision could be appealed by legislative leaders who were sued.

NC House Speaker Tim Moore said, “We will fight for North Carolinians’ voice in support of voter ID and a lower income tax cap. The people have spoken and this outrageous attempt to invalidate their decisions will be appealed.”

Senate Leader Phil Berger said, “We are duty-bound to appeal this absurd decision. The prospect of invalidating 18 months of laws is the definition of chaos and confusion. Based on tonight’s opinion and others over the past several years, it appears the idea of judicial restraint has completely left the state of North Carolina."