A Pennsylvania school district has come under fire for an active shooter drill video that had a teacher pretending to be a shooter and wearing what was meant to be a Middle Eastern headdress.

The video, which was filmed in January, shows an active shooter drill intended to practice emergency protocol and "build confidence in the staff members' awareness of how to respond to an emergency," the Penn-Trafford School District, which is located just east of Pittsburgh, wrote in an online statement posted on Wednesday.

In the video, two teacher volunteers were given "costumes and accessories" from an active shooter drill consultant group to "alter their appearance so that they were not readily recognizable," the statement reads.

One volunteer, seen in screen grabs of the video that were posted on social media, wore a zip-up jacket and "long blonde wig with a scarf tied around his neck and head and a paintball/tactical mask over his face," the statement says.

During the roughly seven-minute video, what appear to be armed police officers confront the man in the headdress, pointing their weapons at him.

"Show me your hands," the officers yell. Minutes later, the officers escort him down a hallway with his hands behind his back.

The video sparked backlash from social media users, including district alumni. One user, who says she's an alumna, called the incident "unacceptable."

Another called it "moronic on so many levels."

The district says there was "no intent to represent any particular culture or religion."

"PT prides itself on instilling respect for others, in its students and staff and has conducted numerous trainings on cultural diversity," the statement says. "The District strongly believes in diversity and inclusion and strives to provide its students an educational environment reflective of the world community."