The president of French Polynesia's Council of Physicians has resigned a week after being charged with sexual assault.
Gilles Soubiran, who has been accused of assaulting a minor under the age of 15, was freed at the weekend.
He is restricted in his movement and has to wear an electronic bracelet.
While he is allowed to keep working as a doctor, he is banned from treating minors.
The Council of Physicians has met and after accepting Dr Soubiran's resignation, it has chosen Raymond Bagnis as his successor.
In a statement, the Council says in defence of professional values, any doctor undermining the honour and probity of the profession must be sanctioned.
Earlier it said that unless proven guilty, the accused is presumed innocent.