A judge in Phoenix has dismissed lawsuits seeking to disqualify three Republican lawmakers from this year’s ballot because they participated in or helped organize the Jan. 6, 2021, rally in Washington that led to an unprecedented attack on Congress.

The decision from Maricopa County Superior Court Judge Christopher Coury made public Friday means Reps. Paul Gosar and Andy Biggs and state Rep. Mark Finchem remain on the primary ballot barring a reversal by the state Supreme Court. Gosar and Biggs are seeking reelection and Finchem is running for Secretary of State, Arizona’s chief election officer.

The lawsuits filed on behalf of a handful of Arizona voters alleged that Gosar, Biggs and Finchem can’t hold office because they participated in an insurrection. They cited a section of the 14th Amendment to the U.S. constitution enacted after the Civil War.

None of the lawmakers are accused of participating in the actual attack on Congress that was intended to stop certification of President Joe Biden’s win.

Coury agreed with the lawmakers’ attorneys who said Congress created no enforcement mechanism for the 14th Amendment, barring a criminal conviction. He noted that Congress proposed such a law in the wake of the attack on Congress but it is not been enacted.