Newly-uncovered documents show that in the days immediately following the fatal shooting of Philando Castile by a Minnesota police officer, state authorities sought access to private messages and photos belonging to Castile’s girlfriend, Diamond Reynolds. Reynolds famously livestreamed the aftermath of Castile’s shooting on Facebook.
Facebook, the documents show, refused to comply with the warrant on the grounds that it included a clause preventing Facebook from discussing the warrant. Facebook argued that this gag order was unconstitutional, and the warrant was ultimately withdrawn. The warrant and Facebook’s communications with authorities were obtained through a public records request by Tony Webster, a Minneapolis-based programmer and activist.
The warrant included language suggesting the search could uncover “criminal activity during and/or after” the shooting. Castile was killed after being stopped for a broken tail light, while reaching for his identification.
Get Data Sheet, Fortune’s technology newsletter.
Reynolds’ attorney at the time described this and other search warrants as “fishing expeditions,” and critics have said such searches are intended to discredit victims of police violence.
According to the Minneapolis Star-Tribune, similar searches were not conducted of the social media accounts of Jeronimo Yanez, the officer who shot Castile and was acquitted of wrongdoing on June 16th.
According to the Star-Tribune, while Facebook fought the search warrant, Apple complied with a similar request for Castile and Reynolds’ iCloud records.