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.

Gov. Gavin Newsom has approved legislation prompted by the helicopter crash that killed Kobe Bryant and eight others in Calabasas earlier this year.

The bill signed Monday makes it a crime for first responders to take unauthorized photos of deceased people at the scene of an accident or crime.

Reports surfaced after the Jan. 26 crash that graphic photos of the victims were being shared by eight deputies.

Los Angeles County Sheriff Alex Villanueva said the department has a policy against taking and sharing crime scene photos, but it does not apply to accident scenes.

Vanessa Bryant has sued the sheriff in a lawsuit seeking damages for negligence, invasion of privacy and intentional infliction of emotional distress.

“This lawsuit is about accountability and about preventing this disgraceful behavior from happening to other families in the future who have suffered loss,” Vanessa Bryant’s attorney, Luis Li, said in a statement.

“The department formally refused Mrs. Bryant’s requests for information saying it was ‘unable to assist’ with any inquiry and had no legal obligation to do so,” Li wrote. “It’s now for a court to tell the department what its obligations are.”