AUSTIN (AP) — An appeals court has stayed an injunction that had blocked enforcement of parts of Texas’ new voter registration laws.

The 5th U.S. Circuit Court of Appeals sided 2-1 on Thursday with the state and stayed a previous injunction by U.S. District Judge Gregg Costa. Costa had struck down five provisions of the law and imposed an injunction.

Texas Attorney General Gregg Abbott called the latest ruling “a victory for voter integrity” that “helps Texas prevent fraud in the voter-registration process.”

The non-partisan group Voting for America says the laws make it harder to register people to vote. It also complains that they unconstitutionally restrict voter registration drives from gathering public voter information.

The new laws limit who can hand out voter registration cards and who can collect completed registration forms.