‘A new law signed by California Governor Jerry Brown enacts sweeping digital privacy protections, such as imposing a warrant requirement for police to access nearly any type of digital data produced by or contained within a device or service.

Governor Brown had rejected several similar proposals in past years, but on Thursday he signed the California Electronic Communications Privacy Act. Under the law, the government is forbidden from “accessing electronic device information by means of physical interaction or electronic communication with the device.”

The American Civil Liberties Union described the passage of the law as a landmark win.’

Read more: Need stingray surveillance? Get a warrant! California governor signs landmark privacy law