A federal appeals court has struck down an Indiana law that banned registered sex offenders from using social networking websites.
A federal judge had previously ruled that the state has a strong interest in protecting children. That judge found that social networking creates a "virtual playground for sexual predators."
But the 7th U.S. Circuit of Appeals in Chicago overturned that ruling and the Indiana law.
Supporters of the law say they'll fight to pass a new one.
"Certainly we'll look at how we'll adapt the law to make it constitutional and legal," Sharon Pierce, president of Prevent Child Abuse Indiana, said.
"But we'll also continue to step up our work with parents and children about the risks of being on the Internet and Facebook and how dangerous that can be for children," she said.
The American Civil Liberties Union filed the suit on behalf of sex offenders, including a man who served three years for child exploitation. 