The first female flogger prepares to whip a woman in public, in Banda Aceh, Indonesia for a morality crime

The masked woman nervously approaches her target, shuffles into position and then unleashes a flurry of lashes -- proving herself as the newest member of the first female flogging squad in Indonesia's Aceh province.

The new recruit initially needed some coaxing to punish the offender -- an unmarried woman caught in a hotel room with a man.

Such behaviour constitutes a morality crime in Aceh, the only region in the world's biggest Muslim-majority nation that imposes Islamic law -- known as Sharia. Those found guilty of breaches are often publicly whipped with a rattan cane.

But despite her reticence, she persevered and delivered her first flogging.

"I think she did a good job. Her technique was nice," Banda Aceh Sharia police chief investigator Zakwan, who uses one name, told AFP.

The controversial punishment enrages rights activists and generates heated media debate, as well as amongst politicians.

Indonesia's president has issued a call for the public floggings to stop but he has little say over what happens in Aceh, a deeply conservative region on Sumatra island.

Unlike the rest of the nation, Aceh follows religious law as part of a 2005 autonomy deal agreed with the central government that ended a decades-long separatist insurgency.

Here, public whipping remains a common punishment for scores of offenders for a range of charges including gambling, adultery, drinking alcohol, and having gay or pre-marital sex.

But the job has always been done by men. Until now.

- 'No mercy' -

More and more women are being charged for morality crimes such as public affection or premarital sex, experts say, as greater internet access and globalisation bring clashes with local cultural and religious norms.

Enforcement too has increased and now Aceh says it's trying to follow Islamic law, which calls for women to whip female perpetrators. This is already what happens in neighbouring Malaysia.

But convincing women to participate has been no easy task, and it's taken years to assemble the first female squad, according to Safriadi, who heads provincial capital Banda Aceh's Sharia Implementation Unit.

Eight women -- all Sharia officers -- agreed to be floggers and were trained in the appropriate technique and advised how to limit injury.

Previously, a dozen men performed all the whippings in the city for an unspecified fee.

For security reasons, Aceh officials declined to let AFP speak with the floggers, who are outfitted in cloth masks and loose fitting brown uniforms to hide their identities.

"We train them to make sure they're physically fit and teach them how to do a proper whipping," Zakwan said.

But the secret for any whipping is getting past the mental hurdle of lashing fellow citizens.

For that, you need to look to God, Zakwan said.

"It's kind of an indoctrination that we give to them so they have a better understanding of their role -- have no mercy for those who violate God's law', he added.

- 'Too lenient' -

Aceh officials insist caning deters crime, with patrols often scouring public places and establishments -- or acting on tip-offs -- to monitor behaviour.

Sharia police in Banda Aceh, a city of some 220,000 people, are on the streets round-the-clock in three shifts.

On a recent patrol, a couple sitting close to each other on the beach escaped with a reprimand.

But a group of men and women spotted at a coffee shop around 3:00 am weren't so lucky and were arrested on suspicion of breaking strict codes about unmarried men and women interacting.

"This shows that we never sleep looking for violations of Sharia (Islamic law)," Safriadi said.

From behind bars, one of the men said that there was nothing romantic happening at the coffee shop.

"We don't even know the women and were sitting at different tables," he told AFP.

The women were later released with a reprimand as were the men, but police said the trio may be charged for a new offence, after it was determined they were gay.

Same-sex relations can earn residents a whipping in front of jeering crowds, which can number in the hundreds.

"Sharia in Aceh is still lenient," said resident Saiful Tengkuh.

"Aceh needs harsher punishments like stoning, not just whipping. Someone committing adultery should be stoned 100 times," he added.

- 'Don't do it again' -

Aceh, home to about 5 million people, once mulled beheading for serious crimes, but the central government ruled it out.

Story continues