The legislation was spurred by the suicide of a 15-year-old schoolgirl.
California has introduced a new bill to tackle cyber-bullying teenagers who share sexually explicit images of others.
The legislation came after the suicide of Audrie Pott, a 15-year-old Saratoga High student, following the circulation of images of her sexual assault.
San Jose Senator Jim Beall said that what happened to Audrie must not happen again.
"As a long-time advocate for children, I believe this new legislation will bring justice for victims and update the law to make it relevant to our 21st century connected society," Beall said.
As per the new law, those aged under 18 would be charged under distributing child pornography if they are accused of recording or distributing images of a sexual nature of a minor with an intention to harass, humiliate or threaten them.
Santa Clara County District Attorney Jeff Rosen added: "Audrie’s legacy, through this proposed law, will protect victims’ rights by making the consequences of cyber-bullying more severe.
"It also throws open previously closed court doors so that the public may hold everyone accountable in the wake of these tragic cases."
Further, the proposed law would also allow teenagers to be tried as adults if found guilty of sexually assaulting an intoxicated, developmentally disabled or incapacitated individual.