French Polynesia's territorial assembly has elected Oscar Temaru as its new president.
He was chosen by 29 members while the rival candidate, Gaston Tong Sang, had the backing of 26 members.
Two ballot papers cast were blank after the two members of the Alliance For a New Democracy said they wouldn't vote for any candidate.
Mr Temaru says he won't name a government before the beginning of next week.
He also says he will be meeting the French prime minister, Jean-Pierre Raffarin, within two weeks.
Mr Temaru says he believes it's unlikely that his administration will be ousted as it was last October when one of his coalition members defected.
"What has been happening here has been heard throughout the world and the whole world is watching what is going on in Tahiti. So it will be hard for them, I mean for our political adversaries opponents to organise what they have done last year in Tahiti."