This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A federal judge is dismissing lawsuits challenging a North Carolina election law that requires voters to show photo identification when casting ballots, according to WTVD.

U.S. District Judge Thomas Schroeder’s ruling Monday leaves in place the state law that requires those voting in person to show an accepted type of photo ID, eliminates same-day registration and ends out-of-precinct voting.

The U.S. Justice Department, the North Carolina NAACP chapter and some voters had sued. They argued the law was passed to discriminate against poor and minority voters in violation of the Constitution and U.S. Voting Rights Act.

Schroeder ruled that while North Carolina had a sordid racial history, the plaintiffs didn’t show that the law hampered the ability of minority voters to exercise political power.