A federal judge in Oregon on Friday limited federal officers’ use of tear gas during protests at a Portland federal immigration building, as part of a lawsuit filed by an adjacent affordable housing complex following months of repeated exposure.

U.S. District Judge Amy Baggio issued the preliminary injunction after a hearing last month in which the complex’s residents described physical and psychological symptoms ranging from difficulty breathing, coughing, burning eyes and hives to anxiety and panic attacks. Some also testified about wearing gas masks in their own homes.

The case comes amid growing concern over federal officers using aggressive crowd-control tactics, as cities across the country have seen demonstrations against the immigration enforcement surge spearheaded by Donald Trump’s administration.