A judge has issued a sweeping gag order in a lawsuit arising from a May brawl at a roadside restaurant in Texas in which nine bikers were killed and 170 people arrested.

District Court Judge Matt Johnson also ruled Tuesday that an attorney can view surveillance video from the Twin Peaks franchisee in Waco, but barred it from public release. The ruling came in a lawsuit by a biker who says he was wrongfully arrested.

The Associated Press previously reviewed footage that showed that when gunfire erupted in the parking lot, most bikers ran inside the restaurant.

Waco police were on scene, and some fired their weapons. It remains unclear whose bullets struck the nine dead.

Johnson said he acted to prevent pretrial publicity from influencing potential jurors.