Proposition 106 would allow medically assisted death in Colorado.

(Megan Verlee/CPR News)

A judge says Colorado voters can post ballot selfies on social media sites, differing from recent federal court decisions on the laws just before Election Day.

U.S. District Judge Christine Arguello ruled late Friday that Colorado can't enforce an 1891 law preventing voters from disseminating their marked ballots.

The ruling says polling places may still enforce local rules banning photography. However, no resident will be prosecuted for sharing images of completed ballots on social media.

It comes the same week that judges in New York and California upheld bans, saying changing the rules so close to the election would create confusion for voters and polling place workers.

Colorado election officials testified about those concerns.

The ruling in Colorado is temporary and doesn't mean that the ban won't be upheld by a court later.