COLOMBO, Sri Lanka (AP) — A government official in the Maldives says authorities are in discussion with the country’s Islamic ministry and judiciary to stop the public flogging of a teenaged girl for having sex outside marriage.

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 on condition of anonymity because he had no formal approval to speak to the media.

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 United Nations in 2011 urged the Maldives to end the “degrading” practice.