A transgender girl in Stafford, Virginia, was barred from locker rooms during a safety drill at her middle school in September.

The student was told to sit on gym bleachers while teachers debated where to place her.

The student's name and the name of her middle school have not been made public in order to protect her identity.

A transgender girl in Virginia was reportedly barred from seeking shelter in her middle school's locker rooms during a safety drill in September.

The student, who has not been publicly named, was kept from entering either locker room during the lockdown drill at a school in Stafford as teachers debated where she should go, WUSA reported.

According to a Facebook post from Equality Stafford, an LGBTQ rights group in Stafford County, Virginia, the student was told to sit on gym bleachers while teachers debated where to place her.

She was eventually made to sit in the locker room hallway until the drill was complete.

"During an event that prepares children to survive an attack by actual assailants, she was treated as if she was so much of a danger to peers that she was left exposed and vulnerable," the post from Equality Stafford said.

The girl's name and the name of her middle school have not been publicly released in order to protect her identity.

Stafford County Public Schools spokesperson Sherrie Johnson released a statement to WUSA following the incident.

"Stafford County Public Schools does not comment on individual student incidents to avoid divulging confidential information," the statement said. "However, the new superintendent has requested a review of all protocols and procedures to ensure that all children are treated with dignity and respect. We take such matters very seriously and they will be addressed. The welfare of all students is of the utmost importance for SCPS."

In 2015, the Stafford County School Board voted to prohibit an elementary-aged student from using the restroom associated with their preferred gender.

The school said at the time: "The Stafford County School Board struggled with this difficult decision regarding the transgender student at Hartwood Elementary School. The reasoning behind our decision was that the legal landscape on these issues is unclear at this point. We await further guidance from our state delegation. We are attempting to ensure that the needs of all of our students are being addressed."