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.

SAN FRANCISCO (AP) — California voters who want to share photos of their marked ballots when they vote in the current election may be out of luck.

A federal judge in San Francisco refused Wednesday to block a state law that bans ballot selfies.

U.S. District Judge William Alsup said allowing the images so close to Election Day would create confusion among voters and poll workers.

The American Civil Liberties Union sued Monday, seeking a court injunction preventing enforcement of the ballot-selfie ban in the current election. The group said the law violates voters’ free-speech rights by preventing them from expressing their political views.

Michael Risher, a senior staff attorney for the ACLU of Northern California, said he wasn’t immediately sure whether he would appeal the ruling.

A federal judge in Colorado is hearing arguments in a similar case Wednesday.