A U.S. appeals court on Wednesday issued a stay of a recent ruling that struck down parts of Wisconsin's voter ID law, the Justice Department announced.

The law had required all voters to show photo IDs at polls.

The U.S. Court of Appeals for the 7th Circuit issued the stay of a recent ruling by Judge Lynn Adelman in Frank v. Walker after the American Civil Liberties Union and the National Law Center for Homelessness and Poverty asked for the injunction in June.

The court concluded "both that the district court's decision is likely to be reversed on appeal and that disruption of the state's electoral system in the interim will cause irreparable injury," the DOJ said in a statement.

"We are pleased with the U.S. Court of Appeals for the Seventh Circuit's decision to grant our motion for stay in Wisconsin's voter ID case," Attorney General Brad Schimel said. "I will continue to represent the State of Wisconsin and defend the rule of law until the case is resolved."