A 15-year-old girl charged in an attack on a young teen with special needs turned herself in to police this week after receiving multiple threats when video of the beating went viral on social media, prosecutors said in court.

Appearing in court with her mother, the teen suspect was ordered released on electric monitoring, where she will only be allowed to go to school, church and doctors appointments. The judge also ordered that no friends be allowed to visit her at home and a restraining order was issued, preventing her from contacting the victim or speaking with other suspects involved in the attack.

Prosecutors said the teen was one of several people who beat a 15-year-old girl with special needs in the 5300 block of South Hermitage on July 22. The girl was able to escape the attack by running away from the group.

The 15-year-old suspect, now facing charges of felony aggravated battery and misdemeanor battery, was seen in viral video footage striking the victim, prosecutors said. She called police and identified herself as one of the people seen in the footage and turned herself in alongside a parent in fear for her safety, according to officials.

A fourth teen girl has been arrested in the "upsetting assault" of a young Chicago girl with special needs, which was captured in disturbing video that went viral on social media this week, police said.

She is one of four teen girls arrested in what police described as an "upsetting assault." Three other teens - ages 13, 14 and 15 - also face charges ranging from aggravated battery to mob action, police said.

Police said they are working to identify others seen in the footage and the person who filmed the attack. They added additional charges are also possible as the investigation remains ongoing.

"Our victim knew her attackers and the video gave me the sense that she felt she was among friends," Chicago Police Supt. Eddie Johnson said during a news conference Thursday afternoon. "It broke my heart to see this group of people turn on her and escalate into what we saw, which was a physical assault."

The video that went viral on social media this week showed the young girl being beaten by a large group.

The video, which was shared on Twitter and seen more than 120,000 times in less than 24 hours, quickly sparked a criminal investigation by CPD, Chicago Police spokesman Anthony Guglielmi tweeted Tuesday evening.

“This is beyond disturbing to watch and this young girl deserves far better,” Guglielmi wrote.

Guglielmi’s post cited a tweet from a user who wrote the video showed her friend with “a mental disability that has been progressing since the passing of her mother” being “jumped” by a group.

“I know this won’t blow up since I’m a small account but please share and rt! I want justice for my friend, she didn’t deserve any of this,” the tweet read.

Community activist Stringer Harris, who has been working with the family in wake of the incident, said the girl's friends attacked her, allegedly because she did not want to participate in sexual acts and to keep her from reporting it to police.

"It's a shame, and she's upset," Harris said. "She's still trying to figure this out."

Police added the group was teaching the teen how to make gang signs before the attack, but authorities do not believe it was a gang initiation.

"There was some things going on that these young ladies wanted to her do that she… we’ll leave it at that for now," Johnson said Thursday.

Police confirmed the Special Victims Unit is investigating a possible sexual assault in connection with the case. They also said the Department of Children and Family Services has been contacted.

"The victim was interviewed and she did mention a couple of things aside from what was on the video," Chicago Police Officer Jose Jara said Wednesday, declining to comment further on what might have happened.

Police also declined to comment on the matter Thursday saying they were "not prepared to talk about that at this time."

The teen disappeared at some point and a missing person report was filed before the video was posted to social media. She was found by a "vigilant citizen" Tuesday and taken to Comer Children's Hospital, where she was listed in good condition.

"She was heartbroken about this situation," Harris said, adding that the girl suffered lacerations to her forehead.

Police said she was treated and released and an investigation remained ongoing.

"There simply cannot be room for this type of divisive and hateful behavior," Johnson said.