SACRAMENTO (AP) — Gov. Jerry Brown has signed a bill requiring state officials to give journalists five days’ notice before they issue subpoenas for telephone records.

Brown signed SB558 on Thursday that was drafted by Democratic state Sen. Ted Lieu of Torrance. The legislation was introduced after it was disclosed that the U.S. Department of Justice had retrieved telephone logs of Associated Press journalists.

READ MORE: Is Cyber Monday Still The Best Time to Get Online Deals?

California has a strong shield law for journalists, which already requires that law enforcement agencies give five days’ notice to news organizations for subpoenas served on the newsgathering organization or the reporter.

READ MORE: Omicron Variant Watch: Multiple Cases Reach North America

But Lieu says the Justice Department probe shows that investigators can bypass that law by secretly subpoenaing telephone or Internet companies.

MORE NEWS: Authorities Seeking Help Finding Torrance Missing Woman, Imelda Christina Tapia

(© Copyright 2013 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)