MINNEAPOLIS (AP) — A judge on Thursday imposed a gag order on attorneys in the case involving four former Minneapolis police officers who are charged in the death of George Floyd.

Hennepin County Judge Peter Cahill issued his order the day after he pointed out that two or more attorneys granted interviews or talked to the news media. Cahill didn’t name the attorneys, but defense attorney Earl Gray spoke to the Star Tribune and WCCO-AM about his motion to dismiss charges against his client, former Officer Thomas Lane.

The judge said in his order that continuing pretrial publicity in the case would increase the risk of tainting the potential jury pool and “will impair all parties’ right to a fair trial.” Cahill previously warned that he would likely move the trials or trial — if the four are tried together — out of Minneapolis if public officials, attorneys and family members didn’t stop speaking out about the case.

Floyd died after Officer Derek Chauvin, a white police officer, pressed his knee against the handcuffed 46-year-old Black man’s neck for nearly eight minutes on May 25. The officers were responding to a call about a man trying to pass a counterfeit $20 bill at a nearby store. Floyd’s death sparked protests around the world.

Chauvin, 44, is charged with second-degree murder and other counts, while Lane, 37, J. Kueng, 26, and Tou Thao, 34, are charged with aiding and abetting Chauvin. The officers were fired after Floyd’s death.

Powell said his order applies to “all parties, attorneys, their employees, agents or independent contractors working on their behalf.” He said his order not restrict access to public records.