RELATED: Police explain criteria for using tear gas, enforcing curfews during Oakland protests
U.S. District Judge Joseph Spero ordered that crowd control techniques such as tear gas, rubber bullets and flashbang grenades be used only in limited circumstances.
While the court's preliminary injunction is in effect, chemical agents, including tear gas, and flashbang grenades can be used only when there is a threat of imminent physical harm or significant destruction of property.
VIDEO: Oakland police defend use of tear gas during protests after police commission slammed with complaints
The injunction was granted to the Anti Police-Terror Project, which has called for a significant reduction in the police budget and reallocation of that money to other services that support the welfare of residents.
More than 70 businesses were vandalized or looted in Oakland on May 29 and overnight into May 30.
RELATED: 60 arrested for crimes ranging from suspicion of shooting at officers, vandalism, looting in Oakland
The looting followed protests against the police killing of George Floyd in Minneapolis on May 25.
Oakland police did not immediately respond to a request for comment on the injunction.
VIDEO: Best and worst moments show peaceful George Floyd protests, looting, vandalism around the Bay Area