Two teenage girls are facing criminal charges after a violent confrontation with a Peel police officer outside a Brampton school was caught on camera.

Peel police said they went to St. Marguerite d’Youville Secondary School, on Dixie Rd. in Brampton, around 12:30 p.m. Tuesday for a trespassing call. A female officer approached two teenage girls who did not attend the school.

Police said it’s unclear what led up to the assault.

In the video, which has been shared on social media, the officer can be seen kneeling in the snow holding on to a girl in a brown jacket. The girl repeatedly slaps the officer in the head while shouting, “Get the f--- off.”

The officer then gets up and chases the girl, using pepper spray on her. Another girl in a black jacket pushes the officer away.

WARNING: Video contains violence and offensive language. A Peel police officer is assaulted after she confronts two teenage girls outside Marguerite d?Youville Secondary School in Brampton on Tuesday.

Police said they were made aware of the video via Twitter and email later that day, but the girls had already been charged.

The officer in the video did not suffer serious injuries. Another officer arrived shortly after the assault to help arrest the suspects.

Paul Black, president of the Peel Regional Police Association, said the incident started in the school and that the officer is a part of the neighbourhood policing unit.

The officer in the video did not suffer serious injuries. Another officer arrived shortly after the assault to help arrest the suspects.

A 15-year-old and 16-year-old face charges including assaulting a police officer and trespassing. They are scheduled to appear in court March 17.

He said he spoke to the officer early Wednesday. “She tells me she’s doing fine. She’s a humble officer who doesn’t want this attention and she’s back on duty today,” Black said.