COLOMBO — Sri Lanka's Ranil Wickremesinghe has been sworn in as president, amid hopes that he will pull the country out of its economic suffering.
The 73-year-old took his oath at the tightly-guarded parliament complex on Thursday.
Wickremesinghe - the former prime minister - is seen as deeply unpopular with the public, but some protesters have said they will give him a chance.
Sri Lanka has seen months of mass unrest over an economic crisis.
Many blame the Rajapaksa administration for mishandling the nation's finances, and see Wickremesinghe as part of the problem. But there were few demonstrations on the streets the day after Wickremesinghe won the parliament vote.
"He is here - and we will see what his actions are. If we don't get any food, any medicine, we'll be on the streets," one woman who had joined protests last week told the BBC.
Wickremesinghe - who won a majority among lawmakers with the backing of the Rajapaksa's ruling party, the Sri Lanka's People's Front (SLPP) - took pains to distance himself from the old leaders.
"I am not a friend of the Rajapaksas. I am a friend of the people," he told reporters on Wednesday after defeating his main rival - a dissident SLPP MP - by 134 votes to 82.
On Thursday, the opposition signalled they would be willing to work with Mr Wickremesinghe. Local media is reporting that his cabinet is likely to include opposition MPs.
However, many protesters have expressed despair and disappointment over a Rajapaksa-allied politician's victory.
"I am absolutely disgusted at the result... I cannot believe that 134 people - MPs that are supposed to represent the people - have completely disregarded the wants of the people," activist Jeana De Zoysa told the BBC.
Wickremesinghe is aiming to restore political stability so the country can resume negotiations with the International Monetary fund for a bailout package, estimated to be about $3bn.
Sri Lanka has been wracked with protests for months because the country is effectively bankrupt and facing acute shortages of food, fuel and other basic supplies.
Tens of thousands of protesters had last week marched in the streets of Colombo calling for the ex-president Gotabaya Rajapaksa and Wickremesinghe to resign.
Rajapaksa fled the country in the early hours of 13 July after the protesters stormed and occupied his political residence. He flew to the Maldives and then Singapore, from where he issued his official resignation.
However Wickremesinghe did not resign - though he had initially offered to - and instead accepted the position of Acting President when Mr Rajapaksa fled.
When he assumed the job of acting president last week, he ordered the military to do whatever was necessary to restore public order, following protesters storming and occupying government buildings.
He also extended a national state of emergency order this week to stamp out any flare-ups.
A former six-time prime minister, Wickremesinghe failed in his previous two runs for the presidency. His victory on Wednesday means he will serve out the rest of the presidential term until November 2024. — BBC