Two teenage girls are facing several charges after a violent confrontation with a police officer was caught on tape.

Police said the incident happened Tuesday morning outside St. Marguerite D’Youville school on Dixie Road in Brampton.

The video, which was posted to social media and has since gone viral, shows what appears to be one of the suspects repeatedly slapping a female officer. Eventually, another girl is seen pulling the officer back before the two girls run away.

According to the description written under the video, one of the girls was pepper sprayed in the face during the incident.

There has been no word from police on what started the confrontation.

The girls face a number of charges including assaulting a police officer and escaping lawful custody.

Their identity has not been released under the Youth Criminal Justice Act.