A Sudanese woman facing 40 lashes for wearing trousers in public made her first appearance in a court today.
Lubna Hussein, a former journalist who works for the UN, attended the hearing wearing the same green slacks that got her arrested for immodest dress.
Indecency cases are not uncommon in Sudan.
But Ms Hussein has attracted attention by publicising her case, inviting journalists to hearings and using it to campaign against dress codes sporadically imposed in the capital.
The case was adjourned as lawyers discussed whether her status as a UN employee gave her legal immunity.
After the hearing, defence lawyer Nabil Adib Abdalla said Ms Hussein had agreed to resign from the UN in time for the next session on 4 August to make sure the case continued.
He said Hussein was ready to face the maximum penalty for the criminal offence of wearing indecent dress in public which was 40 lashes and an unlimited fine.
Before the hearing Ms Hussein said she was arrested in early July when police raided a party she was attending at a restaurant in Khartoum's Riyadh district.
She said a number of other women arrested with her received lashes. But her case was sent for trial when she called in a lawyer.
Scores of women, some wearing slacks and jeans, attended the case.
The trial was also attended by representatives of the embassies of France, Canada, Sweden and Spain, alongside politicians and members of the Sudanese Women's Union.
Northern Sudan is governed by Islamic law which includes restrictions on public decency, particularly for women.
But the regulations are only sporadically enforced in Khartoum -- while most women wear traditional dress in public, some, particularly from the mostly Christian south, also wear slacks and more Western clothes.
It is also rare for a Sudanese woman to take such a public stance on her rights to defy the dress code.
Lashing is handed out as a punishment for a range of offences in Sudan, including brewing alcohol.
The punishment is often administered minutes after a trial, in public outside the court room for male defendants and generally in private for women.