An Illinois federal judge admonished the Border Patrol official leading the Trump administration’s immigration raids in Chicago for the harsh tactics he and his officers have been using against angry civilians — even on residential streets decked out for a Halloween parade.

U.S. District Judge Sara Ellis ordered Gregory Bovino, who appeared in his Border Patrol uniform, to report to her each weekday at 6 p.m. with information about the day’s confrontations.

Reports from the courtroom on Tuesday indicated that Bovino was largely made to listen while Ellis laid out the restrictions she had already set in place. He responded to some questions with a simple, “Yes, ma’am.”

Bovino also pledged to begin wearing a body camera by Friday, as Ellis had told officers to do earlier this month.

The hearing came after video appeared to show federal officials deploying tear gas on Saturday in Chicago’s Old Irving Park neighborhood, which was supposed to host a children’s Halloween parade the same morning. Once word arrived that federal agents were nearby, the event was called off, according to Block Club Chicago, a local news site.