California, home to many of the world’s top tech companies, has become the first state in the nation to enact a law that, in large part, mirrors the data protection and privacy standards of the European Union’s General Data Protection Regulation.

On Thursday night, after a whirlwind day of activity in the state legislature, Gov. Jerry Brown signed the bill, the California Consumer Privacy Act of 2018, into law. It empowers consumers to control how companies use, sell, or share their personal data. Similar to the recently passed EU standards, California customers will also have the right to demand that specific data be deleted from an online enterprise’s databases.