A 15-year-old male was charged with two counts of attempted murder on Friday in connection with a shooting on Halloween in Chicago that injured a 7-year-old trick-or-treater and a 31-year-old man, the police said.

The unidentified juvenile was also charged with two counts of aggravated battery/discharge firearm , the Chicago Police Department said in a news release on Saturday.

At a news conference on Friday morning, the police superintendent, Eddie Johnson, said the girl “clings to life” and that she was in critical but stable condition. An update on her condition on Saturday was not immediately available.

“The shooting was reprehensible; those involved don’t belong in our city,” he said, adding that he was “disgusted” by it.