Arizona Attorney General Kris Mayes on Wednesday demanded that Maricopa County election officials restore the registrations of 24 voters who had been marked ineligible, warning of legal action if the county does not comply.

The 24 voters were flagged as ineligible only days before Election Day, putting their ability to cast ballots at risk. The AG’s demand challenges the county’s decision to remove eligibility for this small group ahead of the upcoming election.