File Picture. Independent Media.

Diamond Peerman drove 2 1/2 hours the Sunday before Thanksgiving to take her boyfriend’s 8-year-old daughter to visit him at a state prison in Dillwyn, Virginia.

When a drug-sniffing dog fixated on the pair, a Buckingham Correctional Center guard told them they had to submit to strip-searches or else they could be banned from the prison, Peerman told The Washington Post. The girl balked at the idea of removing her clothes in front of uniformed strangers.

“I told her, that means you have to take all of your clothes off or you’re not going to be able to see your dad,” Peerman told the Virginian-Pilot, which first reported the search Thursday. “That’s when she started crying.”

The incident rang alarm bells for the girl’s mother, civil rights advocates and Virginia Department of Corrections officials, who said the decision to strip-search the girl without her legal guardian’s permission defied its internal policies. The incident also resurfaced a history of controversial strip searches, which have scared, punished and humiliated children in other cases.

After the Nov. 24 search, the girl texted her mother and shared her anger over being forced to disrobe.