Maldives authorities have called on the country’s Islamic ministry and judiciary to stop the public flogging of a teenaged girl for having sex outside marriage, a government official said Friday.

A court in the tiny island of Feydhoo last week sentenced the 15-year-old to 100 lashes after she admitted to having consensual sex, a court official said.

The official said details of the consensual sex emerged when police investigated her complaint against her stepfather and another man of sexually abusing her.

Government spokesman Masood Imad said the government considered her a victim of sexual abuse and wants the sentence revoked.

“The government fully understands she is a victim. Since this is an Islamic affair we don’t want to unilaterally say things,” Mr. Imad said.

The practice of flogging for sex outside marriage has been widely condemned and it is often the woman who is singled out for punishment.

United Nations High Commissioner for Human Rights Navi Pillay in 2011 urged Maldives to end the “degrading” practice.

“This practice constitutes one of the most inhumane and degrading forms of violence against women, and should have no place in the legal framework of a democratic country,” she said speaking at the Maldives Parliament.

She urged the authorities to change the law that allows flogging.