Lawmakers in the Solomon Islands have elected Derek Sikua to the post of prime minister, following last week's ousting of leader Manasseh Sogavare.
Mr Sikua, an opposition-backed former education minister, defeated Foreign Minister Patteson Oti by 32 to 15 in the parliamentary vote.
Security was tight in the capital, Honiara, as proceedings took place, but there were no reports of trouble.
Mr Sogavare was toppled on 13 December in a no-confidence vote.
In recent months, he had faced criticised for his abrasive style and had been accused of damaging the nation's international image.
Mr Sikua was one of several lawmakers who defected from Mr Sogavare's government in November as opposition to his leadership mounted.
Mr Sogavare was ousted in a no-confidence vote last week
The new prime minister told parliament that his election was a victory for democracy in the Pacific nation.
"The resolution of the political crisis has demonstrated the strength of Solomon Islands democratic institutions,"" he said.
Analysts say that his win points to better ties with key aid providers Australia and New Zealand.
Relations had deteriorated under Mr Sogavare, who had criticised an Australian-led peacekeeping force, accusing foreign advisors of meddling in government affairs.
He had also caused consternation with his appointment of Julian Moti as attorney-general. Mr Moti is wanted in Australia on child sex charges.
The new leader has indicated he may hand Mr Moti over to Australia.