Sri Lankan MPs have elected prime minister Ranil Wickremesinghe as the country’s new president, despite his unpopularity with the public.
Mr Wickremesinghe faces the task of leading the country out of its economic collapse and restoring public order after months of mass protests.
He roundly defeated his main rival for the job, Dullus Alahapperuma, with 134 votes to 82 in the parliamentary vote.
Sri Lanka’s ex-president Gotabaya Rajapaksa fled the country last week.
He bolted to the Maldives and then Singapore after thousands of protesters stormed his presidential residences and other government buildings, calling for his resignation.
They had also called for the resignation of Mr Wickremesinghe, a close ally of the Rajapaksa political family who was appointed prime minister in May.
Protesters burnt down his private home last week and also stormed his prime ministerial office in Colombo in demonstrations against his leadership.
People in Sri Lanka have been protesting for months because the country is effectively bankrupt and facing acute shortages of food, fuel and other basic supplies.
After his election, Mr Wickremesinghe told parliament the nation was “in a very difficult situation” and there were “big challenges ahead”.
The 73-year-old also called on his political opponents to work with his government for the good of the country.
It’s hoped his election can restore political stability, so the country can resume negotiations with the International Monetary Fund for a bailout package. Mr Wickremesinghe as prime minister had been involved in the talks last month.
The ruling Sri Lanka Podujana Peramnua party said the majority of their members had backed Mr Wickremesinghe because of his economic credentials.
“We feel that Ranil Wickremesinghe is the only person with the experience, the know-how and the capacity to provide solutions to the economic crisis,” General Secretary Sagara Kariyawasam told the Reuters news agency.
A seasoned lawmaker, Mr Wickremesinghe is a six-time prime minister who has been in Sri Lankan politics for 45 years.
But he is strongly disliked by many in the protest movement – who view him as part of the political elite -and it’s feared his election may spark further unrest and protests.
On Wednesday, ahead of the results, barricades were set up around the parliament and soldiers lined the perimeter anticipating crowds.
However, protesters remained fairly subdued. After the result, some gathered at the Galle Face Green protest site chanted “Ranil Go Home”.
Mr Wickremesinghe extended a national state of emergency this week in a bid to prevent any flare-ups in protests. He has consistently ignored the calls for his resignation, and last week assumed the position of acting president after Mr Rajapaksa fled.
His victory on Wednesday means he will serve out the rest of the presidential term until November 2024.
His challenger was Mr Alahapperuma, a dissident MP in the ruling party who gained the backing of the main opposition. He had pledged to bring a new cross-party government to Sri Lanka that would “put an end to the deceitful political culture”.