Photojournalist Josh Pacheco recalled a hectic scene after a swarm of Chicago police officers ordered a crowd of protesters and journalists to disperse from a march in front of the Israeli Consulate on Tuesday.

“Nobody understood the dispersal order, nobody knew exactly where to go,” Pacheco told The Intercept, adding that they had been walking away, trying to leave the area with other journalists. “And that is when I was arrested, I was pulled off of the sidewalk.”

During their arrest, Pacheco, who was carrying their photography equipment with media credentials hanging around their neck, said they had identified themself as a journalist to officers. But Pacheco said an officer responded by snatching away their credentials.

“I did alert them that I was press,” Pacheco recalled. “It was very visible that I had my press pass.”

“The journalists were charged … for simply doing their jobs as reporters,” Baron said in an emailed statement. “We are disappointed that the City of Chicago chose to sweep the First Amendment under the rug with its heavy-handed tactics against working journalists.”