The U.S. Department of Justice has unveiled new rules on how prosecutors acquire the communications of journalists, following widespread criticism of its practices earlier this year. On Friday, Attorney General Eric Holder said journalists must be under criminal investigation before their emails and phone records can be subpoenaed. Media outlets would also have to be notified of investigations targeting their reporters unless the attorney general deems that such disclosures would harm the criminal probe involved. The issue broke open earlier this year after it was revealed federal officials seized the phone records of the Associated Press while investigating a government leak on a failed al-Qaeda plot. Fox News reporter James Rosen also had his records searched after being named a potential “co-conspirator” in a leak on North Korea’s nuclear program.